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.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux