How to Mount Initrd?

Robert P. J. Day rpjday at mindspring.com
Mon Oct 11 14:46:40 UTC 2004


On Mon, 11 Oct 2004, Robert L Cochran wrote:

> In FC3T2, I keep getting these messages when I try unzipping and
> mounting my initrd for the 603 kernel:
>
> [root at bobcp4 mnt]# cp /boot/initrd-2.6.8-1.603.img /tmp/initrd.gz
> [root at bobcp4 mnt]# gunzip /tmp/initrd.gz

   you can abbreviate the above with:

   # gunzip -c /boot/....img > /tmp/initrd

the "-c" means write to stdout.  and once you do that, run:

   # file /tmp/initrd

you'd better to hope to see something like the following:

# file /tmp/initrd
/tmp/initrd: Linux rev 1.0 ext2 filesystem data

rday

p.s.  CAVEAT.  i didn't try this with FC3t2's initrd that you listed 
above, i'm just going over the *general* protocol for doing this. 
sorry i wasn't more specific.




More information about the test mailing list