Viewind and editing initrd?
Mogens Kjaer
mk at crc.dk
Fri May 20 08:28:30 UTC 2005
Frank Chen wrote:
> After creating the initrd using mkinitrd, is it
> possible to view the files and dir structure and edit
> the initrd image?
You can unpack the image like this:
cd /whereever
mkdir initrd
cd initrd
gzip -cd /boot/initrd-...img | cpio -i
The kernel modules will be in the lib directory
Mogens
--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk
More information about the fedora-list
mailing list