Re: Editing contents of initrd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




why not try the exact opposite?

cpio -o | gzip



On Fri, 8 Sep 2006, Daniel Rodrick wrote:

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

--
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux