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. Thanks, David
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/attachment-0004.sig>
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 HughesDid 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.
On Oct 15, 2007 2:09 PM, David Hrb?? <hrbac.conf at seznam.cz> 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.Maybe you could extract original initrd image, replace its components with yours and then rebuild the initrd ! gzip, mount -o are your friend> > Thanks, > David > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Alain Spineux aspineux gmail com May the sources be with you