Skip to contentSkip to conversation

Booting vmlinux with GRUB on x86

DISCUSSION C K Kashyap 3 participants 4 messages May 6, 2006 – May 9, 2006

lore
Share & tools
lore
#0 lore raw

Looks like kernel 2.6 generates a kernel that can be loaded by GRUB by just adding the multiboot signature...However, it does'nt quite work! ... Has anyone tried it? Just want to do away with the overhead of bzImage etc!!
--
Regards,
Kashyap

#1 lore raw
Quoted 4 lines · C K Kashyap

Looks like kernel 2.6 generates a kernel that can be loaded by GRUB by just adding the multiboot signature...However, it does'nt quite work! ... Has anyone tried it? Just want to do away with the overhead of bzImage etc!!

You might be interested in Gujin.

http://en.wikipedia.org/wiki/Gujin

Signature · 5 lines
Cheers,
Alistair.

Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
#2 lore raw

Thanks Alistair,
Looks like a useful place.
regards,
Kashyap

Quoted 8 lines · Alistair John Strachan
Quoted 4 lines · C K Kashyap

Looks like kernel 2.6 generates a kernel that can be loaded by GRUB by just adding the multiboot signature...However, it does'nt quite work! ... Has anyone tried it? Just want to do away with the overhead of bzImage etc!!

You might be interested in Gujin.

Quoted 9 lines

http://en.wikipedia.org/wiki/Gujin

--
Cheers,
Alistair.

Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

--
Regards,
Kashyap

#3 lore raw
In reply to C K Kashyap
Quoted 4 lines · C K Kashyap

Looks like kernel 2.6 generates a kernel that can be loaded by GRUB by just adding the multiboot signature...However, it does'nt quite work! ... Has anyone tried it? Just want to do away with the overhead of bzImage etc!!

bzImage has some real mode code that gets information from the BIOS and passes it to the vmlinux (see Documentation/i386/zero-page.txt) grub would need to pass this information first before it could execute vmlinux directly.

There are also some more complications on x86-64: vmlinux currently assumes it starts in 32bit protected mode, not 64bit.

-Andi