Extracting init script from bult-in intrfs into Linux bzImage

Posted by Maciej Piechotka on Super User See other posts from Super User or by Maciej Piechotka
Published on 2010-04-19T12:46:33Z Indexed on 2010/04/19 12:53 UTC
Read the original article Hit count: 271

Filed under:
|

I have following problem - I damaged my system (Gentoo - by rebuilding using gcc 4.5) beyond repair. I unmounted /home, copied /etc + other important files and I've started reinstalling system.

However I forgot to copy init script. It is still present in kernel image that I have. How to extract it? Please note that initrd is not a separate file but is in the kernel image.

© Super User or respective owner

Related posts about linux

Related posts about initrd