[Gllug] Imaging a whole drive

Dylan dylan at dylan.me.uk
Sat Apr 17 15:25:44 UTC 2010


Hi All,

I just want to check I'm right here - I want to take an image of a laptop 
hard-drive. it has two partitions on it. I can do:

dd bs=4096 if=/dev/sda of=laptop-hd.img

and then, if necessary I can:

dd bs=4096 if=laptop-hd.img of=/dev/sda

to get back to the start. Have I missed something? Am I setting myself up to 
fall off a cliff?

Cheers

Dx
-- 
“ ‘... but there is so much else behind what I say. It makes itself known to 
me so slowly, so incompletely! ...’ ”
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list