[syslinux] BIOS disk geometry and Linux 2.6

Michael_E_Brown at Dell.com Michael_E_Brown at Dell.com
Fri Feb 27 10:33:08 PST 2004


You are indeed correct. Thanks for the correction.
--
Michael

-----Original Message-----
From: H. Peter Anvin [mailto:hpa at zytor.com] 
Sent: Friday, February 27, 2004 12:30 PM
To: Brown, Michael E
Cc: patl at users.sourceforge.net; syslinux at zytor.com
Subject: Re: [syslinux] BIOS disk geometry and Linux 2.6


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