View previous topic :: View next topic |
Author |
Message |
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Fri Aug 28, 2009 1:40 pm Post subject: [initrd] ne veux pas se monter ... (résolu) |
|
|
Bonjour,
A titre informatif, j'aimerais monter le fichier "initrd.img" ... Mais ... c'est sur une distro Red Hat Enterprise Linux 5.... (oui, je sais ...)...
Donc, ca se trouve ici : http://pix-mania.dyndns.org/mediawiki/index.php/Initrd
et en gros, je suis coincé ici :
Code: | [root@wk01lhe boot]# gunzip < initrd-2.6.18-128.1.10.el5.img > initrd.img
[root@wk01lhe boot]# ls -lh initrd-2.6.18-128.1.10.el5.img initrd.img
-rw------- 1 root root 3.1M Jun 8 14:48 initrd-2.6.18-128.1.10.el5.img
-rw-r--r-- 1 root root 7.0M Aug 28 15:07 initrd.img
[root@wk01lhe boot]# mount -o loop initrd.img /mnt
mount: you must specify the filesystem type
[root@wk01lhe boot]# mount -o loop -t cramfs initrd.img /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@wk01lhe boot]# mount -o loop -t romfs initrd.img /mnt
mount: unknown filesystem type 'romfs' |
Je ne sais pas du tout quel est le type de FS qu'il faut utilsier ..
Une idée ?? _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org
Last edited by loopx on Mon Aug 31, 2009 1:34 pm; edited 1 time in total |
|
Back to top |
|
|
ppg Apprentice
Joined: 05 Oct 2008 Posts: 178 Location: Toulouse
|
Posted: Fri Aug 28, 2009 2:39 pm Post subject: Re: [initrd] ne veux pas se monter ... |
|
|
loopx wrote: | Bonjour,
A titre informatif, j'aimerais monter le fichier "initrd.img" ... Mais ... c'est sur une distro Red Hat Enterprise Linux 5.... (oui, je sais ...)...
Donc, ca se trouve ici : http://pix-mania.dyndns.org/mediawiki/index.php/Initrd
et en gros, je suis coincé ici :
Code: | [root@wk01lhe boot]# gunzip < initrd-2.6.18-128.1.10.el5.img > initrd.img
[root@wk01lhe boot]# ls -lh initrd-2.6.18-128.1.10.el5.img initrd.img
-rw------- 1 root root 3.1M Jun 8 14:48 initrd-2.6.18-128.1.10.el5.img
-rw-r--r-- 1 root root 7.0M Aug 28 15:07 initrd.img
[root@wk01lhe boot]# mount -o loop initrd.img /mnt
mount: you must specify the filesystem type
[root@wk01lhe boot]# mount -o loop -t cramfs initrd.img /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@wk01lhe boot]# mount -o loop -t romfs initrd.img /mnt
mount: unknown filesystem type 'romfs' |
Je ne sais pas du tout quel est le type de FS qu'il faut utilsier ..
Une idée ?? |
squashfs peut être. |
|
Back to top |
|
|
UB|K l33t
Joined: 27 May 2004 Posts: 786 Location: Villeurbanne, France
|
Posted: Fri Aug 28, 2009 2:45 pm Post subject: |
|
|
salut,
un initrd c'est en général une archive cpio.gz alors je sais pas si on peut le monter mais tu peux toujours le décompresser... |
|
Back to top |
|
|
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Sun Aug 30, 2009 6:05 pm Post subject: |
|
|
UB|K wrote: | salut,
un initrd c'est en général une archive cpio.gz alors je sais pas si on peut le monter mais tu peux toujours le décompresser... |
Bah, d'après ce que j'ai lu .. tu dois pouvoir y avoir accès .. décompression ou montage .. J'ai juste réussi à décompacter, mais le montage hum ... Je doute fort qu'il y ai une nouvelle décompresion à effectuer ...
Tout ca est à titre informatif, car j'apprend un peu le boot réseau ... Pour le boulot, je dois faire des schémas, donc si vous avez des infos intéressante/tuto/schema etc, suis preneur aussi _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
|
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Mon Aug 31, 2009 7:54 am Post subject: |
|
|
Perdu, ca fonctionne pas avec squashfs
Code: | [root@wk01lhe boot]# mount -o loop -t squashfs initrd.img /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so |
_________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
|
GentooUser@Clubic l33t
Joined: 01 Nov 2004 Posts: 829
|
|
Back to top |
|
|
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Mon Aug 31, 2009 1:19 pm Post subject: |
|
|
Je viens de tester le "cpio" et ca fonctionne
Je vais checker l'autre méthode ..
EDIT: merci _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
|
|