Grub ne retrouve plus windows

Fermé
Sherwood51 Messages postés 4 Date d'inscription samedi 12 décembre 2009 Statut Membre Dernière intervention 16 février 2010 - 16 févr. 2010 à 08:40
Sherwood51 Messages postés 4 Date d'inscription samedi 12 décembre 2009 Statut Membre Dernière intervention 16 février 2010 - 16 févr. 2010 à 22:02
Bonjour à tous,

voilà, la situation est la suivante:
je viens d'installer Archlinux en multiboot avec Ubuntu 9.10 et Windows 7.
Après installation, je démarre sur Ubuntu et j'ouvre mon terminal et je lance un petit
Code:

sudo update-grub

en espérant qu'il me trouve Archlinux. Alors, en effet, il me trouve bien Archlinux mais maintenant il ne me trouve plus ma console de jeux (winwin) qui esst pourtant toujours présent parce que je vois la partition et je peux la monter et y accéder.
Voilà mon fdisk -l pour vous donner une idée de la chose:
 Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa8f109f9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13        6540    52429126    7  HPFS/NTFS
/dev/sda3            6541       13067    52428127+   7  HPFS/NTFS
/dev/sda4           13068       38913   207607995    5  Extended
/dev/sda5           13068       14372    10482381   83  Linux
/dev/sda6           15679       38645   184482396   83  Linux
/dev/sda7           38646       38913     2152678+  82  Linux swap / Solaris
/dev/sda8           14373       14380       64228+  83  Linux
/dev/sda9           14381       15678    10426153+  83  Linux

Partition table entries are not in disk order


et mon device.map me ressort bien ce qu'il faut:
(hd0)    /dev/sda
(hd1)    /dev/sdb


Et voici enfin mon 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 ###
if [ -s /boot/grub/grubenv ]; then
  have_grubenv=true
  load_env
fi
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,5)
search --no-floppy --fs-uuid --set e7ceeccd-cb77-451d-b2a2-2c941d737063
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-19-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    set quiet=1
    insmod ext2
    set root=(hd0,5)
    search --no-floppy --fs-uuid --set e7ceeccd-cb77-451d-b2a2-2c941d737063
    linux    /boot/vmlinuz-2.6.31-19-generic root=UUID=e7ceeccd-cb77-451d-b2a2-2c941d737063 ro splash quiet  quiet splash
    initrd    /boot/initrd.img-2.6.31-19-generic
}
menuentry "Ubuntu, Linux 2.6.31-19-generic (recovery mode)" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    insmod ext2
    set root=(hd0,5)
    search --no-floppy --fs-uuid --set e7ceeccd-cb77-451d-b2a2-2c941d737063
    linux    /boot/vmlinuz-2.6.31-19-generic root=UUID=e7ceeccd-cb77-451d-b2a2-2c941d737063 ro single splash quiet
    initrd    /boot/initrd.img-2.6.31-19-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 ###
menuentry "Arch Linux /boot/vmlinuz26 (on /dev/sda9)" {
    insmod ext2
    set root=(hd0,8)
    search --no-floppy --fs-uuid --set 4f993143-3236-44b2-a6d5-d752e16678d2
    linux /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
}
### 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 ###


Si quelqu'un a une idée merveilleuse qui me permettrait de récupérer tout ça, je lui en serais très reconnaissant!

merci d'avance


A voir également:

2 réponses

Grub a changé sur les dernières versions de Ubuntu.

Il faut voir du coté de os-prober :
http://doc.ubuntu-fr.org/...

Cordialement,
0
Sherwood51 Messages postés 4 Date d'inscription samedi 12 décembre 2009 Statut Membre Dernière intervention 16 février 2010
16 févr. 2010 à 22:02
Merci à toi.
Malheureusement, même os-prober ne me trouve pas windows... :(
0