Salut,
Voici quelques commandes qui devraient ta faciliter la tâche…
(dans ta Debian bien sur…)
grub-install -v (quelle version de grub est installé ?)
fdisk -l (quels sont mes disques ?)
Voici la sortie chez moi :
[code]Disk /dev/sda: 750.2 GB, 750155292160 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x744bc8e4
Device Boot Start End Blocks Id System
/dev/sda1 1 1275 10241406 83 Linux
/dev/sda3 10084 91201 651580335 5 Extended
Etc.[/code]
Mon premier disque est donc /dev/sda !
Pour une réinstallation sur le MBR de mon premier disque (/dev/sda)
# grub-install --recheck /dev/sda
Installation finished. No error reported.
Tu peux finir en faisant un “# update-grub” afin qu’il reconstruise ton fichier /boot/grub/grub.cfg.
# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.33-1.slh.5-sidux-amd64
Found initrd image: /boot/initrd.img-2.6.33-1.slh.5-sidux-amd64
Found linux image: /boot/vmlinuz-2.6.33-1.slh.3-sidux-amd64
Found initrd image: /boot/initrd.img-2.6.33-1.slh.3-sidux-amd64
Found linux image: /boot/vmlinuz-2.6.33-1.slh.1-sidux-amd64
Found initrd image: /boot/initrd.img-2.6.33-1.slh.1-sidux-amd64
Found linux image: /boot/vmlinuz-2.6.33-0.slh.16-sidux-amd64
Found initrd image: /boot/initrd.img-2.6.33-0.slh.16-sidux-amd64
Found memtest86+ image: /boot/memtest86+_multiboot.bin
No volume groups found
Found Debian GNU/Linux (5.0.3) on /dev/sda1
Found Debian GNU/Linux (squeeze/sid) on /dev/sda10
Found Windows Vista (loader) on /dev/sdb1
done
Voilà. Grub2 est installé sur ton MBR, tu peux virer Ubuntu sans risque (attention quand même à ton fstab… vérifie que les partitions de Ubuntu n’y sont pas…)
Grub2 n’est pas plus méchant que Grub-legacy 