Re: Way to combine kernel and initrd on x86 platform?

From: Subodh Nijsure
Date: Thu Jul 23 2009 - 16:51:05 EST


On Wed, Jul 22, 2009 at 7:40 PM, H. Peter Anvin<hpa@xxxxxxxxx> wrote:
> On 07/22/2009 02:15 PM, Subodh Nijsure wrote:

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

Sorry if I am not being very smart here, confused by the remark "
bzImage support would not be possible"

I was able create wrapped image using command

wraplinux -p "console=ttyS0,115200" -i initrd.gz -o
vmlinux.initrd.wrap arch/i386/boot/bzImage

I am using wraplinux version 1.6

if I use any other image wraplinux doesn't find the version
information and initrd image doesn't get attached.

What file should I be specifying as the 'kernel' when I execute
wrapimage if not the bzImage?

( I am working with 2.6.23 kernel)

On my board I can boot the standard bzImage, but not able to load the
wrapped image produced by wraplinux command. Would very much
appreciate hints...

Regards,
/Subodh



>        -hpa
>
> --
> H. Peter Anvin, Intel Open Source Technology Center
> I work for Intel.  I don't speak on their behalf.
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/