Thursday, May 9, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 3598  / 2 Years ago, wed, january 19, 2022, 8:06:22

So I am a beginner with linux and have started learning quite a bit. I use MacOS and Windows mainly and I have started to fall in love with linux, ubuntu to be precise.
One thing I was wondering is if there is a way to copy everything from one computer (files installations,configurations and programs) exactly as they are on one machine and migrate them to another easily? just like in macos for example or in windows. Please If anyone can help it would be of immense help as I switch computers often and do not want to have to reinstall and reconfigure everything all the time. Thank You.


edit: Please consider that I am not a techie or an expert in any way, I'm new to all this and still learning. so I apologise in advance if I do not immediately understand or grasp something you might've said.


More From » system-installation

 Answers
4

Cloning to a Smaller Disk using GParted


Here is a method that I tested with Legacy mode.



  1. Boot Ubuntu Live USB.



  2. Insert Source and Target disks if not already there.



  3. Open GParted and shrink Source partition to less than 64GB.



  4. Select Source disk and right click source / partition and select Copy.



  5. Select Target disk and right click empty space and select Paste.



  6. Stretch pasted partition to fill drive.



  7. Click Apply All Operations, (The check mark at the top).



  8. Close GParted and install Grub using Terminal


     sudo mount /dev/sdxy /mnt

    sudo grub-install --boot-directory=/mnt/boot /dev/sdx



Where sdx is the Target drive and y is the partition number.


[#1592] Thursday, January 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sator

Total Points: 258
Total Questions: 119
Total Answers: 101

Location: Sweden
Member since Fri, Apr 16, 2021
3 Years ago
sator questions
Mon, May 29, 23, 08:06, 1 Year ago
Mon, May 1, 23, 18:09, 1 Year ago
Tue, Mar 1, 22, 10:57, 2 Years ago
Fri, Sep 10, 21, 02:40, 3 Years ago
Tue, Nov 23, 21, 15:28, 3 Years ago
;