dd an image of this perfect machine


Forum: Other Help Topics
Topic: dd an image of this perfect machine
started by: xlancealotx

Posted by xlancealotx on Dec. 11 2007,21:54
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

Posted by curaga on Dec. 12 2007,08:49
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 ;)

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.