Formatting a disk

Daniel Carrera daniel.carrera at zmsl.com
Thu Apr 13 16:07:37 UTC 2006


Daniel Carrera wrote:
> Here is another idea: I could use dd to copy only the first 440 bytes 
> (instead of the first 512 bytes). It looks like the first 440 bytes 
> contain the bootloader and the other 72 bytes contain the partition 
> information.
> 
>  From Wikipedia:
> 
> Layout of Master Boot Record

Make that 446 bytes. The bootloader is in the first 446 bytes. So if I 
use dd to copy only the first 446 bytes I'll have copied the boot loader 
but left the partition table intact.

Now I need a method to get a working partition table on this drive. 
fdisk barfs on it. I'll see if I can get sfdisk to work.

Cheers,
Daniel.
-- 
      /\/`) http://opendocumentfellowship.org
     /\/_/
    /\/_/   A life? Sounds great!
    \/_/    Do you know where I could download one?
    /




More information about the ubuntu-users mailing list