Disk cloning

Renaud MICHEL renaud.michel.defimedia at gmail.com
Tue Jan 20 09:35:30 CST 2009


Le mardi 20 janvier 2009 à 14:01, Tino Schwarze a écrit :
> > - recreate or copy MBR to sdb (don't know how)
>
> dd if=/dev/sda of=/dev/sdb bs=512 count=1

No, with bs=512 you're gonna overwrite the partition table, which is not 
what you want, except if you are copying on an identical disk and want 
exactly the same primary partitions.

You must use bs=446 (the 66 last bytes contains the primary partition table)

-- 
Renaud MICHEL
defimedia S.A.



More information about the Linux-PowerEdge mailing list