Page 1 of 1

A stupid Question On Booting My Os via GRUB

Posted: Thu Jan 04, 2007 8:17 am
by hendric
Hmm I'm tired writing my own Loader But wanna boot it with GRUB. But there's one thing I mentioned that whether GRUB 's capable booting x86-64 kernel ..

P.S:I've read about GRUB manuals and the source of Candy's Kernel But nothing found ...
Sigh..........

Posted: Thu Jan 04, 2007 8:21 am
by Solar

Re: A stupid Question On Booting My Os via GRUB

Posted: Thu Jan 04, 2007 9:20 am
by Candy
hendric wrote:Hmm I'm tired writing my own Loader But wanna boot it with GRUB. But there's one thing I mentioned that whether GRUB 's capable booting x86-64 kernel ..

P.S:I've read about GRUB manuals and the source of Candy's Kernel But nothing found ...
Sigh..........
Thanks for reading my kernel, but I think you're probably best off with grub for a few months to come. You could attach a small chainloader that sets up long mode too, so you could even use it if it only supported 32-bit modes.

Re: A stupid Question On Booting My Os via GRUB

Posted: Thu Jan 04, 2007 10:46 am
by hendric
Thanks for reading my kernel,
That's a great exprience. Your code's pretty good.
You could attach a small chainloader that sets up long mode too, so you could even use it if it only supported 32-bit modes.
Yea now my design did but I found it confusing while writing a loader into partition boot record.

Posted: Thu Jan 04, 2007 11:12 am
by hendric
And I wanna know something on traditional partition image. I think it something like this:

BOOT RECORD (Some sector) | INDEX or something like it | DATA

And sectors occupied by BOOT RECORD are a certain number we 've already known. Right? If is , I'll never fill confusing as I could analyze filesystem and write a correct BOOT RECORD suit for it (Just limit the Simple Loader -- Or call it Pre Loader into the very size of BOOT RECORD) :shock: :shock: