#1 Le 11/03/2007, à 12:15
- swoosh
Probleme avec grub, "no such partition" a la selection au multiboot
Bonjour à tous,
J'ai récemment installer ubuntu sur mon pc sachant qu'il y a windows xp sur une autre partition. Malheureusement, lors de l'installation, j'ai dis a grub de s'installer sur hd0, ce qui apparament n'est pas le bon choix. En effet, lors du redemarrage après l'installation, je n'ais pas eu de choix et windows s'est demarré tout seul.
J'ai alors entrepris de modifier grub manuellement, j'ai alors eu un menu au demarrage, mais lors du choix de ubuntu j'ai une erreur qui me renvoie : no such partition (si mes souvenirs sont bon).
J'ai un disque dur sata et un ide, sur la premier partition du sata (sda1) j'ai xp et sur la 3eme (sda3) ubuntu.
Voici mon fichier menu.lst de grub :
## ## End Default Options ##
title Ubuntu, kernel 2.6.17-10-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda3 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/sda3 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86+
root (hd1,2)
kernel /boot/memtest86+.bin
quiet
boot
### 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/hda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professionnel
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
-------------------------------------------------------------------------------------------------------------------------------------------------------
Et voici le resultat d'un fdisk -l:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5130 41206693+ 7 HPFS/NTFS
/dev/sda2 5131 38145 265192987+ f W95 Ext'd (LBA)
/dev/sda3 38146 38786 5148832+ 83 Linux
/dev/sda4 38787 38913 1020127+ 82 Linux swap / Solaris
/dev/sda5 5131 36872 254967583+ 7 HPFS/NTFS
/dev/sda6 36873 38145 10225341 83 Linux
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 14946 120053713+ 7 HPFS/NTFS
Voila, j'espère qu'avec ces informations quelqu'un pourra me dire ce que je dois faire pour que ca fonctionne.
Merci
Swoosh
#2 Le 11/03/2007, à 12:16
- swoosh
Re : Probleme avec grub, "no such partition" a la selection au multiboot
Je crois que je me suis trompé de section, jsuis dsl !!! :P