Page 1 of 1
CF Card boot sector
Posted: Sun Mar 11, 2012 1:45 pm
by GAT
I am setting up my OS for an embedded device.
I need to find a boot sector for a Compact Flash card for this device.
I tried the boot sector I use for my OS normally, but since it is written for a floppy drive it failed to work.
Any ideas?
Re: CF Card boot sector
Posted: Sun Mar 11, 2012 2:15 pm
by Yoda
CF cards are usually partitioned and have FAT32 system. Of course boot sector from floppy (FAT12) will not suit CF cards.
I didn't get, what is you purpose. Do you want to boot your own OS from CF card or just make it readable by your OS?
Re: CF Card boot sector
Posted: Sun Mar 11, 2012 2:20 pm
by VolTeK
GAT wrote:
I am setting up my OS for an embedded device.
I need to find a boot sector for a Compact Flash card for this device.
Well, i was actually guessing he wanted to eat it, but i guess i was wrong.
Re: CF Card boot sector
Posted: Sun Mar 11, 2012 2:29 pm
by GAT
I want to boot my OS from the card.
Re: CF Card boot sector
Posted: Sun Mar 11, 2012 2:32 pm
by Yoda
Then you first need to write MBR code, and after that FAT32 boot code.
If you are writing OS from scratch and for x86 architecture, you may try to use my boot tools:
http://goncharov.pp.ru/en/osboot.htm