[CentOS] How to create initrd.img

semi linux linuxsemi at gmail.com
Mon Nov 12 22:51:55 UTC 2007


On Oct 15, 2007 5:49 AM, Johnny Hughes <johnny at centos.org> wrote:
> 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

Did you ever figure this command out?  I'm stuck doing the same thing
for FC4.  I'm going crazy reading through mk-images scripts.

- G.


More information about the CentOS mailing list