[résolu]plus de double boot

Je viens de terminer l’installation de ma testing.
Problème, le double boot avec xp a disparu !
Je suis avec grub.

je ne connais pas de moyens de faire détecter automatiquement à grub un OS présent sur un autre partition, ou un autre disque.

Que te renvoi la commande :
sudo fdisk -l

A partir de ca, on devrait pouvoir identifier ou se trouve ton installation XP (disque et partition) et recréer l’entrée qui te permettra d’amorcer sur ton xp depuis grub.

j’ai lancé gparted pour d’autres raisons.
xp est sur /dev/hda1.
Pour les drapeaux, le boot est sur /dev/hda3 (linux).
Je te renvoie un fdisk -l dès que sous linux.

fdisk -l

Disk /dev/hda: 80.1 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb380b380

Device Boot Start End Blocks Id System
/dev/hda1 1 2550 20482843+ 7 HPFS/NTFS
/dev/hda2 2551 3825 10241437+ 7 HPFS/NTFS
/dev/hda3 * 3826 4676 6835657+ 83 Linux
/dev/hda4 4677 9733 40620352+ 5 Extended
/dev/hda5 4677 4892 1734988+ 82 Linux swap / Solaris
/dev/hda6 4893 9733 38885301 83 Linux

heu…! dans la testing, le fichier de configuration de grub(menu.lst) n’est pas dans /etc/boot/grub ?
Parceque si oui, eh bien je ne l’ai pas !

ah…je crois avoir trouvé : grub2 ! donc exit le menu.lst

voici mon fichier de configuration de grub2

gedit /boot/grub/grub.cfg

BEGIN /etc/grub.d/00_header

set default=0
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 31ef480f-ca8f-47d4-81bf-5f9f8be7d5d3
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
set timeout=5

END /etc/grub.d/00_header

BEGIN /etc/grub.d/05_debian_theme

insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 31ef480f-ca8f-47d4-81bf-5f9f8be7d5d3
insmod png
if background_image /usr/share/images/desktop-base/moreblue-orbit-grub.png ; then
set color_normal=black/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi

END /etc/grub.d/05_debian_theme

BEGIN /etc/grub.d/10_linux

menuentry “Debian GNU/Linux, Linux 2.6.30-2-686” {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 31ef480f-ca8f-47d4-81bf-5f9f8be7d5d3
linux /boot/vmlinuz-2.6.30-2-686 root=UUID=31ef480f-ca8f-47d4-81bf-5f9f8be7d5d3 ro quiet
initrd /boot/initrd.img-2.6.30-2-686
}
menuentry “Debian GNU/Linux, Linux 2.6.30-2-686 (recovery mode)” {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 31ef480f-ca8f-47d4-81bf-5f9f8be7d5d3
linux /boot/vmlinuz-2.6.30-2-686 root=UUID=31ef480f-ca8f-47d4-81bf-5f9f8be7d5d3 ro single
initrd /boot/initrd.img-2.6.30-2-686
}

END /etc/grub.d/10_linux

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

Ben je ne vois rien sur xp !!

Au fait, je ne peux pas non plus utiliser super grub car il ne reconnaît pas grub 2 je crois !?

aie…
Je ne connais pas du tout grub2 :confused:
Ca ne doit pas être vraiment différent, mais bon, je veux pas jouer au petit chimiste avec ton PC, je ne pourrais que supposer des choses que je n’ai pu moi même tester :neutral_face:

Bon, je viens de passer une heure sur la doc de grub2 et…pour un os qui n’apparaît pas il faut faire un : update-grub. Cela relance une détection des os présents sur le pc. Pour moi çà a suffit. Mon xp est dans le choix de grub.
Bonne nuit à tous.