Bootloader Implementation

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.
Locked
brodeur235
Member
Member
Posts: 86
Joined: Sat Jun 06, 2009 11:55 am

Bootloader Implementation

Post by brodeur235 »

I want to make a minimal OS that boots and displays 'hello world.' I understand that I need a bootloader and a kernel. This is my first post and you all don't know me, so let me tell you what I know how to do.... of course html, css, js, php, c++, obj-c, java, as, and the basics of intel and at&t asm. By basics i mean program flow, loo[ing, general memory allocation, general procedures, etc. Back to more specifics, I understand it is the boatloader's job to load the os into memory. The BIOS (I do believe thats the term) on my machine allows me to choose between all available bootable partitions at startup. I want to put my os on a 2 gig usb that I have for easy development alterations without having to burn a disc every time. My question is more technical than anything else... How do I do all this? For instance, what partition type do I use to format the usb? Is there a specific directory path that the bootloader and kernel have to be in on this disc? etc. If I am missing some bigger picture its not surprise to me because I have a tenuous grasp on os development at best, but please help me out if you can. All help is appreciated,

Brodeur235

P.S. I do not want to use ANY external libs/code for my first OS. I'd like it to be 100% me for learning purposes.
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: Bootloader Implementation

Post by 01000101 »

Come on! There's a big link in the upper right corner of this page, click it!

Bootloading Theory
Bootloading Details
USB booting

Also, look around for baby-step tutorials and such.

[edit]Moved to OS Development[/edit]
Locked