initrd in Fedora Core 4 and mount problem
Paul Howarth
paul at city-fan.org
Sun Aug 14 09:53:02 UTC 2005
On Sat, 2005-08-13 at 16:51 +0300, John Que wrote:
> Hello,
> I know from RedHat 9 that I have an initrd file ( initrd_x_y_z.img)
> under /boot
> which is used in the boot process.
> In the past, when I took that initrd file and renamed it to a *.gz
> file (since it is in fact a compressed file ) and than ran:
>
> gunzip initrd_x_y_z.img
> mount -o loop initrd_x_y_z tmp
> cd tmp
> ls
>
> I saw the contents of initrd.
>
> When I tried the same in Fedora Core 4 /boot//boot/initrd-2.6.11-1.1369_FC4.img
> and tried mount -o loop initrd-2.6.11-1.1369_FC4 tmp
> I got :
> ioctl: LOOP_CLR_FD: Device or resource busy
> mount: you must specify the filesystem type
>
> googling did not helped much ;
>
> Any idea?
The initrd format has changed. It's now a cpio archive.
# gzip -dc your-initrd | cpio -t
should give you a file listing etc.
Paul.
--
Paul Howarth <paul at city-fan.org>
More information about the fedora-list
mailing list