[ale] Copy boot block

Jim Popovitch jimpop at yahoo.com
Wed Apr 12 01:22:22 EDT 2006


Jim Popovitch wrote:
> David Corbin wrote:
>> Is this the right command to duplicate a boot block from drive to another?
>>
>> dd if=/dev/hda of=/dev/hdc count=1 bs=512
> 
> Yes.  That's what I use.
> 
> If you use grub make sure you copy or hardlink /boot/grub/menu.lst to 
> both drives.  ;-)  (I learned that the hard way).

A friend so kindly pointed out a problem above.  Hardlinking won't work 
across different file systems.  Copying is the recommended way.

-Jim P.



More information about the Ale mailing list