All of lore.kernel.org
 help / color / mirror / Atom feed
* Convert grub2 kernel core.img to linux kernel format
@ 2007-12-01 14:16 Bean
  2007-12-06 11:56 ` Robert Millan
  0 siblings, 1 reply; 7+ messages in thread
From: Bean @ 2007-12-01 14:16 UTC (permalink / raw)
  To: The development of GRUB 2

[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

Hi,

I've just written a header file that can be used to convert core.img
to linux kernel format:

cat lnxhdr.bin core.img > grub2.bin

You can then load grub2.bin from syslinux/isolinux/pxelinux/lilo or
any other boot loader that supports linux kernel.

qemu support linux kernel as well. Now you can start grub2 like this:

qemu -kernel grub2.bin -hda aa.dsk

To compile lnxhdr.bin, use the following commands:

gcc -nostdlib -Wl,-N -o lnxhdr lnxhdr.S
objcopy -O binary lnxhdr lnxhdr.bin

-- 
Bean

[-- Attachment #2: lnxhdr.zip --]
[-- Type: application/zip, Size: 2275 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-12-16  6:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-01 14:16 Convert grub2 kernel core.img to linux kernel format Bean
2007-12-06 11:56 ` Robert Millan
2007-12-06 16:13   ` Bean
2007-12-12 15:34     ` Robert Millan
2007-12-12 16:20       ` Bean
2007-12-13  2:06         ` Bean
2007-12-15 10:43           ` Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.