View previous topic :: View next topic |
Author |
Message |
thomine n00b

Joined: 11 Oct 2003 Posts: 69
|
Posted: Fri Oct 22, 2004 2:09 pm Post subject: [GRUB] Message "GRUB" qui défile au boot (resolu) |
|
|
Bonjour,
Je viens d'installer les gentoo-dev-sources et tout s'est bien passé.
J'ai utilisé un stage3 et j'ai compilé mon noyau.
Par contre, juste avant le reboot, je n'ai pas correctement démonté mes disques (j'avais oublié /mnt/gentoo/usr, /mnt/gentoo/var, /mnt/gentoo/home et je n'ai donc pas pu démonter /mnt/gentoo).
J'ai fait un reboot, pis là, au mauvaise suprise, mon écran ressemble à ça :
GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB
sans s'arrêter.
J'ai vérifié mon fichier grub.conf en bootant sur le CD et il est ok. J'ai même essayé de réinstallé GRUB mais toujours pareil.
Si quelqu'un peut m'aider, ça me sortirait bien de ce pétrin car j'ai pas très envie de tout recommencer l'install.
Par avance, MERCI BEAUCOUP
Last edited by thomine on Mon Oct 25, 2004 10:36 am; edited 2 times in total |
|
Back to top |
|
 |
Trevoke Advocate


Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Oct 22, 2004 2:36 pm Post subject: |
|
|
Ca nous fait plaisir de savoir que ton grub.conf est OK, mais on peut le voir quand meme? _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
 |
thomine n00b

Joined: 11 Oct 2003 Posts: 69
|
Posted: Fri Oct 22, 2004 2:45 pm Post subject: |
|
|
Je l'ai réduit avec ce problème, voici mon GRUB.CONF :
Code: |
timeout 10
default 0
title=Gentoo Linux 2.6.9-r1
root (hd0,0)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/hda3
|
Voilà, j'espère que ça pourra vous aider.
J'ai essayé de réinstaller GRUB en retournant dans mon environnement avec chroot et en ayant monté mes disques mais rien n'y fait.
Je ne sais pas où chercher...
Merci pour votre aide.[/quote] |
|
Back to top |
|
 |
Trevoke Advocate


Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Oct 22, 2004 3:01 pm Post subject: |
|
|
Tu veux pas essayer de mettre "default 0" AVANT "timeout 10" ? _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
 |
yoyo Bodhisattva


Joined: 04 Mar 2003 Posts: 4273 Location: Lyon - France
|
Posted: Fri Oct 22, 2004 3:02 pm Post subject: |
|
|
thomine wrote: | Je l'ai réduit avec ce problème, voici mon GRUB.CONF :
Code: |
timeout 10
default 0
title=Gentoo Linux 2.6.9-r1
root (hd0,0)
kernel /kernel-2.6.9-gentoo-r1 root=/dev/hda3
|
| [/quote]
Essaie avec : kernel (hd0,0)/kernel-2.6.9-gentoo-r1 root=/dev/hda3.
Je suppose que ta partition "/boot" est la première du premier disque dur (a priori hda1)... _________________ La connaissance s'accroît quand on la partage.
JCB |
|
Back to top |
|
 |
thomine n00b

Joined: 11 Oct 2003 Posts: 69
|
Posted: Mon Oct 25, 2004 6:35 am Post subject: |
|
|
Merci yoyo,
J'ai essayé mais pas mieux.
Je vais essayé de recompiler mon noyau avec Genkernel.
Je ne suis pas un expert et j'ai peut-être compilé le mien avec des mauvaises options.
Je vous tiens au courant et encore merci. |
|
Back to top |
|
 |
jpwalker Guru


Joined: 12 Jul 2004 Posts: 503 Location: Annecy - 74 - France - In Tartiflette We Trust ;-)
|
Posted: Mon Oct 25, 2004 7:14 am Post subject: |
|
|
Inutile de recompiler, as-tu une partition /boot ? Si tu n'en a pas, ton grub.conf est faut. Donne nous la table de partition de tes disques (hda1 /boot, hda2 /, hda3 /home... par exemple). _________________ JPW@lker
Ride & Enjoy
 |
|
Back to top |
|
 |
thomine n00b

Joined: 11 Oct 2003 Posts: 69
|
Posted: Mon Oct 25, 2004 7:21 am Post subject: |
|
|
Voici ma table de partition :
hda1 /boot ext2
hda2 swap
hda3 / reiserfs
hda5 /usr reiserfs
hda6 /var reiserfs
hdb2 /home reiserfs
hdb1 /home/www reiserfs
Merci pour l'aide !!! |
|
Back to top |
|
 |
Mac Cloud Apprentice


Joined: 27 Sep 2004 Posts: 214 Location: In a galaxy far far away...
|
Posted: Mon Oct 25, 2004 7:36 am Post subject: |
|
|
ce type d'erreur vient du fait que le stage 1 de grub ne peut pas charger le stage 1.5 de grub (rien avoir avec les stages de gentoo) peux tu nous dire ou est installé grub et comment (mbr ou pas ...) _________________ Vous prouver que j'ai raison serait admettre que je puisse avoir tort.
Beaumarchais |
|
Back to top |
|
 |
thomine n00b

Joined: 11 Oct 2003 Posts: 69
|
Posted: Mon Oct 25, 2004 7:45 am Post subject: |
|
|
La première fois j'avais installé GRUB automatiquement dans le MBR.
Ensuite j'ai essayé en le réinstallant en tapant GRUB et en suivant les recommandations du manuel GENTOO (je trouve d'ailleurs qu'il s'est beaucoup enrichi avec le temps).
J'ai fait emerge grub.
J'ai modifié mon fichier /boot/grub/grub.conf
J'ai tapé grub puis
root (hd0,0)
setup (hd0)
quit
Puis j'ai démonté mes disques, redémarrer et là, j'ai GRUB qui défile à l'infini sur mon écran.
MERCI !!! (c'est super de voir un forum aussi actif et vital pour la GENTOO) |
|
Back to top |
|
 |
lithium Apprentice


Joined: 03 Nov 2002 Posts: 208 Location: Lyon, France
|
Posted: Mon Oct 25, 2004 8:23 am Post subject: |
|
|
fait un liens dans /boot de cette façons : cd /boot; ln -s . boot |
|
Back to top |
|
 |
thomine n00b

Joined: 11 Oct 2003 Posts: 69
|
Posted: Mon Oct 25, 2004 8:35 am Post subject: |
|
|
Il me dit ln: 'boot/.' : cannot overwrite directory
J'ai fait un ls -l et j'ai déjà un lien boot qui pointe vers .
Que faire ???
Merci |
|
Back to top |
|
 |
jpwalker Guru


Joined: 12 Jul 2004 Posts: 503 Location: Annecy - 74 - France - In Tartiflette We Trust ;-)
|
Posted: Mon Oct 25, 2004 8:55 am Post subject: |
|
|
Ta partition est montée ? _________________ JPW@lker
Ride & Enjoy
 |
|
Back to top |
|
 |
thomine n00b

Joined: 11 Oct 2003 Posts: 69
|
Posted: Mon Oct 25, 2004 8:59 am Post subject: |
|
|
Là actuellement oui, ma partition est montée.
J'ai booté avec le cd et j'ai remonté uniquement
hda3 -> /
hda1 -> /boot
Je n'ai pas changé d'environnement avec chroot.
Je me suis placé dans boot (/mnt/gentoo/boot) et j'ai fait ln -s ...
Voilà. |
|
Back to top |
|
 |
Mac Cloud Apprentice


Joined: 27 Sep 2004 Posts: 214 Location: In a galaxy far far away...
|
Posted: Mon Oct 25, 2004 9:43 am Post subject: |
|
|
chez moi grub et deans /boot/boot/grub... avec le lien aussi...
si jamais ca demarre tjs pas je te conseille d'installer grub sur la partition /boot (pas la mbr quoi ...) et de faire un fdisk /mbr depuis une disquette de boot dos ou win (je sais mais c'est pour la bonne cause) chez moi ca a résolu ce problème (pas sur gentoo mais le meme problème) _________________ Vous prouver que j'ai raison serait admettre que je puisse avoir tort.
Beaumarchais |
|
Back to top |
|
 |
thomine n00b

Joined: 11 Oct 2003 Posts: 69
|
Posted: Mon Oct 25, 2004 10:32 am Post subject: |
|
|
CA MARCHE !!!
Alors déjà un grand merci à tout le monde et surtout à Mac Cloud pour avoir trouvé la solution.
Petit résumé :
J'ai installé ma GENTOO tout correctement avec GRUB et au démarrage, j'avais un "GRUB" qui arrêtait pas de défiler.
Solution, j'ai installé GRUB sur ma partition /boot
Code: |
grub
root (hd0,0)
setup [b](hd0,0)[/b]
quit
|
Ensuite j'ai booté avec un CD de Windows 2000, puis j'ai fait réparation d'une installation (R), console de récupération (C).
Je n'ai pas trouvé FDISK, mais il y avait FIXMBR.
J'ai donc lancé FIXMBR.
Ensuite reboot et au mirable, une belle invite GRUB avec une Gentoo qui marche !!!
Petit question subsidiaire :
Je voudrais avec 2 versions de noyau, style une qui marche, et une autre pour tester différents paramétrages de configuration (comme ça j'en ai toujours une qui marche).
Est - ce que la méthode de ce post de dh3rm3 est suffisant pour faire ça ?
https://forums.gentoo.org/viewtopic.php?t=116907
Quote: | Tout d'abord tu récupère ( emerge ) les sources du 2.6 ( tu choisis celles tu souhaites dans /usr/portage/sys-kernel
ensuite
supprime le lien symbolique vers les sources de ton ancien kernel
Code: | ln -s /usr/src/gentoo-dev-sources-2.6.0 /usr/src/linux | crée le lien vers les sources de ton nouveau noyau emergé
Code: |
cd /usr/src/linux
make menuconfig | pour configurer les options de ton kernel ( ce que tu obtiendrais avec genkernel --config )
Code: |
mkdir /sys
make bzImage modules modules_install | Compile ton kernel, les modules et les installe
Monte ta partition de boot si ce n'est pas fait au démarrage
Code: | mv /boot/bzImage /boot/bzImage.old | sauvegarde ton ancien kernel ( ici bzImage ou autre nom, celui présent dans ton boootloader )
Code: | cp /usr/src/linux-beta/arch/gentoo-dev-sources-2.6.0 /boot/bzImage /boot | Copie l'image de ton nouveau kernel
Voilà ..
Ensuite suivant ton bootloader, update le |
Encore merci à tous !!! |
|
Back to top |
|
 |
Trevoke Advocate


Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Mon Oct 25, 2004 1:59 pm Post subject: |
|
|
Tout ce que tu as a faire c'est mettre tous les kernels que tu veux dans ta partition de boot et a les ajouter a grub.conf ... _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
 |
|