Clonezilla has a lot of options:
- Clone partitions
- Clone whole disk
- Clone to file (local disk, Windows share, SSH server, NFS)
- Clone directly to disk
Lately when I've been moving Windows computers with failing hard drives, I've been using ImageX. My general process has been:
- Boot from WindowsPE disk with ImageX
- Use ImageX to copy local partition contents to file over the network
- Replace hard drive
- Boot from Windows PE disk with ImageX
- Use diskpart to create necessary partitions
- Use ImageX to copy image file contents back to local partitions
- Add new disk to computer
- Boot from Clonezilla Live CD and clone disk to disk.
- Configure new disk as first in the boot order.
The main problem with Clonezilla pops up if you are cloning to a smaller disk than the original. Clonezilla has no way to directly clone to a smaller disk. To overcome this, you can use GParted Live cd to shrink the NTFS partition before cloning. Clonezilla is smart enough not to care about unpartitioned space. So, as long as the partitions fit on the new disk, all is good.
I like Clonzilla because it is menu driven rather than me having to remember various switches to get things done.
Note: After using GParted to shrink the NTFS, the NTFS partition was in an unclean state. I had to boot the original OS and do a proper shutdown before Clonzeilla would image it. You can also get around this by manually force the status to clear within the live CD, but that was an unnecessary risk.
- Clonezilla Live (http://www.clonezilla.org/clonezilla-live.php)
- GParted Live (http://gparted.sourceforge.net/livecd.php)