How to mount RHFC3 initrd through loop device

Andy Green andy at warmcat.com
Wed Oct 5 15:39:18 UTC 2005


Gavin Li wrote:
> Hi,
> I unziped RHFC3 initrd img and try to mount it through loop device, but it
> doesn't mount, I have the Redhat7.3 mounted without problem. anyone has some
> idea?
> The commands I used are:
> cp /boot/initrd-2.6.9-1.667.img initrd.gz
> gunzip initrd.gz
> mount -o loop initrd mydir/

It's a gzipped CPIO archive now :-)  No more mounting on
loop.

mkdir unpacked
gunzip initrd-blah.gz
cd unpacked
cpio -i < ../initrd-blah

-Andy


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051005/cda90484/attachment-0001.bin>


More information about the fedora-list mailing list