How to Mount Initrd?

Jason Vas Dias jvdias at redhat.com
Mon Oct 11 15:03:08 UTC 2004


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

On Mon, 2004-10-11 at 10:44, 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
> [root at bobcp4 mnt]# mount -o loop /tmp/initrd /mnt/initrd
> mount: you must specify the filesystem type
> [root at bobcp4 mnt]# mount -o loop /tmp/initrd -t ext2 /mnt/initrd
> mount: wrong fs type, bad option, bad superblock on /dev/loop0,
>        or too many mounted file systems
>        (could this be the IDE device where you in fact use
>        ide-scsi so that sr0 or sda or so is needed?)
> [root at bobcp4 mnt]# mount /tmp/initrd /mnt/initrd -o loop -t ext2
> mount: wrong fs type, bad option, bad superblock on /dev/loop0,
>        or too many mounted file systems
>        (could this be the IDE device where you in fact use
>        ide-scsi so that sr0 or sda or so is needed?)
> [root at bobcp4 mnt]# mount /tmp/initrd /mnt/initrd -o loop
> mount: you must specify the filesystem type
> 
> 
> What am I doing wrong here?
> 
> Thanks
> 
> Bob Cochran
> Greenbelt, Maryland, USA
> 




More information about the test mailing list