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

Replies

Subject Author
Re: [gentoo-user-fr] Grub : cyflux <cyflux@××××.fr>