Skip to contentSkip to conversation

grub.elf? As in "How do I create that?"

DISCUSSION Gregg C Levine 3 participants 6 messages Nov 12, 2008 – Nov 28, 2008

lore
Share & tools
lore
#0 lore raw

Hello!
I just managed to download the current subversion contents of what everyone is working on. The Grub2 trunk built perfectly, and with no complaints.

On the CoreBoot list there is news that the payloads of libpayload for example can be booted via Grub2, and indeed an example is given. It shows the booting of Grub2 booting this payload. It also shows the sequence of events to boot grub.elf via the command line for Grub-Legacy.

So, "How do I create that?".

Of course I can cross post this to the help list if it is more appropriate. --
Gregg C Levine [email protected]
"The Force will be with you always." Obi-Wan Kenobi

#1 lore raw
Quoted 10 lines · Gregg C Levine

Hello!
I just managed to download the current subversion contents of what everyone is working on. The Grub2 trunk built perfectly, and with no complaints.

On the CoreBoot list there is news that the payloads of libpayload for example can be booted via Grub2, and indeed an example is given. It shows the booting of Grub2 booting this payload. It also shows the sequence of events to boot grub.elf via the command line for Grub-Legacy.

So, "How do I create that?".

Already replied on coreboot list :-)

Quoted 1 line

Of course I can cross post this to the help list if it is more appropriate.

Crossing grub-devel with other lists doesn't generally work well. People tend to complain that they can't post since they haven't subscribed.

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."
#2 lore raw
Quoted 14 lines · Robert Millan
Quoted 10 lines · Gregg C Levine

Hello!
I just managed to download the current subversion contents of what everyone is working on. The Grub2 trunk built perfectly, and with no complaints.

On the CoreBoot list there is news that the payloads of libpayload for example can be booted via Grub2, and indeed an example is given. It shows the booting of Grub2 booting this payload. It also shows the sequence of events to boot grub.elf via the command line for Grub-Legacy.

So, "How do I create that?".

Already replied on coreboot list :-)

Quoted 7 lines
Quoted 1 line

Of course I can cross post this to the help list if it is more appropriate.

Crossing grub-devel with other lists doesn't generally work well. People tend to complain that they can't post since they haven't subscribed.

--
Robert Millan

Hello!
You did reply on the coreboot list, however I am still working out how to build the grub.elf kernel.

First I need to know how to translate the kernel.img file into kernel.elf since there is a kernel.img file but not a kernel.elf one.

-----
Gregg C Levine [email protected]
"This signature was once found posting rude
messages in English in the Moscow subway."

#3 lore raw
Quoted 7 lines · Gregg Levine

Hello!
You did reply on the coreboot list, however I am still working out how to build the grub.elf kernel.

First I need to know how to translate the kernel.img file into kernel.elf since there is a kernel.img file but not a kernel.elf one.

Did you pass --with-platform=coreboot to configure?

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."
#4 lore raw
Quoted 6 lines · Robert Millan
Quoted 5 lines · Gregg Levine

Hello!
You did reply on the coreboot list, however I am still working out how to build the grub.elf kernel.

Quoted 7 lines
Quoted 2 lines

First I need to know how to translate the kernel.img file into kernel.elf since there is a kernel.img file but not a kernel.elf one.

Did you pass --with-platform=coreboot to configure?

--
Robert Millan

Hello!
And that did work. Is this selection part of a wiki page some place? If not it should be.

I simply created a boot disk using the available 0.97 boot images, then copied the resultant elf image to the disk, and then stuck an appropriately created menu file on that disk. Then booted the result using Bochs. It, ah. worked.

Since this is GRUB2 not Coreboot, I'll save asking about the payload library for there.
-----
Gregg C Levine [email protected]
"This signature was once found posting rude
messages in English in the Moscow subway."

#5 lore raw
Quoted 10 lines · Gregg Levine
Quoted 9 lines · Robert Millan
Quoted 7 lines · Gregg Levine

Hello!
You did reply on the coreboot list, however I am still working out how to build the grub.elf kernel.

First I need to know how to translate the kernel.img file into kernel.elf since there is a kernel.img file but not a kernel.elf one.

Quoted 8 lines
Quoted 4 lines

Did you pass --with-platform=coreboot to configure?

--
Robert Millan

Hello!
And that did work. Is this selection part of a wiki page some place? If not it should be.

It is. See http://grub.enbug.org/CoreBoot

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."