Bootloader

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.
Post Reply
Whatever5k

Bootloader

Post by Whatever5k »

Hi,
I want to code my own bootloader. Do I have to code the kernel in C and the bootloader in asm, and then link it to ONE file? Or is the bootloader a seperate file?
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re: Bootloader

Post by df »

whats wrong with grub? just use that instead of wasting your time.
-- Stu --
K.J.

Re: Bootloader

Post by K.J. »

If you're still interested in making your own, check out John Fine's bootsectors:

http://www.execpc.com/~geezer/johnfine/index.htm

Do I have to code the kernel in C and the bootloader in asm, and then link it to ONE file? Or is the bootloader a seperate file?

The bootloader(auctally I think you mean bootsector) is a seperate file that is copied to the first sector of a floppy(under Windows with something like John Fine's PartCopy, under Linux with the if commad).

K.J.
Post Reply