Re-installation Vista : récupérer Grub

Résolu/Fermé
Moi998 Messages postés 2 Date d'inscription mercredi 19 novembre 2008 Statut Membre Dernière intervention 4 décembre 2008 - 19 nov. 2008 à 15:34
 Utilisateur anonyme - 19 nov. 2008 à 16:13
Bonjour,
J'aurai besoin de re-installer Vista, seulement pour avoir eux le problème la dernière fois, je sais que Grub n'apparaitra plus, que j'utilise pour lancer Ubuntu.
La dernière fois je m'était embêté à tout re-installer Linux, mais apparemment il y a d'autres solution.
Qui consiste à booter sur en Live CD d'ubtuntu, d'ouvrir un terminal et d'y écrire root (hd0,X) puis setup (hd0)

J'aimerai déjà avoir confirmation que c'est bien cela.

Et ensuite mon fichier actuel de grub étant :
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista
root (hd0,0)
savedefault
makeactive
chainloader +1


title Ubuntu 7.10, kernel 2.6.22-15-generic
root (hd0,3)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=c134522c-b546-4c46-8370-a0d47e3ed875 ro quiet splash
initrd /boot/initrd.img-2.6.22-15-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-15-generic (recovery mode)
root (hd0,3)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=c134522c-b546-4c46-8370-a0d47e3ed875 ro single
initrd /boot/initrd.img-2.6.22-15-generic

title Ubuntu 7.10, memtest86+
root (hd0,3)
kernel /boot/memtest86+.bin
quiet

Je doit mettre (hd0,0) ou (hd0,3) ?

Merci d'avance
A voir également:

1 réponse

Utilisateur anonyme
19 nov. 2008 à 16:13
salut :)

oui après réinstallation de vista tu boote sur le live cd d'ubuntu
et dans le terminal:

sudo grub --batch
find /boot/grub/stage1


qui va logiquement te répondre: (hd0,3)

donc:

root (hd0,3)
setup (hd0)
quit


et tu redémarres ;)


bonne chance
0