Error 13 GRUB -- help !

Résolu/Fermé
johndu87 Messages postés 126 Date d'inscription lundi 23 novembre 2009 Statut Membre Dernière intervention 31 mars 2012 - 30 déc. 2009 à 14:16
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 - 30 déc. 2009 à 16:45
Bonjour tous le monde,
j'aimerais installé un multiboot mandriva free one 2010-fedora12 et opensuse 11.2. J'ai installé mandriva en premier puis fedora en second mais pas encore open suse.
Apres les 2 premieres installations (mandriva et fedora donc) j'ai un probleme de Grub à savoir "error 13 invalid or unsupported executable format" j'ai cette erreur uniquement si je veux booté sur mandriva, le boot de fedora lui fonctionne.
J'ai fait un fdisk -l
Disque /dev/sda: 40.0 Go, 40020664320 octets
255 têtes, 63 secteurs/piste, 4865 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0xf18f4e28

Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 4865 39078081 5 Etendue
/dev/sda5 1 261 2096419+ 82 Linux swap / Solaris
/dev/sda6 262 1795 12321823+ 83 Linux
/dev/sda7 * 1796 3330 12329856 83 Linux
/dev/sda8 3331 4865 12329856 83 Linux

et j'ai aussi fait :

egrep -v '^(#-̣|$)' /boot/grub/menu.lst

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/sda7
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.5-127.fc12.i686)
root (hd0,6)
kernel /boot/vmlinuz-2.6.31.5-127.fc12.i686 ro root=UUID=3c885abd-2e57-4f79-b0fb-e9e70c59a631 noiswmd LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr rhgb quiet
initrd /boot/initramfs-2.6.31.5-127.fc12.i686.img
title mandriva
rootnoverify (hd0,5)
chainloader +1
J'ai fait ces 2 commandes depuis fedora et en suivant certaines reponses antérieurs du forum mais là je bloque car chaque cas est différent. Je suis novice sous linux alors je veux pas faire d'erreur "fatale".
Si quelqu'un peut m'aider ...
MERCI
A voir également:

4 réponses

jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 894
30 déc. 2009 à 15:05
Salut,

Je suppose que lors de l'installation de Mandriva tu as installé Grub sur le MBR et non sur la partition propre à Mandriva (sda6) ?

Si oui, alors c'est normal que ça ne boote pas dans la mesure où Fedora passe le relai à Mandriva :
title mandriva
rootnoverify (hd0,5)
chainloader +1

et s'attend donc à trouver un bootloader alors qu'il n'y en a pas ;-((

Monte ta partition Mandriva (sda6) depuis Fedora et cherche le fichier "/boot/grub/menu.lst" et affiches-nous le s'il te plaît, merci.
0
johndu87 Messages postés 126 Date d'inscription lundi 23 novembre 2009 Statut Membre Dernière intervention 31 mars 2012 6
30 déc. 2009 à 15:22
salut jipicy et merci pour ta réponse,

en fait je viens de resoudre le probleme en copiant des lignes du menu.lst de mandriva dans celui de fedora, au debut le menu.lst de fedora était celui ci dessous :

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/sda7
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.5-127.fc12.i686)
root (hd0,6)
kernel /boot/vmlinuz-2.6.31.5-127.fc12.i686 ro root=UUID=3c885abd-2e57-4f79-b0fb-e9e70c59a631 noiswmd LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr rhgb quiet
initrd /boot/initramfs-2.6.31.5-127.fc12.i686.img
title mandriva
rootnoverify (hd0,5)
chainloader +1

et maintenant c'est celui là :

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,6)
# kernel /boot/vmlinuz-version ro root=/dev/sda7
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.31.5-127.fc12.i686)
root (hd0,6)
kernel /boot/vmlinuz-2.6.31.5-127.fc12.i686 ro root=UUID=3c885abd-2e57-4f79-b0fb-e9e70c59a631 noiswmd LANG=fr_FR.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=fr rhgb quiet
initrd /boot/initramfs-2.6.31.5-127.fc12.i686.img
title linux-mandriva
kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=linux-mandriva root=UUID=55a350b3-81a7-41e6-9bbb-8c1f8e8ccdc1 resume=UUID=97c7719d-571e-4987-a69c-7c222d2125d6 splash=silent vga=788
initrd (hd0,5)/boot/initrd.img

cela à resolu mon probleme de boot car fedora et mandriva se lance corectement maintenant.

Par contre je vais procéder à l'installation de opensuse 11.2 maintenant, aurais tu des conseils sur la maniere dont je dois l'installer pour que le boot des 3 distributions fonctionne.

Merci
0
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 894
30 déc. 2009 à 15:36
Parfait, tu as anticipé ce que nous t'aurions dit de faire... ;-))

Le seul conseil que je puisse te donner, c'est juste avant de valider l'installation de grub d'OpenSUSE, de vérifier que tes autres systèmes sont bien reconnus...

Mais bon, comme tu l'as vu (et bien fait par toi même), ce n'est pas dramatique et les solutions existent...

Bonne continuation ;-)
0
johndu87 Messages postés 126 Date d'inscription lundi 23 novembre 2009 Statut Membre Dernière intervention 31 mars 2012 6
30 déc. 2009 à 15:40
ok et je te remercie pour ces conseils. J'ai vu dans les différentes questions concernant le GRUB et plus généralement linux que tu répondais souvent juste ... alors je suis content d'avoir eu ton avis.

Passe une bonne apres midi.
@+
0
johndu87 Messages postés 126 Date d'inscription lundi 23 novembre 2009 Statut Membre Dernière intervention 31 mars 2012 6
30 déc. 2009 à 16:28
j'ai installé opensuse 11.2 pour finir ... le grub d'opensuse à bien reconnu mes autres distributions donc tous les boot fonctionne.
Merci.
0
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 894
30 déc. 2009 à 16:45
Merci à toi pour le retour...

Bonnes fêtes de fin d'année.
0