[Fedora-livecd-list] initird0.img "No init found" on add updated /lib/modules/ kernel folder ?

Brian C. Lane bcl at redhat.com
Mon Aug 8 19:01:54 UTC 2011


On Mon, Aug 08, 2011 at 01:34:49PM -0500, Ed Sutton wrote:
> 
> On Aug 8, 2011, at 1:30 PM, Brian C. Lane wrote:
> 
> > On Mon, Aug 08, 2011 at 12:09:07PM -0500, Ed Sutton wrote:
> >> I assume my problem is in the extraction of the original initrd0.img source files or the re-compression to make the new one.  The first thing I tried was to change isolinux.cfg to use the new kernel and original initrd0.img file that is missing the updated /lib/modules/ kernel folder.  The point was to see how far the boot would get:
> >> 
> > 
> > >Something you can do to avoid that is make a compressed cpio of just the
> > /lib/modules/ directory from the new kernel and then append that to the
> > original initrd. The kernel will decompress it along side the original
> > content. That should help eliminate problem steps.
> 
> 
> Sorry, I'm not very fluent with Linux but this sounds promising.  Can you please elaborate on how to implement the append?  Is this an isolinux.cfg append command?  Or a gzip file or cpio file append thing?

Extract the kernel rpm like you have been doing, but do it to a new
directory, not on top of the initrd contents. Then make a cpio of that
directory and gzip it. Then do:

cat modules.cpio.gz >> initrd0.img

that will append the new cpio to the end of the existing one.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/livecd/attachments/20110808/5dbc7f20/attachment.bin 


More information about the livecd mailing list