Where can I put BPB?
Posted: Mon Jul 25, 2011 3:16 am
Hi,
I would like to use FAT32 in my OS. I tried formatting my flash disk, then put my bootloader (which omits the BPB structure) in appropriate place and in windows it seemed ok as long as the LBAStartingSector in partition table was set to 3fh where I found the BPB with FAT32 extended boot record and some little program (all produced by formatting tool including the value 3fh). When I copy-pasted this structure to other place and then changed the start of partition however made windows prompt me with "wanna format?" dialogue, so that is definitely wrong. Is there something not relocatable in BPB? To be honest I only read the description of fields I found as mandatory, but I was told except for information in extended boot record BPB is pretty needless structure.
I would like to use FAT32 in my OS. I tried formatting my flash disk, then put my bootloader (which omits the BPB structure) in appropriate place and in windows it seemed ok as long as the LBAStartingSector in partition table was set to 3fh where I found the BPB with FAT32 extended boot record and some little program (all produced by formatting tool including the value 3fh). When I copy-pasted this structure to other place and then changed the start of partition however made windows prompt me with "wanna format?" dialogue, so that is definitely wrong. Is there something not relocatable in BPB? To be honest I only read the description of fields I found as mandatory, but I was told except for information in extended boot record BPB is pretty needless structure.