Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 01/11/2010, à 17:21

lucid_dino

Grub2 : J'ai perdu ma partition windows dans mon menu grub

Bonjour,
J'ai perdu ma partition windows dans mon menu GRUB2.
J'ai fait sudo update-grub afinde regenerer grub.cfg et je n'ai toujours pas mon option windows.
Quelqu'un peut m'éclairer ?

Voici le resultat de sudo fdisk -l

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sda1   *           1        3188    25607578+   7  HPFS/NTFS
/dev/sda2            3189        6642    27744224+   f  W95 Etendue (LBA)                                                                                             
/dev/sda3            6643        9729    24796327+  83  Linux                                                                                                         
/dev/sda5            3189        5070    15112472+   7  HPFS/NTFS                                                                                                     
/dev/sda6            6504        6642     1116486   82  Linux swap / Solaris                                                                                         
/dev/sda7            5070        6437    10978304   83  Linux
/dev/sda8            6437        6503      535552   82  Linux swap / Solaris

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sdb1               3        4688     7804992    b  W95 FAT32


Voici mon fichier 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 $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
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
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
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/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, avec Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
    linux    /boot/vmlinuz-2.6.32-25-generic root=UUID=9bce6d7d-6e58-4398-b7be-ccf0ed0451ac ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-25-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
    echo    'Chargement de Linux 2.6.32-25-generic ...'
    linux    /boot/vmlinuz-2.6.32-25-generic root=UUID=9bce6d7d-6e58-4398-b7be-ccf0ed0451ac ro single
    echo    'Chargement du disque mémoire initial...'
    initrd    /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
    linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=9bce6d7d-6e58-4398-b7be-ccf0ed0451ac ro   quiet splash
    initrd    /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-24-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
    echo    'Chargement de Linux 2.6.32-24-generic ...'
    linux    /boot/vmlinuz-2.6.32-24-generic root=UUID=9bce6d7d-6e58-4398-b7be-ccf0ed0451ac ro single
    echo    'Chargement du disque mémoire initial...'
    initrd    /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,7)'
    search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, kernel 2.6.20-16-generic (on /dev/sda3)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
    linux /boot/vmlinuz-2.6.20-16-generic root=UUID=d9eb7995-d340-42fe-aca3-c7194a04059e ro quiet splash
    initrd /boot/initrd.img-2.6.20-16-generic
}
menuentry "Ubuntu, kernel 2.6.20-16-generic (recovery mode) (on /dev/sda3)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
    linux /boot/vmlinuz-2.6.20-16-generic root=UUID=d9eb7995-d340-42fe-aca3-c7194a04059e ro single
    initrd /boot/initrd.img-2.6.20-16-generic
}
menuentry "Ubuntu, kernel 2.6.20-15-generic (on /dev/sda3)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
    linux /boot/vmlinuz-2.6.20-15-generic root=UUID=d9eb7995-d340-42fe-aca3-c7194a04059e ro quiet splash
    initrd /boot/initrd.img-2.6.20-15-generic
}
menuentry "Ubuntu, kernel 2.6.20-15-generic (recovery mode) (on /dev/sda3)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
    linux /boot/vmlinuz-2.6.20-15-generic root=UUID=d9eb7995-d340-42fe-aca3-c7194a04059e ro single
    initrd /boot/initrd.img-2.6.20-15-generic
}
menuentry "Ubuntu, memtest86+ (on /dev/sda3)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
    linux /boot/memtest86+.bin
}
### 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 ###



Merci à l'avance,

Hors ligne

#2 Le 01/11/2010, à 17:29

sinbad83

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Salut,
tu recommences mais en lançant d'abord os-prober (à installer auparavant sans doute):

sudo os-prober
sudo update-grub

Tu vérifies ce que cela donne avec

sudo grub-mkconfig

La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#3 Le 01/11/2010, à 18:45

lucid_dino

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Salut et merci de ta réponse,
Par contre, ca ne fonctionne pas.
J'ai 2 linux, j'ai 10.04 et 7.04.
J'ai réinstallé linux il y a quelque temps car j'avais trop de bug dans 7.04.
Lorsque je fait sudo os-prober, ca me dit :

/dev/sda3:Ubuntu 7.04 (7.04):Ubuntu:linux

Il fait mention de mon ancien linux.
Par contre, lorsque je sélectionne linux 10.04 dans mon menu grub, il m'est pas la suite possible de trouver le fichier
/etc/grub.d/30_os-prober

Est-ce que tout ca te dit quelque chose?
Est-ce que quelqu'un saurait comment je peux retrouver ma partition windows sans que je ne modifie le fichier grub.cfg.
Sinon, est-ce que quelqu'un sait comment modifier grub.cfg ?

Merci

Hors ligne

#4 Le 01/11/2010, à 19:04

sinbad83

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Quand on lance la commande os-prober, on voit défiler les différents OS trouvés, à l'exception de l'OS courant qui est déjà connu de Linux. Un peu pareil qu'avec update-grub où l'OS courant n'apparaît que sous la forme:

Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic

Il n'y a rien à sélectionner dans grub.cfg auquel on ne touche en aucun cas, il est généré automatiquement au boot.
La dernière commande grub-mkconfig permet de voir par anticipation ce que sera le grub.cfg.
Tu vois Windows apparaître quelque part ?

Pour plus de détail, regarde la doc sur http://doc.ubuntu-fr.org/grub-pc


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#5 Le 01/11/2010, à 19:54

lucid_dino

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Salut,
Aucune trace de windows dans ce qui est généré à la suite de sudo grub-mkconfig.
Je n'ai pas beaucoup de connaissances linux, mais il faut bien débuter quelque part.
Est-ce que quelqu'un saurait comment je pourrais retrouver ma partition windows dans mon menu grub ?
sinbad83, aurais tu une suggestion ?
Merci à l'avance


#
# 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 $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
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
insmod ext2
set root='(hd0,7)'
search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
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/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
menuentry 'Ubuntu, avec Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
        linux   /boot/vmlinuz-2.6.32-25-generic root=UUID=9bce6d7d-6e58-4398-b7be-ccf0ed0451ac ro   quiet splash
        initrd  /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-25-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
        echo    'Chargement de Linux 2.6.32-25-generic ...'
        linux   /boot/vmlinuz-2.6.32-25-generic root=UUID=9bce6d7d-6e58-4398-b7be-ccf0ed0451ac ro single
        echo    'Chargement du disque mémoire initial...'
        initrd  /boot/initrd.img-2.6.32-25-generic
}
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
menuentry 'Ubuntu, avec Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
        linux   /boot/vmlinuz-2.6.32-24-generic root=UUID=9bce6d7d-6e58-4398-b7be-ccf0ed0451ac ro   quiet splash
        initrd  /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-24-generic (mode de récupération)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
        echo    'Chargement de Linux 2.6.32-24-generic ...'
        linux   /boot/vmlinuz-2.6.32-24-generic root=UUID=9bce6d7d-6e58-4398-b7be-ccf0ed0451ac ro single
        echo    'Chargement du disque mémoire initial...'
        initrd  /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
Found memtest86+ image: /boot/memtest86+.bin
menuentry "Memory test (memtest86+)" {
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
        linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set 9bce6d7d-6e58-4398-b7be-ccf0ed0451ac
        linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
Found Ubuntu 7.04 (7.04) on /dev/sda3
menuentry "Ubuntu, kernel 2.6.20-16-generic (on /dev/sda3)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
        linux /boot/vmlinuz-2.6.20-16-generic root=UUID=d9eb7995-d340-42fe-aca3-c7194a04059e ro quiet splash
        initrd /boot/initrd.img-2.6.20-16-generic
}
menuentry "Ubuntu, kernel 2.6.20-16-generic (recovery mode) (on /dev/sda3)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
        linux /boot/vmlinuz-2.6.20-16-generic root=UUID=d9eb7995-d340-42fe-aca3-c7194a04059e ro single
        initrd /boot/initrd.img-2.6.20-16-generic
}
menuentry "Ubuntu, kernel 2.6.20-15-generic (on /dev/sda3)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
        linux /boot/vmlinuz-2.6.20-15-generic root=UUID=d9eb7995-d340-42fe-aca3-c7194a04059e ro quiet splash
        initrd /boot/initrd.img-2.6.20-15-generic
}
menuentry "Ubuntu, kernel 2.6.20-15-generic (recovery mode) (on /dev/sda3)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
        linux /boot/vmlinuz-2.6.20-15-generic root=UUID=d9eb7995-d340-42fe-aca3-c7194a04059e ro single
        initrd /boot/initrd.img-2.6.20-15-generic
}
menuentry "Ubuntu, memtest86+ (on /dev/sda3)" {
        insmod ext2
        set root='(hd0,3)'
        search --no-floppy --fs-uuid --set d9eb7995-d340-42fe-aca3-c7194a04059e
        linux /boot/memtest86+.bin
}
### 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 ###
done

Hors ligne

#6 Le 01/11/2010, à 20:01

sinbad83

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Ton Windows devrait être dans la partie ### BEGIN /etc/grub.d/30_os-prober ###, mais on ne le voit pas. Le problème est donc côté Windows. Mais, là, je connais moins... Cherche du côté win.ini et system.ini. Ce n'est pas du tout ma partie.

Dernière modification par sinbad83 (Le 01/11/2010, à 20:07)


La connaissance n'est pas une denrée rare, il faut la partager avec les autres.
Linux registered #484707
Site: www.coursinforev.org/doku.php
Desktop AMD Ryzen 5-3600, RAM 16GB, Ubuntu 20.10,   HP Pavillon G6 Ubuntu 20.10 et Ten, Serveur Ubuntu 18.04

Hors ligne

#7 Le 01/11/2010, à 20:20

Compte anonymisé

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Salut

Ou est installé ton Xp (/dev/sda1 je suppose)
Peux-tu monter cette partition et en lister le contenu :
sudo  umount   /dev/sda1
sudo  mount  /dev/sda1   /mnt
sudo  ls  -l  /mnt

ainsi que le contenu de boot.ini si présent :
sudo  cat  /mnt/boot.ini

@+

#8 Le 01/11/2010, à 21:24

lucid_dino

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Bonjour jeanjd63,
Voici les affichages:

total 3145
-rwxrwxrwx 1 root root       0 2007-05-25 10:40 AUTOEXEC.BAT
drwxrwxrwx 1 root root       0 2010-05-13 09:22 $AVG
-rwxrwxrwx 2 root root    7804 2010-07-29 15:44 biocyc_pao1.pl
drwxrwxrwx 1 root root       0 2007-10-02 08:46 BJPrinter
drwxrwxrwx 1 root root    4096 2010-09-22 14:42 clcworkbench
-rwxrwxrwx 2 root root    1887 2010-07-04 14:20 comparaison.pl
drwxrwxrwx 1 root root    4096 2010-10-05 16:01 compound
-rwxrwxrwx 2 root root    3307 2010-07-05 12:56 compte-rendu.pl
drwxrwxrwx 1 root root    4096 2010-10-13 20:14 Config.Msi
-rwxrwxrwx 1 root root      81 2008-09-15 14:34 CTX.DAT
drwxrwxrwx 1 root root    4096 2007-09-19 18:25 Documents and Settings
-rwxrwxrwx 2 root root    3256 2010-07-14 14:05 lesb58_kegg.pl
drwxrwxrwx 1 root root    4096 2010-04-23 09:45 LiberT
drwxrwxrwx 1 root root       0 2007-06-04 13:39 MSOCache
drwxrwxrwx 1 root root       0 2010-09-21 09:57 NCBI
drwxrwxrwx 1 root root    8192 2010-09-30 12:32 Orthologues_pae
drwxrwxrwx 1 root root   16384 2010-07-09 15:04 pag
drwxrwxrwx 1 root root    4096 2010-01-14 14:20 perl                                                                               
drwxrwxrwx 1 root root    4096 2010-08-10 15:01 POG
drwxrwxrwx 1 root root   24576 2010-10-07 15:06 Program Files
drwxrwxrwx 1 root root       0 2008-07-29 20:22 QUARANTINE
drwxrwxrwx 1 root root    4096 2010-08-23 10:19 RBH
drwxrwxrwx 1 root root       0 2007-10-02 08:55 RECYCLER
drwxrwxrwx 1 root root       0 2010-08-20 16:41 S
-rwxrwxrwx 2 root root 2898030 2010-07-04 11:08 sequences-1.seq
drwxrwxrwx 1 root root    4096 2007-09-19 18:24 System Volume Information
drwxrwxrwx 1 root root    4096 2010-08-21 17:21 Transport
drwxrwxrwx 1 root root    4096 2007-06-04 14:50 watcom-1.3
drwxrwxrwx 1 root root  204800 2010-10-14 22:12 WINDOWS

cat: /mnt/boot.ini: Aucun fichier ou dossier de ce type

Je ne trouve pas le fichier boot.ini , est-ce anormal ?
Y a til un autre endroit ou ce fichier pourrait etre?
Merci,

Hors ligne

#9 Le 01/11/2010, à 22:15

Compte anonymisé

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Tu peux explorer de la même façon /dev/sda5, mais j'ai peur que tu ais écrasé ta partition de boot Xp.
Il manque en effet les fichiers de boot Xp :
boot.ini
ntdetect.com
NTLDR

@+

#10 Le 01/11/2010, à 23:43

lucid_dino

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

ok, c'est plate.
Merci pour les infos.
Comment on peut écraser une partition xp ?
Est-ce possible de réparer ca?

Hors ligne

#11 Le 01/11/2010, à 23:54

Compte anonymisé

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Comment en es-tu arrivé là "mystère et bubulgommes"

Pour réparer tu peux toujours tenter de récupérer depuis le cd Xp les fichiers ntdetect.com et ntldr avec la commande expand
Tu peux aussi récupérer le fichier bootfont.bin
Et pour boot.ini en voici un qui devrait ponctionner :

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professionnel" /noexecute=optin /fastdetect

@+

Dernière modification par Compte anonymisé (Le 01/11/2010, à 23:56)

#12 Le 02/11/2010, à 03:50

lucid_dino

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Re-salut Jeanjd63,
Sur mon PC, j'ai mon C:/ qui contient les programmes de windows (partition sda1 ntfs) et mon D:/ (sda2 etendue) qui contient mes données sur windows (partition sda5) ainsi que linux (sda7) et linuxswap(sda8).
Dans Kubuntu 10.04, mon D:/ donnees était accessible via Dolphin (gestionnaire de fichiers), je voyais mes fichiers windows.  J'ai utilisé un logiciel qui devait générer un grand volume (trop grand volume) de données et j'ai envoyé ces données sur cette partition a partir de linux.  Mes données généné ont semblé écraser ma partition windows.

... Je ne comprends pas comment ca peut arriver car j'avais l'espace mémoire disponible, et aucun fichier généré n'avait le meme nom que les fichiers présents dans ma partition windows.  Je sais pas si ca te dit quelque chose...C'est soit ce scénario qui est arrivé ou bien un update kubuntu qui a mal tourné.  Je pense que c'est le scénario 1.  J'avais ma bibliotheque itunes sur windows et ca me fait de la peine de penser que je l'aie perdu...

Je vais dormir la dessus et y revenir demain matin,
Parfois la nuit porte conseil,
Merci pour les conseils, je vais tenter le coup avec mes cd de windows 2007.

Hors ligne

#13 Le 02/11/2010, à 07:58

Compte anonymisé

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

lucid_dino a écrit :

Re-salut Jeanjd63,
............
Je vais dormir la dessus et y revenir demain matin,
Parfois la nuit porte conseil,
Merci pour les conseils, je vais tenter le coup avec mes cd de windows 2007.


Si c'est Xp qui est installé il faut utiliser le cd XP windows 2007 quesaco ?

#14 Le 02/11/2010, à 15:57

lucid_dino

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Parfait, merci!!

Hors ligne

#15 Le 02/11/2010, à 17:57

Compte anonymisé

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Et alors ça a fonctionné ?

#16 Le 20/11/2010, à 00:13

lucid_dino

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Re-salut jeanjd63,
J'ai windows 2003, et 4 cd d'installation.
Je n'ai pas de cd quesaco.
Connais tu le disque qu'il faut utiliser pour récupérer mes fichiers ?
Comment utiliser la commande expand pour récupérer ces fichiers sur mes cd?
Merci a l'avance,

Hors ligne

#17 Le 20/11/2010, à 00:23

Compte anonymisé

Re : Grub2 : J'ai perdu ma partition windows dans mon menu grub

Si c'est Xp qui est installé il faut utiliser le cd XP windows 2007 quesaco

Quesaco  -->  qu'est ce que c'est que ce CD Xp windows 2007 connais pas tongue

Vois plutôt sur les forum Windows pour trouver une soluce.

@+