Page 1 of 1 [ 4 posts ] 

kmalloc
Hummingbird
Hummingbird

User avatar

Joined: 10 Dec 2013
Age: 34
Gender: Male
Posts: 21

09 Jan 2014, 8:11 pm

A bootloader is what boots a more complex kernel. It doesn't have much theory on the OSdev wiki and some of it doesn't make sense. My goal is to set up a second stage bootloader. A second stage bootloader loads off another bootloader from the first one. I'm also confused between the bootloader and the lower half kernel, for what belongs to where. I'm mixed up with the descriptor tables and there isn't much code to find on the net. How do you jump off from the first stage loader then jump into protected mode? There isn't much code in my first stage loader, I just have a stack. What boot stage does the MBR go in the bootloader? I'm also not working with a UEFI bios and I'm working with a USB zip drive.



klausnrooster
Snowy Owl
Snowy Owl

User avatar

Joined: 7 Jan 2012
Age: 62
Gender: Male
Posts: 144
Location: Not my favorite place, I can tell you that.

09 Jan 2014, 9:54 pm

Don't know if source is available but a look at Plop Linux/Boot Mgrs might be useful? Saved me when nothing else would.



kmalloc
Hummingbird
Hummingbird

User avatar

Joined: 10 Dec 2013
Age: 34
Gender: Male
Posts: 21

10 Jan 2014, 12:21 am

No, I'm looking for an answer.



Cornflake
Administrator
Administrator

User avatar

Joined: 30 Oct 2010
Gender: Male
Posts: 70,676
Location: Over there

10 Jan 2014, 12:02 pm

I think what klausnrooster means is that your answer will probably be found by studying the source of existing bootloaders.
Check out the source of GRUB, too: http://www.gnu.org/software/grub/grub-download.html


_________________
Giraffe: a ruminant with a view.