Gentoo Archives: gentoo-user-fr

From: Michel Paquet <michel-paquet@×××××××××.ca>
To: gentoo-user-fr@l.g.o
Subject: Re: [gentoo-user-fr] Grub :
Date: Sat, 18 Feb 2006 23:45:51
Message-Id: 43F7B196.8030007@videotron.ca
In Reply to: Re: [gentoo-user-fr] Grub : by cyflux
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Je vois que ton /boot est formaté en ReiserFS. Ton / ne le serait-il pas
5 aussi par hazard? Ce qui expliquerais peut-être qu'il ne trouve pas de
6 block valide Ext3 sur /dev/sda5
7
8 Si ton /dev/sda5 est bien en Ext3, peut-être a-tu oublier de mettre en
9 (*) le support Ext3 dans ton noyau
10
11 A titre d'information, je te poste mon gurb.conf ainsi que mon fstab.
12 Peut-être y vera tu un indice
13
14
15 Grub.conf:
16 title=Gentoo GNU/Linux - Kernel 2.6.14 revision 5
17 root=(hd0,0)
18 kernel=(hd0,0)/vmlinuz-2.6.15-r5 root=/dev/hda3 lapic vga=0x318
19 video=vesafb:mtrr,ywrap splash=silent,fadein,theme:crystal quiet
20 CONSOLE=/dev/tty1
21 initrd /fbsplash-crystal-1024x768
22
23
24 Fstab:
25 /dev/hda1 /boot ext3 noauto,noatime 1 2
26 /dev/hda3 / ext3 noatime 0 1
27 /dev/hda2 none swap sw 0 0
28 /dev/hda4 /home ext3 noatime 0 1
29 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
30 /dev/fd0 /mnt/floppy auto noauto 0 0
31
32 # NOTE: The next line is critical for boot!
33 proc /proc proc defaults 0 0
34 shm /dev/shm tmpfs
35 nodev,nosuid,noexec 0 0
36
37
38
39 Michel P.
40
41
42
43
44 cyflux a écrit :
45 > Bonsoir
46 >
47 > Voila mon fstab, je suis reparti d'un ancien fstab existant ou j'ai
48 > modifié la ligne correspondant à sda5.
49 >
50 > /dev/sda2 /boot reiserfs defaults,noatime,notail 1 2
51 > /dev/sda5 / ext3 noatime
52 > 0 1
53 > /dev/sda3 none swap sw
54 > 0 0
55 > proc /proc proc defaults
56 > 0 0
57 > shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
58 >
59 > Cyril
60 >
61 > Oublie pour le grub.conf :P
62 >
63 > Michel Paquet a écrit :
64 >
65 >
66 >>>> Qu'a tu mis lors de grub-install?? Peux-tu nous poster ton fstab ainsi
67 >>>> que ton grub.conf?
68 >>>>
69 >>>> Michel P.
70 >>>>
71 >>>>
72 >>>> cyflux a écrit :
73 >>>>
74 >>>>>> Bonjour,
75 >>>>>>
76 >>>>>> Je suis entrain de faire une installation de gentoo sur un amd64,
77 >>>>>> Tout c'est bien passé jusqu'au reboot et la, ca bloque avec l'erreur
78 >>>>>> suivante :
79 >>>>>>
80 >>>>>> VFS : cannot open root device 'sda5' or unknown block(0,0)
81 >>>>>> Please append a correct "root=" boot option
82 >>>>>> Kernel panic - not syncing : VFS: Unable to mount root fs on
83 >>>>>> unknown-block(0,0)
84 >>>>>>
85 >>>>>> Vous l'aurez compris, j'ai un disque dur SATA qui est partitionné :
86 >>>>>>
87 >>>>>> sda1 : windows
88 >>>>>> sda2 : boot
89 >>>>>> sda3 : swap
90 >>>>>> sda4 : partition étendue
91 >>>>>> sda5 : partion racine de gentoo
92 >>>>>>
93 >>>>>> sda5 est la première partition de la partition étendue.
94 >>>>>>
95 >>>>>> Dans le noyau j'ai activé le support des disques SCSI et IDE, je l'ai
96 >>>>>> compilé et l'ai copié dans ma partition de boot /dev/sda2
97 >>>>>>
98 >>>>>> Voila ma configuration de grub :
99 >>>>>>
100 >>>>>> timeout 10
101 >>>>>> default 0
102 >>>>>> fallback 1
103 >>>>>> #Gentoo
104 >>>>>> title gentoo
105 >>>>>> root (hd0,1)
106 >>>>>> kernel /bzImage-2.6.15-r5 root=/dev/sda5
107 >>>>>>
108 >>>>>> #windows
109 >>>>>> title windows
110 >>>>>> root(hd0,0)
111 >>>>>> makeactive
112 >>>>>> chainloader +1
113 >>>>>>
114 >>>>>> Je vois pas trop ce qui n'est pas bon, soit le SATA qui pose problème,
115 >>>>>> soit le fait qu'on ne puisse pas mettre la partition racine sur une
116 >>>>>> partition étendue, ou un problème au niveau de mon noyau ou de
117 >>>>>> grub. Je
118 >>>>>> suis complettement dans le flou.
119 >>>>>>
120 >>>>>> Ca me parait quand meme bizarre que dans le message d'erreur, ca
121 >>>>>> indique
122 >>>>>> un problème avec hd0,0 alors que hd0,0 c'est la partition windows et
123 >>>>>> elle elle marche.
124 >>>>>>
125 >>>>>> Si vous pouvez m'aider !
126 >>>>>> J'espère que quelqu'un aura une idée.
127 >>>>>>
128 >>>>>> Cyril
129 >>>>>>
130 >>>>>>
131 >>>>>>
132
133 >>
134
135
136 -----BEGIN PGP SIGNATURE-----
137 Version: GnuPG v1.4.2.1 (GNU/Linux)
138 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
139
140 iD8DBQFD97GWwpieyJYB3AkRAoTKAJ9Kc32CzFa42PdDoXfw303g1FmkvgCdFEH8
141 y8TrrIB5d/MuyWLBCMAAFb8=
142 =e7O6
143 -----END PGP SIGNATURE-----
144 --
145 gentoo-user-fr@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-fr] Grub : Michel Paquet <michel-paquet@×××××××××.ca>
Re: [gentoo-user-fr] Grub : cyflux <cyflux@××××.fr>