Hi, I try to mount the file /boot/initrd-2.6.9-42.ELsmp but I have a error [root at localhost ~]# cp /boot/initrd-2.6.9-42.ELsmp.img /root/ [root at localhost ~]# mv initrd-2.6.9-42.ELsmp.img initrd-2.6.9-42.ELsmp.gz [root at localhost ~]# gunzip initrd-2.6.9-42.ELsmp.gz [root at localhost ~]# mount initrd-2.6.9-42.ELsmp /tmp -o loop [root at localhost ~]# mount: you must specify the filesystem type why ? Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070125/73ce088c/attachment.html>
Denis Machard wrote:> I try to mount the file /boot/initrd-2.6.9-42.ELsmp but I have a > error[...]> [root at localhost ~]# mount initrd-2.6.9-42.ELsmp /tmp -o loop > [root at localhost ~]# mount: you must specify the filesystem type > > why ?Because your kernel is missing cpiofs support. [root at shutdown tmp]# file initrd initrd: ASCII cpio archive (SVR4 with no CRC) [root at shutdown tmp]# cat initrd | cpio -i --make-directories 4844 blocks [root at shutdown tmp]# Ralph -- Ralph Angenendt......ra at br-online.de | .."Text processing has made it possible Bayerischer Rundfunk...80300 M?nchen | ....to right-justify any idea, even one Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070125/fc37d88a/attachment.sig>
On 25/01/07, Denis Machard <dmachard at fr.netcentrex.net> wrote:> > Hi, > > I try to mount the file /boot/initrd-2.6.9-42.ELsmp but I have a error > > > [root at localhost ~]# cp /boot/initrd-2.6.9-42.ELsmp.img /root/ > [root at localhost ~]# mv initrd-2.6.9-42.ELsmp.img initrd-2.6.9-42.ELsmp.gz > [root at localhost ~]# gunzip initrd-2.6.9-42.ELsmp.gz > > [root at localhost ~]# mount initrd-2.6.9-42.ELsmp /tmp -o loop > [root at 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.
Thanks you -----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Ralph Angenendt Sent: jeudi 25 janvier 2007 11:07 To: centos at centos.org Subject: Re: [CentOS] mount initrd _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos
What is the command for the reconstruction of initrd ? -----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Ralph Angenendt Sent: jeudi 25 janvier 2007 11:07 To: centos at centos.org Subject: Re: [CentOS] mount initrd _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos