#1 Le 03/11/2009, à 21:47
- Frédéric Stemmelin
[Résolu] Pb dual boot Fedora 11 apres installation de Karmic Koala
Je viens d'avoir ce problème, résolu grâce au forum Ubuntu anglais.
Situation de départ:
Windows 7 installé et fonctionnel
Fedora 11 installé et fonctionnel
Maintenant, nouvelle installation de Ubuntu 9.10, pas une MAJ, mais nouvelle installation.
Important: La fedora possède 3 partitions, dont une /boot, une / et enfin une swap.
C'est surtout le fait que la fedora 11 utilise une partition /boot séparée qui pose problème ici. C'était nécessaire car grub de F11 ne supportait pas ext4, d'où la partition /boot séparée.
Voici le message d'erreur au boot:
error: you need to load the kernel first
Il faut donc malheureusement modifier le fichier /boot/grub/grub.cfg à la main, comme suit:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set 54a86057a860399e
chainloader +1
}
menuentry "Fedora (2.6.30.9-90.fc11.x86_64) (on /dev/sdb2)" {
insmod ext2
set root=(hd1,2)
search --no-floppy --fs-uuid --set 97e45c7e-eed3-4da8-ae64-cba0fd777c9c
linux /vmlinuz-2.6.30.9-90.fc11.x86_64 ro root=UUID=f810b61f-f6c8-476a-8283-1860a8b67965 rhgb quiet
initrd /initrd-2.6.30.9-90.fc11.x86_64.img
}
Vous remarquerez que le UUID sur la ligne search n'est pas identique à celui de la ligne linux.
De plus, il fallait enlever le /boot/ sur la ligne linux mais aussi sur la ligne initrd.
/dev/sdb1 => /boot pour Fedora 11
/dev/sdb2 => / pour Fedora 11
/dev/sdb3 => swap pour Fedora 11
AVANT (ca ne fonctionnait pas):
search --no-floppy --fs-uuid --set f810b61f-f6c8-476a-8283-1860a8b67965
linux /boot/vmlinuz-2.6.30.9-90.fc11.x86_64 ro root=UUID=f810b61f-f6c8-476a-8283-1860a8b67965 rhgb quiet
initrd /boot/initrd-2.6.30.9-90.fc11.x86_64.img
MAINTENANT (ca fonctionne)
search --no-floppy --fs-uuid --set 97e45c7e-eed3-4da8-ae64-cba0fd777c9c
linux /vmlinuz-2.6.30.9-90.fc11.x86_64 ro root=UUID=f810b61f-f6c8-476a-8283-1860a8b67965 rhgb quiet
initrd /initrd-2.6.30.9-90.fc11.x86_64.img
Donc pour résumer:
search --no-floppy --fs-uuid --set f810b61f-f6c8-476a-8283-1860a8b67965
devient:
search --no-floppy --fs-uuid --set 97e45c7e-eed3-4da8-ae64-cba0fd777c9c
et:
linux /boot/vmlinuz-2.6.30.9-90.fc11.x86_64 ro root=UUID=f810b61f-f6c8-476a-8283-1860a8b67965 rhgb quiet
initrd /boot/initrd-2.6.30.9-90.fc11.x86_64.img
devient:
linux /vmlinuz-2.6.30.9-90.fc11.x86_64 ro root=UUID=f810b61f-f6c8-476a-8283-1860a8b67965 rhgb quiet
initrd /initrd-2.6.30.9-90.fc11.x86_64.img
Voici comment trouver le bon UUID pour la partition /boot (/dev/sdb1):
sudo blkid -c /dev/null
/dev/sdb1: UUID="97e45c7e-eed3-4da8-ae64-cba0fd777c9c" TYPE="ext2"
/dev/sdb2: LABEL="Fedora-11-x86_64" UUID="f810b61f-f6c8-476a-8283-1860a8b67965" TYPE="ext4"
/dev/sdb3: TYPE="swap" UUID="4f5815e5-e898-4841-b4d5-19ec4d4d24af"
Dernière modification par Frederic STEMMELIN (Le 03/11/2009, à 21:55)
Hors ligne
#2 Le 03/11/2009, à 23:00
- alilo
Re : [Résolu] Pb dual boot Fedora 11 apres installation de Karmic Koala
merci
Hors ligne