On Sat, Dec 01, 2007 at 10:16:38PM +0800, Bean wrote: > 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
Very nice! Can you resend as a patch that puts it in the tree ? (+ ChangeLog) -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.) _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel