Page 1 sur 1

[boot] kernel panic (résolu)

Publié : mer. 16 déc. 2009, 21:12
par martvefun
Bonjour,

j'ai installé archlinux depuis un live-usb. J'ai redémarré tout de suite après l'installation.
après un passage sous debian (ma distro principale), je mets à jour grub2
l'entrée pour arch est

Code : Tout sélectionner

menuentry "Arch (on /dev/sda10)" {
	insmod ext2
	set root=(hd0,10)
	search --no-floppy --fs-uuid --set 9f75ffa7-8ecb-4417-94e6-9fb3172a2219
	linux /boot/vmlinuz26 root=/dev/sda10
}
quand je démarre j'ai un message d'erreur très rapidement dans le log
No filesystem could mount root, tried:
kernel panic - not syncing : VFS: unable to mount root FS on unknown-block(0,0)
ou quelque chose du style

mon dossier boot (sais on jamais ^^)

Code : Tout sélectionner

total 9564
drwxr-xr-x 2 root root    4096 Jul 28 07:53 grub
-rw-r--r-- 1 root root 5947746 Dec 16  2009 kernel26-fallback.img
-rw-r--r-- 1 root root  834797 Dec 16  2009 kernel26.img
-rw-r--r-- 1 root root 1127493 Jul 31 07:33 System.map26
-rw-r--r-- 1 root root 1868160 Jul 31 07:33 vmlinuz26
merci

edit : en cherchant je me demande si c'est pas du au fait que tout mon système est sur une partition ext4...
je vais essayer en réinstallant en ext3

Re: [boot] kernel panic

Publié : mer. 16 déc. 2009, 22:16
par tuxce
salut, c'est juste que tu as oublié l'initrd:

Code : Tout sélectionner

initrd /boot/kernel26.img

Re: [boot] kernel panic

Publié : mer. 16 déc. 2009, 22:43
par martvefun
oui ça fonctionne merci
par contre ce qui est étrange c'est que je génère le grub.cfg via la commande "update-grub" et qu'il me retire lui-même la ligne initrd...

Re: [boot] kernel panic

Publié : mer. 16 déc. 2009, 23:14
par tuxce
Les scripts appelés par update-grub ne sont pas compatibles avec archlinux

Re: [boot] kernel panic

Publié : mer. 16 déc. 2009, 23:33
par martvefun
oh mince alors
il y a quelque chose qui est compatible toutes distrib ? (grub-mkconfig semble avoir le même comportement)
(au pire je laisse une entrée dans la partie 40_custom mais c'est un peu bête

Re: [boot] kernel panic

Publié : ven. 18 déc. 2009, 16:11
par martvefun
en fait si j'installe grub sur ma partition système (mais ne l'utilise pas puisque ne réécrit pas sur le mbr) il est détecté par debian quand je fais update-grub

Code : Tout sélectionner

menuentry "Arch Linux (on /dev/sda10)" {
	insmod ext2
	set root=(hd0,10)
	search --no-floppy --fs-uuid --set f8985bae-15c2-4c24-b5e5-0e210de6cf96
	linux /boot/vmlinuz26 root=/dev/sda10 ro
	initrd /boot/kernel26.img
}
menuentry "Arch Linux Fallback (on /dev/sda10)" {
	insmod ext2
	set root=(hd0,10)
	search --no-floppy --fs-uuid --set f8985bae-15c2-4c24-b5e5-0e210de6cf96
	linux /boot/vmlinuz26 root=/dev/sda10 ro
	initrd /boot/kernel26-fallback.img
}