Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[BOOT]Kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Papi78
n00b
n00b


Joined: 10 Feb 2005
Posts: 6

PostPosted: Thu Feb 10, 2005 4:44 pm    Post subject: [BOOT]Kernel panic Reply with quote

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
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Thu Feb 10, 2005 4:47 pm    Post subject: Reply with quote

ouaip : tu dis root=/dev/hda3 mais tu annonces que / c'est sda5 ???
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Thu Feb 10, 2005 4:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Thu Feb 10, 2005 4:57 pm    Post subject: Reply with quote

tu ferais mieux de formater ton titre correctement avant que le kernel sensei te tire les oreilles :wink:
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Thu Feb 10, 2005 4:59 pm    Post subject: Reply with quote

en regardant sous google j'ai vu que tu doit effictivement mettre root(sd0,1)

si jamais regarde là-dedans

Code:
info grub
:wink:

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
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Thu Feb 10, 2005 5:02 pm    Post subject: Reply with quote

@Sireyessire : +1
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Thu Feb 10, 2005 5:04 pm    Post subject: Reply with quote

non juste maladroit dsl :(
Back to top
View user's profile Send private message
Papi78
n00b
n00b


Joined: 10 Feb 2005
Posts: 6

PostPosted: Thu Feb 10, 2005 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Thu Feb 10, 2005 6:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
lbr
Guru
Guru


Joined: 05 Apr 2004
Posts: 503
Location: Paris

PostPosted: Thu Feb 10, 2005 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Thu Feb 10, 2005 6:24 pm    Post subject: Reply with quote

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 ?
Code:
df -hT
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
View user's profile Send private message
Papi78
n00b
n00b


Joined: 10 Feb 2005
Posts: 6

PostPosted: Thu Feb 10, 2005 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Papi78
n00b
n00b


Joined: 10 Feb 2005
Posts: 6

PostPosted: Thu Feb 10, 2005 9:02 pm    Post subject: Reply with quote

up
Back to top
View user's profile Send private message
lbr
Guru
Guru


Joined: 05 Apr 2004
Posts: 503
Location: Paris

PostPosted: Fri Feb 11, 2005 8:37 am    Post subject: Reply with quote

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 ;)
Back to top
View user's profile Send private message
marvin rouge
Veteran
Veteran


Joined: 01 Aug 2004
Posts: 1422
Location: Villa Lumierrante, Zonelibre

PostPosted: Fri Feb 11, 2005 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum