OSDev.org

The Place to Start for Operating System Developers
It is currently Wed May 01, 2024 6:19 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: how to link self loader and kernel if no grub used.
PostPosted: Thu Apr 13, 2006 9:05 pm 
hi all,

i want to use link.ld script file to combine the self loader and the kernel. but i don't know how to write a proper linker script file.

i don't know what's the difference between the linker script (grub supported) and (without grub support).

I found almost no binary kernel without grub support exist in the world.

would anyone give an example? thanks.


Top
  
 
 Post subject: Re:how to link self loader and kernel if no grub used.
PostPosted: Thu Apr 13, 2006 9:06 pm 
i have read the faq2,

Kernel Image
I have successfully loaded my kernel. It works as long as it doesn't exceed XXX bytes. My Kernel got bigger, and now I keep getting exceptions and faults. Why?
Especially in early stages and with a self-built boot loader, the reason frequently is that too few sectors are fetched from disk. Either adjust the amount of sectors you fetch from disk, or have the boot loader / second stage loader parse the file system.


BUt i don't know how to yet.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], SemrushBot [Bot] and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group