Image and Restore a Hard Drive with Linux
Need to quickly image and restore a hard drive using Linux? Here's how to do it.
Copy and gzip the hard drive image.
sudo dd if=/dev/sdX bs=1M conv=sync,noerror | gzip -c > image.gz
Ungzip and write to the hard drive.
gunzip -c image.gz | dd of=/dev/sdX conv=sync,noerror bs=1M
If you're looking to take it to the next level and create a restore DVD, the PC Restore DVD Creator project might be what you're looking for.