FAT filesystem question

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
beyondsociety

FAT filesystem question

Post by beyondsociety »

Does the FAT filesytem have to be loaded in the bootsector. I am creating a two stage bootloader and I want to load the FAT filesytem on the second stage loader since there is no restriction to space unlike the bootsector that can be no longer than 512 bytes per sector. Can I or not? If someone could help me out I would appreciate it.
gedeon

Re:FAT filesystem question

Post by gedeon »

You can load the FAt on the second stage boot sector, or where you want.
Just be sure you have a corect BPB in the bootsector
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:FAT filesystem question

Post by Pype.Clicker »

there is a "reserved sectors count" in the Bios Parameters Block of a dos-compliant bootsector (usually set to 1: only the boot sector is reserved). All you have to do is put your second stage after the bootsector and set a higher value to your "reserved sectors" field ;)
beyondsociety

Re:FAT filesystem question

Post by beyondsociety »

What should I set the reserved sectors to in order to
be able to load the FAT filesystem on the second stage bootloader?
Post Reply