Other Help Topics :: dd an image of this perfect machine



I know dd is pretty powerful, but not that I have this dsl4 box running the way I want, I want to take a 'snapshot'.

I can do a dd if=/dev/hda1 of=dsl.img which will image that partition, but I don't want to have to go though install, partition, then just copy over.  Can I simply do a dd on /dev/hda and have that image the mbr, partition, etc.?

I could then copy that to a bootable flash, boot the machine off the flash (with that image file), and do a dd if=image of=/dev/hda (of new machine)

Thanks, I get a little confused with dd'ing hda or hda1, etc.

Lr

Yeah, if you use /dev/hda it will back up the entire disk, with MBR and partitions.

Just make sure to write the image to somewhere else than hda ;)


original here.