public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Subodh Nijsure <nijsure.subodh@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Way to combine kernel and initrd on x86 platform?
Date: Wed, 22 Jul 2009 19:40:23 -0700	[thread overview]
Message-ID: <4A67CD97.8000609@zytor.com> (raw)
In-Reply-To: <110c8b2e0907221415q77f7416ehcff4ad26d834bce2@mail.gmail.com>

On 07/22/2009 02:15 PM, Subodh Nijsure wrote:
> I have been using the arch/powerpc/boot/wrapper scripts to combine
> linux and initrd.gz to create a single image for distribution.
> 
> Is there similar wrapper possible for x86 platforms also? This is my
> first week of working on x86 embedded platform.
> 
> I know of initramfs option in 2.6 kernel, however the contents of
> initrd in my case are created after the kernel is build i.e. will have
> to "patch in" the initramfs at later point in build process.

If your bootloader can support ELF, Multiboot, or NBI, you can use
Wraplinux:

	http://www.kernel.org/pub/linux/utils/boot/wraplinux/

bzImage support would be possible, but it isn't in this version (noone
has asked for it).

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.


  reply	other threads:[~2009-07-23  2:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-22 21:15 Way to combine kernel and initrd on x86 platform? Subodh Nijsure
2009-07-23  2:40 ` H. Peter Anvin [this message]
2009-07-23 20:50   ` Subodh Nijsure
2009-07-23 22:10     ` H. Peter Anvin

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=4A67CD97.8000609@zytor.com \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nijsure.subodh@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox