Skip to contentSkip to conversation

Multiboot-compliant x84-64 Kernel?

DISCUSSION Alita Friedrichsen 3 participants 8 messages Nov 13, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi,

I want to write a little Multiboot-compliant x84-64 Kernel. Is there any good way to boot it with GRUB Legacy? What are the plans for the future?

cu
Alita

Signature · 6 lines
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
#2 lore raw

"Alita Friedrichsen" <[email protected]> writes:

Hi Alita,

Quoted 2 lines

I want to write a little Multiboot-compliant x84-64 Kernel. Is there any good way to boot it with GRUB Legacy? What are the plans for the future?

There are plans for a new multiboot. You could have a look at the plans on the wiki:

http://grub.enbug.org/

This is all for GRUB 2. For GRUB Legacy this just won't happen, I think.

--
Marco

#3 lore raw

Hi Marco!

Quoted 1 line

There are plans for a new multiboot.

Oh, that sounds good. Protect the Multiboot information structure from overwriting ist a realy hard job.

Quoted 2 lines

This is all for GRUB 2. For GRUB Legacy this just won't happen, I think.

But how log does it take before I can use it? GRUB Legacy comes with every new Linux distribution. Thats is realy cool, so that the current Multiboot Specification is a Standard that works. I don't want to break with that Standard. Are there any Multiboot-compliant x86-64 Kernels out there? If yes, how do do they that?

cu
Alita

Signature · 2 lines
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
#4 lore raw
Quoted 7 lines · Alita Friedrichsen

Hi Marco!

Quoted 1 line

There are plans for a new multiboot.

Oh, that sounds good. Protect the Multiboot information structure from overwriting ist a realy hard job.

Quoted 8 lines
Quoted 2 lines

This is all for GRUB 2. For GRUB Legacy this just won't happen, I think.

But how log does it take before I can use it? GRUB Legacy comes with every new Linux distribution. Thats is realy cool, so that the current Multiboot Specification is a Standard that works. I don't want to break with that Standard. Are there any Multiboot-compliant x86-64 Kernels out there? If yes, how do do they that?

You could have a look at the archives of the list. IIRC there was a patch for 64 bits ELFs that was applied to GRUB 2. That is for the current multiboot. Perhaps that's enough for you.

--
Marco

#5 lore raw

Hi Marco!

Quoted 3 lines

You could have a look at the archives of the list. IIRC there was a patch for 64 bits ELFs that was applied to GRUB 2. That is for the current multiboot. Perhaps that's enough for you.

Yes, thanks. But this Patch first is not Multiboot-compliant und secondly does not work with GRUB Legacy. I'm searching for way to boot my Kernel with a normal GRUB. If there ware a Multiboot Specification that specify that and the GRUB, that implement that, would released in the next month, this would something defferent, but today there is nothing fixed. So I'm looking for a preferably good way to boot my Kernel with the current Multiboot Specification.

cu
Alita

Signature · 2 lines
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl
#6 lore raw
Quoted 6 lines · Alita Friedrichsen

Hi Marco!

Quoted 3 lines

You could have a look at the archives of the list. IIRC there was a patch for 64 bits ELFs that was applied to GRUB 2. That is for the current multiboot. Perhaps that's enough for you.

Quoted 7 lines

Yes, thanks. But this Patch first is not Multiboot-compliant und secondly does not work with GRUB Legacy. I'm searching for way to boot my Kernel with a normal GRUB. If there ware a Multiboot Specification that specify that and the GRUB, that implement that, would released in the next month, this would something defferent, but today there is nothing fixed. So I'm looking for a preferably good way to boot my Kernel with the current Multiboot Specification.

It was applied by Okuji IIRC, so I assume the patch is multiboot complaint... But I didn't read the patch entirely.

If you have questions about GRUB Legacy you should ask on [email protected]. This list is about GRUB 2.

--
Marco

#7 lore raw
In reply to Alita Friedrichsen
Quoted 2 lines · Alita Friedrichsen

So I'm looking for a preferably good way to boot my Kernel with the current Multiboot Specification.

Your kernel will have to switch to 64 bit mode itself, if using GRUB Legacy.

Signature · 2 lines
Member AFFS, WYLUG, SWP (UK), UAF, RESPECT, StWC
No to software patents!    Victory to the iraqi resistance!
#8 lore raw

Hallo Timothy!

Quoted 2 lines

Your kernel will have to switch to 64 bit mode itself, if using GRUB Legacy.

Sure, but what is the best way to link the 64-Bit Code in to the 32-Bit ELF? Or is it better to use a.out?

cu
Alita

Signature · 2 lines
Highspeed-Freiheit. Bei GMX supergünstig, z.B. GMX DSL_Cityflat,
DSL-Flatrate für nur 4,99 Euro/Monat*  http://www.gmx.net/de/go/dsl