Pages : 1
#1 Le 05/02/2009, à 21:26
- marcsarfa
Dual Boot Mandriva / Ubuntu => Grub Erreur 21
Bonjour, je fais un dual boot Ubuntu Mandriva.
J'ai installé Mandriva sur mon disque dur interne et Ubuntu sur mon disque externe.
Lors du démarrage, avec grub, je peux booter sur Mandriva mais pas sur Ubuntu. J'ai donc modifié mon fichier menu.lst jusqu'à obtenir
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0
title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 resume=UUID=aba3d2c1-bf96-41e4-95ac-b029905f0aca splash=silent vga=788
initrd (hd0,0)/boot/initrd.img
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title linux (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz BOOT_IMAGE=linux root=UUID=d118ddbe-814c-4360-84f6-3c0b08f617d8 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img
savedefault
boot
title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 resume=UUID=aba3d2c1-bf96-41e4-95ac-b029905f0aca
initrd (hd0,0)/boot/initrd.img
title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 failsafe
initrd (hd0,0)/boot/initrd.img
title 2.6.27-desktoprc8-2mnb
kernel (hd0,0)/boot/vmlinuz-2.6.27-desktop-0.rc8.2mnb BOOT_IMAGE=2.6.27-desktoprc8-2mnb root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 resume=UUID=aba3d2c1-bf96-41e4-95ac-b029905f0aca splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.27-desktop-0.rc8.2mnb.img
title desktop 2.6.27.10-1mnb
kernel (hd0,0)/boot/vmlinuz-2.6.27.10-desktop-1mnb BOOT_IMAGE=desktop_2.6.27.10-1mnb root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 resume=UUID=aba3d2c1-bf96-41e4-95ac-b029905f0aca splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.27.10-desktop-1mnb.img
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title linux-nonfb (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=d118ddbe-814c-4360-84f6-3c0b08f617d8
initrd (hd0,0)/boot/initrd.img
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title failsafe (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=d118ddbe-814c-4360-84f6-3c0b08f617d8 failsafe
initrd (hd0,0)/boot/initrd.img
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title 2.6.27-desktoprc8-2mnb (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz-2.6.27-desktop-0.rc8.2mnb BOOT_IMAGE=2.6.27-desktoprc8-2mnb root=UUID=d118ddbe-814c-4360-84f6-3c0b08f617d8 splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.27-desktop-0.rc8.2mnb.img
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title desktop 2.6.27.10-1mnb (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz-2.6.27.10-desktop-1mnb BOOT_IMAGE=desktop_2.6.27.10-1mnb root=UUID=d118ddbe-814c-4360-84f6-3c0b08f617d8 splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.27.10-desktop-1mnb.img
savedefault
boot
Mais, quand je vais sur linux (on /dev/sdb1) grub m'affiche une erreur 21 ressemblant à
(hd1,0) does not exist
Voici ce que j'obtiens quand je fais fdisk -l dans ma console
[root@localhost ~]# fdisk -l
Disque /dev/sda: 40.0 Go, 40020664320 octets
16 heads, 63 sectors/track, 77545 cylinders
Units = cylindres of 1008 * 512 = 516096 bytes
Disk identifier: 0xd943d943
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 16253 8191480+ 83 Linux
/dev/sda2 16254 77545 30891137 5 Extended
/dev/sda5 16254 24379 4095472+ 82 Linux swap / Solaris
/dev/sda6 24380 77545 26795632+ 83 Linux
Disque /dev/sdb: 250.0 Go, 250059350016 octets
255 heads, 63 sectors/track, 30401 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004bc01
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 1 6527 52428096 7 HPFS/NTFS
/dev/sdb2 6528 30401 191767905 5 Extended
/dev/sdb5 6528 30024 188739621 83 Linux
/dev/sdb6 30025 30401 3028221 82 Linux swap / Solaris
Comment faire pour pouvoir boot sur Ubuntu ?
Merci d'avance.
Dernière modification par marcsarfa (Le 05/02/2009, à 21:30)
Intel(R) Pentium(R) 4 CPU 3.00GHz - 2048 Mo de RAM - Ubuntu 9.04
Hors ligne
#2 Le 05/02/2009, à 21:44
- denis_aec
Re : Dual Boot Mandriva / Ubuntu => Grub Erreur 21
Bizarre, bizarre ...
root (hd1,0)
kernel /boot/vmlinuz BOOT_IMAGE=linux root=UUID=d118ddbe-814c-4360-84f6-3c0b08f617d8 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img
Hors ligne
#3 Le 05/02/2009, à 21:52
- marcsarfa
Re : Dual Boot Mandriva / Ubuntu => Grub Erreur 21
ça, je l'ai copié collé du menu.lst de Ubuntu.
J'ai essayé de mettre /dev/sdb1 en 'active' au lieu de /dev/sda1, mais rien n'y fait...
Intel(R) Pentium(R) 4 CPU 3.00GHz - 2048 Mo de RAM - Ubuntu 9.04
Hors ligne
#4 Le 06/02/2009, à 09:46
- denis_aec
Re : Dual Boot Mandriva / Ubuntu => Grub Erreur 21
Essaie quand même de mettre hd1,0 pour les initrd d'Ubuntu ...
Hors ligne
#5 Le 06/02/2009, à 19:11
- marcsarfa
Re : Dual Boot Mandriva / Ubuntu => Grub Erreur 21
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0
title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 resume=UUID=aba3d2c1-bf96-41e4-95ac-b029905f0aca splash=silent vga=788
initrd (hd0,0)/boot/initrd.img
title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 resume=UUID=aba3d2c1-bf96-41e4-95ac-b029905f0aca
initrd (hd0,0)/boot/initrd.img
title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 failsafe
initrd (hd0,0)/boot/initrd.img
title 2.6.27-desktoprc8-2mnb
kernel (hd0,0)/boot/vmlinuz-2.6.27-desktop-0.rc8.2mnb BOOT_IMAGE=2.6.27-desktoprc8-2mnb root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 resume=UUID=aba3d2c1-bf96-41e4-95ac-b029905f0aca splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.27-desktop-0.rc8.2mnb.img
title desktop 2.6.27.10-1mnb
kernel (hd0,0)/boot/vmlinuz-2.6.27.10-desktop-1mnb BOOT_IMAGE=desktop_2.6.27.10-1mnb root=UUID=0d23ed46-e161-401e-919e-3ab9c6d45857 resume=UUID=aba3d2c1-bf96-41e4-95ac-b029905f0aca splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.27.10-desktop-1mnb.img
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title linux (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz BOOT_IMAGE=linux root=UUID=d118ddbe-814c-4360-84f6-3c0b08f617d8 splash=silent vga=788
initrd (hd1,0)/boot/initrd.img
savedefault
boot
ne marche pas non plus...
Intel(R) Pentium(R) 4 CPU 3.00GHz - 2048 Mo de RAM - Ubuntu 9.04
Hors ligne
#6 Le 06/02/2009, à 20:14
- denis_aec
Re : Dual Boot Mandriva / Ubuntu => Grub Erreur 21
J'ai comparé avec mon menu.lst et il semble que pour inird, le (hd1,0) soit en trop
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title linux (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz BOOT_IMAGE=linux root=UUID=d118ddbe-814c-4360-84f6-3c0b08f617d8 splash=silent vga=788
initrd /boot/initrd.img
savedefault
boot
Un p'tit essai ?
[Edit : de plus le "splash=silent" me semble bizarre, un "splash quiet" me semble plus correct]
Dernière modification par denis_aec (Le 06/02/2009, à 20:16)
Hors ligne
#7 Le 06/02/2009, à 20:28
- denis_aec
Re : Dual Boot Mandriva / Ubuntu => Grub Erreur 21
Il ya peut-être plus à modifier ... je te donne une partie de mon menu.lst :
title Ubuntu 8.04.1, kernel 2.6.24-21-generic (on /dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=f49f61e0-f305-4285-8850-6e30870d8a9a ro quiet splash locale=fr_FR vga=0x31b
initrd /boot/initrd.img-2.6.24-21-generic
savedefault
boot
mais d'où vient le grub ? mandrake, ubuntu ?
Avec Mandrake, si tu fais :
sudo update-grub
ça devrait réinitialiser le menu.lst avec les bonnes valeurs.
Hors ligne
#8 Le 06/02/2009, à 20:58
- Compte anonymisé
Re : Dual Boot Mandriva / Ubuntu => Grub Erreur 21
Salut
Si tu as installé ubuntu sur un DD externe, il faut booter sur ce DD externe via les options du bios.
Si lors de l'install de ton ubuntu, tu as bien installé grub sur le MBR de ce dd externe, ça devrait démarrer.
Sauf si ton PC ne peut booter sur DD usb. Dans ce cas il est nécessaire que les fichiers de boot (vmlinuz... et initrd...) soit sur une partition du DD interne.
@+
Pages : 1