You have a small "drive" (I'm actually using a 1GB Compact Flash card) with 3 partitions on it - you want to preserve the information on each of these partitions, and the boot information at the front of the "drive."
# to make the image:
dd if=/dev/hda | gzip > hda.img.gz
# to restore the image, or clone to another disk:
gunzip -c hda.img.gz | dd of=/dev/hda
Be sure to change 'hda' to the appropriate drive.
No comments:
Post a Comment