Bootloader, FAT, and sector 1
Posted: Thu May 01, 2003 11:00 pm
I was going along well thinking I learned all about bootloaders where they lived. My understanding is that the bootloader resides at the first byte of the first sector of a floppy disk or hard disk partition. The last two bytes (assuming sector size of 512 bytes) has the value of 0xAAh and 0x55h.
Easy enough. Then I read a Microsoft paper describing FAT filesystems. (http://www.nondot.org/sabre/os/files/Fi ... Format.pdf). The article states that something called the BIOS Parameter Block (which contains information regarding the filesystem) is on the FIRST sector of the partition.
How can both the bootloader and the Parameter Block be on the same sector (especially since all the bootloaders I have seen fill in 0's from the end of the bootloader to byte 510)? What am I not understanding?
Easy enough. Then I read a Microsoft paper describing FAT filesystems. (http://www.nondot.org/sabre/os/files/Fi ... Format.pdf). The article states that something called the BIOS Parameter Block (which contains information regarding the filesystem) is on the FIRST sector of the partition.
How can both the bootloader and the Parameter Block be on the same sector (especially since all the bootloaders I have seen fill in 0's from the end of the bootloader to byte 510)? What am I not understanding?