[CentOS] How to create initrd.img

Johnny Hughes johnny at centos.org
Mon Oct 15 13:49:20 UTC 2007


David Hrbáč wrote:
> Hi,
> anyone to point me URL on initrd.img creating? I have custom kernel and
> want to create initrd.img for install media.
> mkinitrd /tmp/initrd.img 2.6.18-8.1.14.el5.hrb -v -f create unusable
> file for install media.
> 

Personally, I just use the buildinstall process in /usr/lib/anaconda-runtime

However, if you look at that script and follow it through into mkimages
(and mk-images.x86 or mk-images-.x86_64) it will tell you how
buildinstall issues the commands.

Thanks,
Johnny Hughes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20071015/e6d91e43/signature.bin


More information about the CentOS mailing list