All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Convert grub2 kernel core.img to linux kernel format
Date: Thu, 6 Dec 2007 12:56:46 +0100	[thread overview]
Message-ID: <20071206115646.GB13758@thorin> (raw)
In-Reply-To: <ca0f59980712010616p2791f2c0hb8e76ad9e9b9994e@mail.gmail.com>

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 /.)



  reply	other threads:[~2007-12-06 11:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-01 14:16 Convert grub2 kernel core.img to linux kernel format Bean
2007-12-06 11:56 ` Robert Millan [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071206115646.GB13758@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.