Hi,
I try to mount the file /boot/initrd-2.6.9-42.ELsmp but I have a error
[root@localhost ~]# cp /boot/initrd-2.6.9-42.ELsmp.img /root/ [root@localhost ~]# mv initrd-2.6.9-42.ELsmp.img initrd-2.6.9-42.ELsmp.gz [root@localhost ~]# gunzip initrd-2.6.9-42.ELsmp.gz
[root@localhost ~]# mount initrd-2.6.9-42.ELsmp /tmp -o loop [root@localhost ~]# mount: you must specify the filesystem type
why ?
Denis
Denis Machard wrote:
I try to mount the file /boot/initrd-2.6.9-42.ELsmp but I have a error
[...]
[root@localhost ~]# mount initrd-2.6.9-42.ELsmp /tmp -o loop [root@localhost ~]# mount: you must specify the filesystem type
why ?
Because your kernel is missing cpiofs support.
[root@shutdown tmp]# file initrd initrd: ASCII cpio archive (SVR4 with no CRC) [root@shutdown tmp]# cat initrd | cpio -i --make-directories 4844 blocks [root@shutdown tmp]#
Ralph
Thanks you
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Ralph Angenendt Sent: jeudi 25 janvier 2007 11:07 To: centos@centos.org Subject: Re: [CentOS] mount initrd
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
What is the command for the reconstruction of initrd ?
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Ralph Angenendt Sent: jeudi 25 janvier 2007 11:07 To: centos@centos.org Subject: Re: [CentOS] mount initrd
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 25/01/07, Denis Machard dmachard@fr.netcentrex.net wrote:
What is the command for the reconstruction of initrd ?
Have a root around in the mkinitrd shell script in /sbin.
(cd $MNTIMAGE; find . | cpio --quiet -c -o) > $IMAGE
Will.
On 25/01/07, Denis Machard dmachard@fr.netcentrex.net wrote:
Hi,
I try to mount the file /boot/initrd-2.6.9-42.ELsmp but I have a error
[root@localhost ~]# cp /boot/initrd-2.6.9-42.ELsmp.img /root/ [root@localhost ~]# mv initrd-2.6.9-42.ELsmp.img initrd-2.6.9-42.ELsmp.gz [root@localhost ~]# gunzip initrd-2.6.9-42.ELsmp.gz
[root@localhost ~]# mount initrd-2.6.9-42.ELsmp /tmp -o loop [root@localhost ~]# mount: you must specify the filesystem type why ?
http://linux.derkeiler.com/Mailing-Lists/Fedora/2005-01/3885.html
As of FC3 initrds are cpio archives.
Will.