Bootloaders are difficult?
Posted: Tue Sep 15, 2009 9:55 am
Hi,
This is probably going to get me flamed but...
what's so difficult about writing a bootloader (wait...read on!)?
I don't mean a bootloader that will boot windows, linux or (God forbid) OSX but a bootloader that will boot an OS <64k that just does basic FAT stuff. Surely that just involves copying the kernel code into a memory location? There's loads of those out there in the tutorials.
Most people who "write" an OS wil get as far as "Hello world" and a simple command line before they get bored/discouraged/out of their depth/married/kids or whatever else contributes the the millions of kernels that seem to exist in the interweb!
Using Grub to load a "Hello World" kernel just seems like overkill?
I've probably missed something obvious which will make me look like a complete twitter user (according to David Cameron) but if you don't ask you'll never know!
Thanks
Gareth
This is probably going to get me flamed but...
what's so difficult about writing a bootloader (wait...read on!)?
I don't mean a bootloader that will boot windows, linux or (God forbid) OSX but a bootloader that will boot an OS <64k that just does basic FAT stuff. Surely that just involves copying the kernel code into a memory location? There's loads of those out there in the tutorials.
Most people who "write" an OS wil get as far as "Hello world" and a simple command line before they get bored/discouraged/out of their depth/married/kids or whatever else contributes the the millions of kernels that seem to exist in the interweb!
Using Grub to load a "Hello World" kernel just seems like overkill?
I've probably missed something obvious which will make me look like a complete twitter user (according to David Cameron) but if you don't ask you'll never know!
Thanks
Gareth