grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert grub2 kernel core.img to linux kernel format


From: Bean
Subject: Re: Convert grub2 kernel core.img to linux kernel format
Date: Fri, 7 Dec 2007 00:13:03 +0800

Hi,

Added a new file boot/i386/pc/lnxboot.S, which will compile into
lnxboot.img. You can use it in a few ways:

1, Use it as standalone kernel, core.img as initrd

kernel lnxboot.img
initrd core.img

For example, you can start grub2 in qemu like this:

qemu -kernel lnxboot.img -initrd core.img ...

2, Create a combined kernel:

cat lnxboot.img core.img > grub2.img

You can then load grub2.img as kernel

kernel grub2.img

The image grub2.img can also be loaded using the grldr boot loader.

-- 
Bean

Attachment: grub2-lnxboot.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]