View previous topic :: View next topic |
Author |
Message |
Nah Tux's lil' helper


Joined: 01 May 2006 Posts: 107 Location: Lille,France
|
Posted: Fri Jul 06, 2007 2:49 pm Post subject: [Installation] Probleme avec Grub ~ Resolu |
|
|
Bonjour,
je suis en train de terminer un installation de Gentoo, mais grub pose probleme. Lorsque je lance la commande pour qu'il s'installe sur le mbr, j'obtient cette erreur:
Code: | Could not find device for /boot: Not found or not a block device. |
Voici mon grub.conf:
Code: | default 0
timeout 30
title=Gentoo Linux 2.6.20-r8
root (hd0,0)
kernel /boot/kernel-2.6.20-r8 root=/dev/sda1 quiet vga=0x31B video=vesafb:mtrr:3,ywrap |
Je n'ai pas fait de partition separe pour /boot, c,a viendrai de l`a ??
Merci d'avance pour votre aide ! 
Last edited by Nah on Fri Jul 06, 2007 10:49 pm; edited 1 time in total |
|
Back to top |
|
 |
Ezka Guru


Joined: 17 Feb 2005 Posts: 352 Location: par là, mais vraiment ...
|
Posted: Fri Jul 06, 2007 3:51 pm Post subject: |
|
|
Vérifie que ta partition soit bootable, et qu'il existe bien /boot.
Lorsque tu installes grub tu tappes quoi exactement ?
EDIT : je viens de re-trouver ça : Résolution des erreurs de GRUB sous Gentoo _________________ Ez. |
|
Back to top |
|
 |
ghoti Advocate


Joined: 30 Dec 2002 Posts: 3636 Location: Belgium
|
Posted: Fri Jul 06, 2007 4:05 pm Post subject: |
|
|
Ezka wrote: | Vérifie que ta partition soit bootable |
Sous Linux, ce flag n'a strictement aucune importance.
Il est destiné à winchose et à chépukelautreos |
|
Back to top |
|
 |
Nah Tux's lil' helper


Joined: 01 May 2006 Posts: 107 Location: Lille,France
|
Posted: Fri Jul 06, 2007 4:10 pm Post subject: |
|
|
Je suis tout simplement le handbook amd64, j'execute donc ses commandes :
Code: | emerge grub
nano -w /boot/grub/grub.conf
grep -v rootfs /proc/mounts > /etc/mtab
grub-install --no-floppy /dev/hda |
J'ai regarder aussi du coté du lien que tu as poster, en fesant un :
Code: | cp /proc/mounts /etc/mtab | ça ma fait une autre erreur (que je n'ai pas noter ), là ça compile, qd ce sera fini, je vais essayer de faire l'installation manuel. |
|
Back to top |
|
 |
ghoti Advocate


Joined: 30 Dec 2002 Posts: 3636 Location: Belgium
|
Posted: Fri Jul 06, 2007 4:16 pm Post subject: |
|
|
Nah wrote: | grub-install --no-floppy /dev/hda |
Ce ne serait pas plutôt /dev/sda ? |
|
Back to top |
|
 |
acolin n00b

Joined: 16 Feb 2006 Posts: 42 Location: Presles - Belgique
|
Posted: Fri Jul 06, 2007 5:55 pm Post subject: |
|
|
A quoi ressemble ton /boot/grub/device.map ? |
|
Back to top |
|
 |
bivittatus l33t


Joined: 31 Jan 2006 Posts: 687 Location: Roissy-en-Brie (France)
|
Posted: Fri Jul 06, 2007 8:23 pm Post subject: |
|
|
ghoti wrote: | Nah wrote: | grub-install --no-floppy /dev/hda |
Ce ne serait pas plutôt /dev/sda ? |
+1 le root est déclaré en /dev/sda1 dans le grub.conf!
Code: | kernel /boot/kernel-2.6.20-r8 root=/dev/sda1 quiet vga=0x31B video=vesafb:mtrr:3,ywrap |
_________________ Linus TORVALDS: "Je ne suis pas là pour détruire Microsoft. Ce sera juste un effet secondaire tout à fait involontaire." |
|
Back to top |
|
 |
Nah Tux's lil' helper


Joined: 01 May 2006 Posts: 107 Location: Lille,France
|
Posted: Fri Jul 06, 2007 10:47 pm Post subject: |
|
|
Nope, j'ai oublier de changer lors du copier/coller du guide.
J'ai essayer tout ce que j'ai trouver mais en vain, je suis donc passer par l'installation est la pas de probleme !? |
|
Back to top |
|
 |
|