Difference: InitrdDump (1 vs. 2)

Revision 2
10 Sep 2009 - Main.TomRockwell
Line: 1 to 1
 
META TOPICPARENT name="LinuxNotes"
Changed:
<
<
Redhatish systems now use cpio for building the initrd files. To unpack one do:
>
>

disk image based

unpack:

mkdir -p tmp/mnt
gunzip -c /boot/initrd-whatever > initrd-whatever
mount -o loop initrd-whatever mnt

repack:
umount mnt
gzip -9 initrd-whatever
mv initrd-whatever.gz initrd-whatever

cpio based

Redhatish systems (guess this is for RHEL5+?) now use cpio for building the initrd files. To unpack one do:
 

# mkdir tmp
Line: 11 to 30
  # cpio --extract < initrd.cpio
Added:
>
>
Shorter:

mkdir tmp; cd tmp
gunzip -c /boot/initrd-whatever | cpio -idv
  -- TomRockwell - 17 Oct 2006 \ No newline at end of file
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback