How can I easily clone my entire system?
Solution 1:
The easiest way to do this is by using Gparted from Live CD/USB as suggested above. To do this have a look at the "Copying and pasting a partition" section in the Gparted manual. To reproduce the steps given in the link:
To copy a partition:
Select an unmounted partition. See the section called “Selecting a Partition”.
Choose: Partition → Copy. The application marks the partition as the source partition.
To Paste a partition:
Select an unallocated space on a disk device. See the section called “Selecting Unallocated Space”.
Choose: Partition → Paste. The application displays the Paste /path-to-partition dialog.
If you want you can adjust the size and location of the partition. See the section called “Specifying Partition Size and Location”.
If you want you can specify the alignment of partition. See the section called “Specifying Partition Alignment”.
Click Paste. The application displays the copy partition operation in the Pending Operations pane.
Solution 2:
Boot from a live system, plug in the new HDD via USB (or another (s)ata cable, depending on your hardware), and start a 'Terminal'.
Check what is the path for your old HDD (probably /dev/sda
), and the new one as well (/dev/sdb
), and issue this command:
sudo dd if=/dev/sda of=/dev/sdb status=progress
Note that it will take a long time. You can monitor the progress on the terminal.
Another possibility is (even faster than dd
):
cat /dev/sda >/dev/sdb
Solution 3:
Using CloneZilla (http://clonezilla.org/) will take care of the details.