[clug] Booting problem

David Deaves David.Deaves at dd.id.au
Tue Oct 20 07:06:50 MDT 2009



Cannot help with specific SuSE experience, however here is some info
that may help you if you don't find a 4 command solution.

Modern initrd.img files are a  gzip_ed concatenation of cpio_s.

So you may be able to repair the current not quite complete initrd
with a sequence like:

 #  gzip -dc initrd.img > /tmp/initrd.img.full
 #  mkdir /tmp/initrd
 #  cd /tmp/initrd
 #  cpio -idv < ../initrd.img.full 

Add missing modules, edit the init shell script to load them, add debugging ....

 #  find * -print | cpio -oc | gzip -9 > ../initrd.img


I've found playing around in there useful more than a few times.


Dave !



More information about the linux mailing list