Editing contents of initrd
Hi,
I want to edit the contents of initrd. For this, I extracted the contents of my initrd:
$ mkdir /tmp/initrd $ cd /tmp/initrd $ gunzip -c /boot/initrd-2.6.17.img | cpio -i
And hence the contents were extracted and made the changes I wanted to do. Now how do I wrap this changed hiereachy BACK into a valid initrd?
Thanks,
Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
why not try the exact opposite?
cpio -o | gzip
Quoted 17 lines · Daniel Rodrick
Hi,
I want to edit the contents of initrd. For this, I extracted the contents of my initrd:
$ mkdir /tmp/initrd $ cd /tmp/initrd $ gunzip -c /boot/initrd-2.6.17.img | cpio -iAnd hence the contents were extracted and made the changes I wanted to do. Now how do I wrap this changed hiereachy BACK into a valid initrd?
Thanks,
Dan
--
Quoted 9 lines
Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs