How to Mount Initrd?

Robert P. J. Day rpjday at mindspring.com
Mon Oct 11 15:05:51 UTC 2004


On Mon, 11 Oct 2004, Jason Vas Dias wrote:

> initrd-2.6.8-1.603*.img is a cpio archive -
> use cpio -x to extract it.

ok, i'm embarrassed to admit that i forgot that .img files in FC3t2 
were not compressed ext2 filesystems.  ack.

but, technically, they're not cpio archives, they're *compressed* cpio 
archives.  to see this, try both of the following:

   # file <whatever>.img
   # file -z <whatever>.img

the "-z" means you realize it's a compressed file, so you want to see 
the type when it's uncompressed.

   and, last time i looked, to extract from a cpio archive, it's not 
"-x" but "-i".  unless things have *really* changed when i wasn't 
looking.

rday




More information about the fedora-test-list mailing list