- Accueil
- » Forum
- » Archives
- » Problème Grub2
Pages : 1
#1 Le 05/10/2009, à 14:07
- lock
Problème Grub2
Bonjour à tous. J'ai tenté l'installation de Grub 2 en suivant la doc.
Le problème est maintenant que mon ordi ne boot plus : Error 15
Quelqu'un aurait t'il une idée ??? Je me sens assez bête la je ne peux plus utilisé mon ordi. J'ai acces a mes fichiers grace a un live cd....
Merci d'avance
Dell Precision 5520
Intel© Xeon© CPU E3-1505M v6 @ 3.00GHz × 4
Intel Corporation HD Graphics P630
Hors ligne
#2 Le 05/10/2009, à 14:18
- Epehj
Re : Problème Grub2
Salut,
C'est que ton grub pointe sur le mauvais noyau.
Jettes un oeil là, ça pourra t'aider : http://www.gentoo.org/doc/fr/grub-error-guide.xml#doc_chap4
En gros, vérifie bien que ton grub.conf fait référence au bon noyau, avec le bon chemin
Linux user #447629 - Ubuntu user # 21770
C'est en sciant que Léonard devint scie
Hors ligne
#3 Le 05/10/2009, à 15:35
- lock
Re : Problème Grub2
J'ai lu pleisn de truc mais je n'arrive pas a résoudre mon problème.
De plus je n'arrive meme pas a faire de chroot (en suivant scrupuleusement la doc, il me dit qu'il ne peut pas executer '/bin/bash' (ou un truc du genre))....
Je pose a tout hasard mon menu.lst ...
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 2
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=4a3bc5c5-9696-4f40-b664-477af35f5a95 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=4a3bc5c5-9696-4f40-b664-477af35f5a95
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Chainload into GRUB 2
uuid 4a3bc5c5-9696-4f40-b664-477af35f5a95
kernel /boot/grub/core.img
title ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
root
title When you have verified GRUB 2 works, you can use this command to
root
title complete the upgrade: upgrade-from-grub-legacy
root
title ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
root
title Ubuntu karmic (development branch), kernel 2.6.31-11-generic
uuid 4a3bc5c5-9696-4f40-b664-477af35f5a95
kernel /boot/vmlinuz-2.6.31-11-generic root=UUID=4a3bc5c5-9696-4f40-b664-477af35f5a95 ro quiet splash
initrd /boot/initrd.img-2.6.31-11-generic
quiet
title Ubuntu karmic (development branch), kernel 2.6.31-11-generic (recovery mode)
uuid 4a3bc5c5-9696-4f40-b664-477af35f5a95
kernel /boot/vmlinuz-2.6.31-11-generic root=UUID=4a3bc5c5-9696-4f40-b664-477af35f5a95 ro single
initrd /boot/initrd.img-2.6.31-11-generic
title Ubuntu karmic (development branch), kernel 2.6.28-15-generic
uuid 4a3bc5c5-9696-4f40-b664-477af35f5a95
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=4a3bc5c5-9696-4f40-b664-477af35f5a95 ro quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet
title Ubuntu karmic (development branch), kernel 2.6.28-15-generic (recovery mode)
uuid 4a3bc5c5-9696-4f40-b664-477af35f5a95
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=4a3bc5c5-9696-4f40-b664-477af35f5a95 ro single
initrd /boot/initrd.img-2.6.28-15-generic
title Ubuntu karmic (development branch), memtest86+
uuid 4a3bc5c5-9696-4f40-b664-477af35f5a95
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda3
title Windows Vista (loader)
rootnoverify (hd0,2)
savedefault
makeactive
chainloader +1
Dell Precision 5520
Intel© Xeon© CPU E3-1505M v6 @ 3.00GHz × 4
Intel Corporation HD Graphics P630
Hors ligne
#4 Le 05/10/2009, à 15:40
- Compte anonymisé
Re : Problème Grub2
Remplace root=UUID=4a3bc5c5-9696-4f40-b664-477af35f5a95
par root=/dev/sda?
ou sda? est la partition du linux que tu veux booter.
#5 Le 05/10/2009, à 15:46
- lock
Re : Problème Grub2
Le problème reste inchangé.
Dell Precision 5520
Intel© Xeon© CPU E3-1505M v6 @ 3.00GHz × 4
Intel Corporation HD Graphics P630
Hors ligne
#6 Le 05/10/2009, à 15:51
- Compte anonymisé
Re : Problème Grub2
/boot/vmlinuz-2.6.31-11-generic existe-t-il bien ?
+ tu dois encore avoir /boot/grub/menu.lst du grub legacy.
Peux-tu le montrer ?
Dernière modification par Compte anonymisé (Le 05/10/2009, à 15:55)
#7 Le 05/10/2009, à 16:01
- lock
Re : Problème Grub2
Oui le noyau existe bien. Et dans mes diverses manipulations et a cause d'un énervement grandissant je ne met plus la main sur le menu.lst du grub-legacy ....
Je suis un peu a bout de nerfs la
Merci en tout cas de votre aide.
Dell Precision 5520
Intel© Xeon© CPU E3-1505M v6 @ 3.00GHz × 4
Intel Corporation HD Graphics P630
Hors ligne
#8 Le 05/10/2009, à 16:03
- Compte anonymisé
Re : Problème Grub2
"je ne mets plus la main sur le menu.lst du grub-legacy ...."
Il n'est pas question de mettre la main, mais de lister le contenu avec la commande cat (comme le chat).
#9 Le 05/10/2009, à 16:06
- lock
Re : Problème Grub2
Oui oui mais j'entendais par la que le fichier doit se trouver au fin fond du néan du plus rien du tout.
En gros je l'ai plus...
EDIT : je sais, j'ai merdé ....
Dernière modification par lock (Le 05/10/2009, à 16:07)
Dell Precision 5520
Intel© Xeon© CPU E3-1505M v6 @ 3.00GHz × 4
Intel Corporation HD Graphics P630
Hors ligne
#10 Le 05/10/2009, à 17:35
- lock
Re : Problème Grub2
Bon j'ai enfin réussi a faire un chroot.
J'ai supprimer le package grub-pc. (grub2). Puis le grub pour le réinstaller. Cependant j'ai toujours la même erreur....
Dell Precision 5520
Intel© Xeon© CPU E3-1505M v6 @ 3.00GHz × 4
Intel Corporation HD Graphics P630
Hors ligne
#11 Le 06/10/2009, à 00:04
- Epehj
Re : Problème Grub2
Bah moi je serais toi je referais un menu.lst
Linux user #447629 - Ubuntu user # 21770
C'est en sciant que Léonard devint scie
Hors ligne
#12 Le 06/10/2009, à 10:02
- lock
Re : Problème Grub2
Bonjour.
J'ai craqué. Après 5h à lire des documents sur Grub, j'ai décidé de tout réinstaller ....
Je pense que le Grub2, ca sera pour une autre fois
Merci beaucoup
Dell Precision 5520
Intel© Xeon© CPU E3-1505M v6 @ 3.00GHz × 4
Intel Corporation HD Graphics P630
Hors ligne
#13 Le 10/10/2009, à 20:33
- frombenny
Re : Problème Grub2
Dommage d'abandonner comme ça car grub2 / grub-pc a un grand nombre de nouveautés intéressantes comme :
* le boot d'un iso depuis grub
* le boot d'une clé de même
* un affichage graphique,...
Je préfère l'appeler grub-pc car un numéro de version peut faire croire que les fondements restent les mêmes alors qu'il faut oublier une grande partie de ce qu'on faisait sous grub 0.9x / grub-legacy.
Le logiciel a été réécrit de zéro. Les scripts ont changés et un certain nombre de noms de commande aussi.
J'ai commencé une page pour partager ma modeste expérience : http://doc.ubuntu-fr.org/utilisateurs/frombenny/grub-pc
Aimant bien configurer manuellement grub, je n'avais pas trouvé avant une doc permettant de le faire simplement sur grub2/grub-pc.
Hors ligne
#14 Le 11/10/2009, à 01:33
- AlexandreP
Re : Problème Grub2
Je préfère l'appeler grub-pc car un numéro de version peut faire croire que les fondements restent les mêmes alors qu'il faut oublier une grande partie de ce qu'on faisait sous grub 0.9x / grub-legacy.
Le projet semble bien s'appeler GRUB 2, si l'on se fie au site officiel. grub-pc est simplement le nom du paquet contenant GRUB 2 pour les plateformes de type IBM-PC et compatibles. D'autres paquets, comme grub-efi et grub-coreboot, permettent d'installer GRUB 2 pour d'autres types d'ordinateurs.
«La capacité d'apprendre est un don; La faculté d'apprendre est un talent; La volonté d'apprendre est un choix.» -Frank Herbert
93,8% des gens sont capables d'inventer des statistiques sans fournir d'études à l'appui.
Hors ligne
#15 Le 14/10/2009, à 11:28
- lock
Re : Problème Grub2
Dommage d'abandonner comme ça car grub2 / grub-pc a un grand nombre de nouveautés intéressantes comme :
* le boot d'un iso depuis grub
* le boot d'une clé de même
* un affichage graphique,....
Ben j'ai quand même un peu peur ..... Ca m'avait tout foutu en l'air alors que j'ai suivi scrupuleusement la doc !!!!!
Dell Precision 5520
Intel© Xeon© CPU E3-1505M v6 @ 3.00GHz × 4
Intel Corporation HD Graphics P630
Hors ligne
Pages : 1