Thanks Matthew, some solid info at last. > Ah, thanks... your post made me double check my figures, and it turns > out I had forgotten about the disk signature. The layout is: > > 0x0000 - Boot code (446 bytes) > 0x01BE - Partition table (4 * 16 = 64 bytes) > 0x01FE - Disk signature (2 bytes) > > You only want to back up and restore the first 446 bytes, but the disk > signature _must_ be valid for the boot sector to be used.
How is it calculated? It's implicit that fdisk /mbr rewrites it too after writing the boot code. Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me.
