#1 Le 16/09/2007, à 09:53
- adis
Restauration (reinstallation) de grub ??
Bonjour a tous,
avant d'exposer mon probleme je tenais juste a dire que depuis hier j'ai ecumé les tutos du forum et du net, et que je n'arrive toujours pas a restaurer mon grub...
bien, j'ai du reinstaller windows et evidemment plus de grub...
j'ai essayé les methodes avec le live cd Feisty, avec systemrescue cd, avec super grub disk mais je dois etre vraiment bourrin: je n'y arrive pas !!!
Ce matin j'ai accedé a ma partition ubuntu en tapant
disk2
au prompte de "SystemRescueCd" et a ma grande surprise cette commande ma emmené a mon grub, avec le choix entre ubuntu et windows, ce qui me conduit a penser que windows n'efface pas physiquement "grub".
alors voila, quelqu'un saurait il m'expliquer comment restaurer grub soit a partir d'ubuntu (puisque j'arrive a demarrer dessus grace a system rescu cd) soit a partir de tout autre methode, sachant que mon grub ressemble a ca:
## ## End Default Options ##
title Ubuntu, kernel 2.6.20-16-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=fb6220a2-7424-4c33-ba30-0b7f8d743981 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=fb6220a2-7424-4c33-ba30-0b7f8d743981 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu, kernel 2.6.20-15-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=fb6220a2-7424-4c33-ba30-0b7f8d743981 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=fb6220a2-7424-4c33-ba30-0b7f8d743981 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1
et mon fstab a ca:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hdb1
UUID=fb6220a2-7424-4c33-ba30-0b7f8d743981 / ext3 defaults,errors=remount-ro 0 1
# /dev/hdb3
UUID=84e8b220-e758-45a3-9565-a7b48b75e2fb /home ext3 defaults 0 2
# /dev/hdd1
UUID=1E24E2B024E28A5B /media/120Go ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/hda1
UUID=B274B31B74B2E171 /media/WinXp ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/hdb5
UUID=033a110e-b3b0-48b5-90bf-6ba0a6c359f7 none swap sw 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
Par avance merci...
Posez des questions. Pensez par vous même.
Réveillez vous, et vous ferez la différence....
http://zapp.free.fr
http://ubuntu-pour-tous.sfhost.net/
Hors ligne
#2 Le 16/09/2007, à 10:06
- anagramamitch
Re : Restauration (reinstallation) de grub ??
Salut,
Je pense avoir eu le même problème.
J'ai deux DD, l'un avec Windows et l'autre où j'avais mis ubuntu et kubuntu pour essayer. Quand j'ai oté kubutu, le grub était perdu.
Sachant que mon grub était sur le DD1 Win, j'ai mis en oeuvre la manip décrite dans le tuto http://doc.ubuntu-fr.org/grub à la section AVEC LE LICE CD et ça à marché.
Espérant qu'il en sera de même pour toi.......
Mitch
Hors ligne
#3 Le 16/09/2007, à 10:10
- adis
Re : Restauration (reinstallation) de grub ??
Merci pour ta prompte reponse, mais quand je tape la commande:
sudo grub-install hd0
j'obtiens un :
ewfzapp@ewfzapp-desktop:~$ sudo grub-install hd0
/dev/disk/by-uuid/../../hdb1 does not have any corresponding BIOS drive.
ca ne marche donc pas chez moi....
si quelqu'un avait une idee...
Posez des questions. Pensez par vous même.
Réveillez vous, et vous ferez la différence....
http://zapp.free.fr
http://ubuntu-pour-tous.sfhost.net/
Hors ligne