lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 22 Jul 2009 19:40:23 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Subodh Nijsure <nijsure.subodh@...il.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: Way to combine kernel and initrd on x86 platform?

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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ