View previous topic :: View next topic |
Author |
Message |
Papi78 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Feb 2005 Posts: 6
|
Posted: Thu Feb 10, 2005 4:44 pm Post subject: [BOOT]Kernel panic |
|
|
Bonjour à tous,
Je tente d'installer une gentoo sur un disque dur SATA sans succès :
Message au boot :
UDF-fs : No partition found
XFS : bad magic number
XFS : SB validate failed
Kernel panic - not syncing VFS : Unable to mount root fs on unknown block (1,0)
Mes partitions :
/dev/sda2 : /boot Reiserfs (notail dans fstab)
/dev/sda3 : swap
/dev/sda5 : / Reiserfs (notail)
/dev/sda6 : /home Reiserfs (notail)
Pour grub de mémoire ca donne
title=Gentoo Linux
root (hd0,1)
kernel /kernel-2.6.10-gentoo-r6 root=/dev/ram0 init=/linuxrc real_root=/dev/hda3
Des idées ?
Merci d'avance
Last edited by Papi78 on Thu Feb 10, 2005 5:57 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Feb 10, 2005 4:47 pm Post subject: |
|
|
ouaip : tu dis root=/dev/hda3 mais tu annonces que / c'est sda5 ??? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fb99 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/3047205813ef0c3a7839b6.gif)
Joined: 09 Apr 2003 Posts: 998 Location: Le Locle (Suisse,Neuchâtel)
|
Posted: Thu Feb 10, 2005 4:54 pm Post subject: |
|
|
je sais pas comment grub marche pour les sata mais tu mélanges sda et hda ???
et le root (hd0,1) ne devrait pas aussi changer ? bof jamais regarder |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Thu Feb 10, 2005 4:57 pm Post subject: |
|
|
tu ferais mieux de formater ton titre correctement avant que le kernel sensei te tire les oreilles ![Wink :wink:](images/smiles/icon_wink.gif) _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fb99 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/3047205813ef0c3a7839b6.gif)
Joined: 09 Apr 2003 Posts: 998 Location: Le Locle (Suisse,Neuchâtel)
|
Posted: Thu Feb 10, 2005 4:59 pm Post subject: |
|
|
en regardant sous google j'ai vu que tu doit effictivement mettre root(sd0,1)
si jamais regarde là-dedans
ou directement ici: sur Manuel Grub
PS: désolé pour le cafouillage
EDIT: en fait je crois que celui qui avait noté root(sd0,1) c'était trompéd dsl donc c'est bien aussi root(hd0,*) encore dsl [/url]
Last edited by fb99 on Thu Feb 10, 2005 10:03 pm; edited 3 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Thu Feb 10, 2005 5:02 pm Post subject: |
|
|
@Sireyessire : +1 _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fb99 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/3047205813ef0c3a7839b6.gif)
Joined: 09 Apr 2003 Posts: 998 Location: Le Locle (Suisse,Neuchâtel)
|
Posted: Thu Feb 10, 2005 5:04 pm Post subject: |
|
|
non juste maladroit dsl ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Papi78 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Feb 2005 Posts: 6
|
Posted: Thu Feb 10, 2005 5:59 pm Post subject: |
|
|
Effectivement je me suis trompé sur le real_root, j'a bien mis sda5
Par contre etes vous sur qu'il faille mettre root (sd0,1) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kernelsensei Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21126704545e4a5f9ae5c9.jpg)
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Thu Feb 10, 2005 6:02 pm Post subject: |
|
|
euh moi perso je ne suis pas sur !
par exemple, moi j'ai ca :
Code: | title Gentoo
root (hd0,0)
kernel /boot/vmlinuz-2.6.10 root=/dev/sda1 vga=791 devfs=nomount gentoo=nodevfs |
_________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lbr Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Apr 2004 Posts: 503 Location: Paris
|
Posted: Thu Feb 10, 2005 6:05 pm Post subject: |
|
|
grub.conf wrote: | title=Gentoo linux 2.6.9-r13 custom
root (hd0,0)
kernel /boot/kernel-2.6.9-gentoo-r13 root=/dev/sda3
|
avec 1 disque sata (sda). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Thu Feb 10, 2005 6:24 pm Post subject: |
|
|
Pourquoi tu as un message avec XFS ? as tu mis le support reiserfs en dur dans ton kernel ? Envoie le résultat de : Code: | grep XFS /usr/src/linux/.config
grep REISER /usr/src/linux/.config |
tu es sur que tes partitions sont formattées en reiserfs ?Il me semble que tu peux enlever le notail du fstab, au moins pour / et /home
Pour ton grub.conf, essaie avec quelque chose de simple: Code: | title=Gentoo Linux
root (hd0,1)
kernel /kernel-2.6.10-gentoo-r6 root=/dev/sda5 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Papi78 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Feb 2005 Posts: 6
|
Posted: Thu Feb 10, 2005 6:52 pm Post subject: |
|
|
Il me semble avoir essayer tout ca.
J'ai noté mes configs :
grub.conf :
timeout 30
default 0
fallback 1
title Linux
root (hd0,1)
kernel /kernel-2.6.10-gentoo-r6 root=/dev/ram0 real_root=/dev/sda5 init=/linuxrc
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
title Install GRUB into the hard disk
root (hd0,1)
setup (hd0)
--------------------------------
fdisk /dev/sda
p
-Device- -Boot- -System-
/dev/sda1 HPFS/NTFS
/dev/sda2 * Linux
/dev/sda3 Linux swap
/dev/sda4 Extended
/dev/sda5 Linux
/dev/sda6 Linux
------------------------------------
cat /etc/fstab
/dev/sda2 /boot reiserfs noauto,noatime,notail 1 1
/dev/sda5 / reiserfs noatime,notail 0 0
/dev/sda6 /home reiserfs noatime,notail 0 0
/dev/sda3 none swap sw 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
Voila
Merci encore pour votre aide
PS: J'ai tous les filesystem charger dans le noyau (pas en module), en fait j'in un noyau genkernel all |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Papi78 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Feb 2005 Posts: 6
|
Posted: Thu Feb 10, 2005 9:02 pm Post subject: |
|
|
up |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lbr Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Apr 2004 Posts: 503 Location: Paris
|
Posted: Fri Feb 11, 2005 8:37 am Post subject: |
|
|
et pourquoi que tu ne recompilerais pas ton kernel à la main : la première fois que j'ai installé gentoo sur mon portable j'avais utilisé genkernel => kernel panic ... en compilant à la mano => OK. J'ai pas cherché à comprendre ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin rouge Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11635284444403688a3df85.jpg)
Joined: 01 Aug 2004 Posts: 1422 Location: Villa Lumierrante, Zonelibre
|
Posted: Fri Feb 11, 2005 9:30 am Post subject: |
|
|
je t'ai indiqué des commandes ci dessus (les 2 grep et le df -hT), pour vérifier la config de ton kernel et tes systèmes de fichiers |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|