Gentoo Archives: gentoo-user-fr

From: cyflux <cyflux@××××.fr>
To: gentoo-user-fr@l.g.o
Subject: Re: [gentoo-user-fr] Grub :
Date: Sun, 19 Feb 2006 08:54:09
Message-Id: 43F83219.1040002@free.fr
In Reply to: Re: [gentoo-user-fr] Grub : by Michel Paquet
1 Dans mon device.map j'ai ca :
2
3 (fd0) /dev/fd0
4 (hd0) /dev/sda
5
6 Donc ca à l'air bon, sinon j'ai un deuxième disque en IDE, je vais
7 essayer de l'enlever pour voir si ca change quelque chose :)
8
9 Cyril
10
11 >Hash: SHA1
12 >
13 >En supplément à ce que j'ai écrit ci-bas, je vien de trouvé une petite
14 >note dans un howto de grub:
15 >
16 >Note: If you don't have a hda, then hdb gets the ID 0, or sda if you
17 >have no IDE hard disk : the ID 0 is for the "first" hard disk, wherever
18 >it is.
19 >
20 >Note: The mapping of device against grub number is listed in
21 >/boot/grub/device.map, so a /dev/sda1 can very well end up in (hd2,0)
22 >
23 >Voici le lien complet: http://gentoo-wiki.com/HOWTO_Quick_GRUB
24 >
25 >
26 >Michel P.
27 >
28 >Michel Paquet a écrit :
29 >
30 >
31 >>Je vois que ton /boot est formaté en ReiserFS. Ton / ne le serait-il pas
32 >>aussi par hazard? Ce qui expliquerais peut-être qu'il ne trouve pas de
33 >>block valide Ext3 sur /dev/sda5
34 >>
35 >>Si ton /dev/sda5 est bien en Ext3, peut-être a-tu oublier de mettre en
36 >>(*) le support Ext3 dans ton noyau
37 >>
38 >>A titre d'information, je te poste mon gurb.conf ainsi que mon fstab.
39 >>Peut-être y vera tu un indice
40 >>
41 >>
42 >>Grub.conf:
43 >>title=Gentoo GNU/Linux - Kernel 2.6.14 revision 5
44 >> root=(hd0,0)
45 >> kernel=(hd0,0)/vmlinuz-2.6.15-r5 root=/dev/hda3 lapic vga=0x318
46 >>video=vesafb:mtrr,ywrap splash=silent,fadein,theme:crystal quiet
47 >>CONSOLE=/dev/tty1
48 >> initrd /fbsplash-crystal-1024x768
49 >>
50 >>
51 >>Fstab:
52 >>/dev/hda1 /boot ext3 noauto,noatime 1 2
53 >>/dev/hda3 / ext3 noatime 0 1
54 >>/dev/hda2 none swap sw 0 0
55 >>/dev/hda4 /home ext3 noatime 0 1
56 >>/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
57 >>/dev/fd0 /mnt/floppy auto noauto 0 0
58 >>
59 >># NOTE: The next line is critical for boot!
60 >>proc /proc proc defaults 0 0
61 >>shm /dev/shm tmpfs
62 >>nodev,nosuid,noexec 0 0
63 >>
64 >>
65 >>
66 >>Michel P.
67 >>
68 >>
69 >>
70 >>
71 >>cyflux a écrit :
72 >>
73 >>
74 >>>>Bonsoir
75 >>>>
76 >>>>Voila mon fstab, je suis reparti d'un ancien fstab existant ou j'ai
77 >>>>modifié la ligne correspondant à sda5.
78 >>>>
79 >>>>/dev/sda2 /boot reiserfs defaults,noatime,notail 1 2
80 >>>>/dev/sda5 / ext3 noatime
81 >>>> 0 1
82 >>>>/dev/sda3 none swap sw
83 >>>> 0 0
84 >>>>proc /proc proc defaults
85 >>>> 0 0
86 >>>>shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
87 >>>>
88 >>>>Cyril
89 >>>>
90 >>>>Oublie pour le grub.conf :P
91 >>>>
92 >>>>Michel Paquet a écrit :
93 >>>>
94 >>>>
95 >>>>
96 >>>>
97 >>>>>>>Qu'a tu mis lors de grub-install?? Peux-tu nous poster ton fstab ainsi
98 >>>>>>>que ton grub.conf?
99 >>>>>>>
100 >>>>>>>Michel P.
101 >>>>>>>
102 >>>>>>>
103 >>>>>>>cyflux a écrit :
104 >>>>>>>
105 >>>>>>>
106 >>>>>>>
107 >>>>>>>>>Bonjour,
108 >>>>>>>>>
109 >>>>>>>>>Je suis entrain de faire une installation de gentoo sur un amd64,
110 >>>>>>>>>Tout c'est bien passé jusqu'au reboot et la, ca bloque avec l'erreur
111 >>>>>>>>>suivante :
112 >>>>>>>>>
113 >>>>>>>>>VFS : cannot open root device 'sda5' or unknown block(0,0)
114 >>>>>>>>>Please append a correct "root=" boot option
115 >>>>>>>>>Kernel panic - not syncing : VFS: Unable to mount root fs on
116 >>>>>>>>>unknown-block(0,0)
117 >>>>>>>>>
118 >>>>>>>>>Vous l'aurez compris, j'ai un disque dur SATA qui est partitionné :
119 >>>>>>>>>
120 >>>>>>>>>sda1 : windows
121 >>>>>>>>>sda2 : boot
122 >>>>>>>>>sda3 : swap
123 >>>>>>>>>sda4 : partition étendue
124 >>>>>>>>> sda5 : partion racine de gentoo
125 >>>>>>>>>
126 >>>>>>>>>sda5 est la première partition de la partition étendue.
127 >>>>>>>>>
128 >>>>>>>>>Dans le noyau j'ai activé le support des disques SCSI et IDE, je l'ai
129 >>>>>>>>>compilé et l'ai copié dans ma partition de boot /dev/sda2
130 >>>>>>>>>
131 >>>>>>>>>Voila ma configuration de grub :
132 >>>>>>>>>
133 >>>>>>>>> timeout 10
134 >>>>>>>>> default 0
135 >>>>>>>>> fallback 1
136 >>>>>>>>> #Gentoo
137 >>>>>>>>> title gentoo
138 >>>>>>>>> root (hd0,1)
139 >>>>>>>>> kernel /bzImage-2.6.15-r5 root=/dev/sda5
140 >>>>>>>>>
141 >>>>>>>>> #windows
142 >>>>>>>>> title windows
143 >>>>>>>>> root(hd0,0)
144 >>>>>>>>> makeactive
145 >>>>>>>>> chainloader +1
146 >>>>>>>>>
147 >>>>>>>>>Je vois pas trop ce qui n'est pas bon, soit le SATA qui pose problème,
148 >>>>>>>>>soit le fait qu'on ne puisse pas mettre la partition racine sur une
149 >>>>>>>>>partition étendue, ou un problème au niveau de mon noyau ou de
150 >>>>>>>>>grub. Je
151 >>>>>>>>>suis complettement dans le flou.
152 >>>>>>>>>
153 >>>>>>>>>Ca me parait quand meme bizarre que dans le message d'erreur, ca
154 >>>>>>>>>indique
155 >>>>>>>>>un problème avec hd0,0 alors que hd0,0 c'est la partition windows et
156 >>>>>>>>>elle elle marche.
157 >>>>>>>>>
158 >>>>>>>>>Si vous pouvez m'aider !
159 >>>>>>>>>J'espère que quelqu'un aura une idée.
160 >>>>>>>>>
161 >>>>>>>>>Cyril
162 >>>>>>>>>
163 >>>>>>>>>
164 >>>>>>>>>
165 >>>>>>>>>
166 >>>>>>>>>
167 >>
168 >>
169 >>
170
171 --
172 gentoo-user-fr@g.o mailing list