[syslinux] BIOS disk geometry and Linux 2.6
H. Peter Anvin
hpa at zytor.com
Fri Feb 27 10:30:14 PST 2004
Michael_E_Brown at Dell.com wrote:
>>From my notes:
>
> """This function will put a boot record into a _partition_
> containing a FAT32 filesystem.
>
> The first 32 sectors of the partition are reserved by FAT32
> for the partition boot record.
>
> The DOS7 boot record occupies:
> sector 0: boot
> sector 1: FSINFO
> sector 2: boot (continued)
>
> sector 6: backup boot
> sector 7: backup FSINFO
> sector 8: backup boot(cont)
>
> sector 12: Windows 2000 boot(continued)
>
> use putDosMbr() to put the actual MBR, this function
> will only modify/read/write the partition boot sector
> """
>
> It is not safe to write to sector 1.
>
You're confusing sector 1 of a filesystem (partition) with sector 1 of
the unpartitioned disk.
-hpa
More information about the Syslinux
mailing list