Grub

Fermé
12345678910111213141516 - 3 oct. 2009 à 14:39
 12345678910111213141516 - 4 oct. 2009 à 20:19
Bonjour, je viens d'installer Kubuntu 9.10 en bêta.

Je possède 2 disques durs : le 1er (slave) sous windows et le 2eme (master) sous linux. Seulement, le Grub n'affiche pas mon windows mais windows est toujours présent sur son DD.
Comment faire pour que le Grub affiche windows ?

Merci beaucoup !

1 réponse

jeanbi Messages postés 15118 Date d'inscription samedi 9 décembre 2006 Statut Contributeur Dernière intervention 6 février 2023 2 177
3 oct. 2009 à 16:33
bonjour,
merci de donner la reponse au commande suivante en root
fdisk -l (L en minuscule)
cat /boot/grub/menu.lst
a+
0
12345678910111213141516
4 oct. 2009 à 20:19
@jeanbi :

Disque /dev/sda: 60.0 Go, 60040544256 octets
255 têtes, 63 secteurs/piste, 7299 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0xe3e2e3e2

Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 6995 56187306 83 Linux
/dev/sda2 6996 7299 2441880 5 Etendue
/dev/sda5 6996 7299 2441848+ 82 Linux swap / Solaris

Disque /dev/sdb: 80.0 Go, 80026361856 octets
255 têtes, 63 secteurs/piste, 9729 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0x91df91df

Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 1 7012 56323858+ 7 HPFS/NTFS


________________________________________________________________________________________



-Ensuite je n'ai pas le fichier "menu.lst" mais je crois que grub.cfg marche aussi je ne sais pas :
Je vous colle mon résultat avec cat /boot/grub/grub.cfg :

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
load_env
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 51b3549a-e0c8-42af-a077-f3f422961595
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-11-generic" {
recordfail=1
save_env recordfail
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 51b3549a-e0c8-42af-a077-f3f422961595
linux /boot/vmlinuz-2.6.31-11-generic root=UUID=51b3549a-e0c8-42af-a077-f3f422961595 ro quiet splash
initrd /boot/initrd.img-2.6.31-11-generic
}
menuentry "Ubuntu, Linux 2.6.31-11-generic (recovery mode)" {
recordfail=1
save_env recordfail
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 51b3549a-e0c8-42af-a077-f3f422961595
linux /boot/vmlinuz-2.6.31-11-generic root=UUID=51b3549a-e0c8-42af-a077-f3f422961595 ro single
initrd /boot/initrd.img-2.6.31-11-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###


________________________________________________________________________________________

Je vous remerci de m'aider !
0