Pages : 1
#1 Le 25/05/2008, à 00:59
- loudness14
au secour , plus hardy après installation de gag/RÉSOLU
Bonjour
Je suis en dual boot avec hardy et XP tout marchait bien jusque je mette gag et là plus de hardy ! juste " grub>"
Je me suis penché sur le cas et ai suivi les tutos pour relancé grub
Mais rien n y fait
Voici quelques indications sur ma config ( je peux encore me connecter grace au live cd de hardy):
fdisk:
Disque /dev/sda: 200.0 Go, 200049647616 octets
255 heads, 63 sectors/track, 24321 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0xeba7eba7
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 1995 16024806 7 HPFS/NTFS
/dev/sda2 1996 23105 169566075 83 Linux
/dev/sda3 * 23106 24263 9301635 83 Linux
/dev/sda4 24264 24321 465885 5 Extended
/dev/sda5 24264 24321 465853+ 82 Linux swap / Solaris
Disque /dev/sdb: 160.0 Go, 160041885696 octets
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0xb732d2e4
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 1 19457 156288321 7 HPFS/NTFS
]
j ai retrouvé dans mon home mon grub.menu list grace au live cd et le voici :
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=f5aaa7d5-d126-4330-b46c-177573a3b0fc ro splash locale=fr_FR quiet reboot=b
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=f5aaa7d5-d126-4330-b46c-177573a3b0fc ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, kernel 2.6.22-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f5aaa7d5-d126-4330-b46c-177573a3b0fc ro splash locale=fr_FR quiet reboot=b
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 8.04, kernel 2.6.22-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f5aaa7d5-d126-4330-b46c-177573a3b0fc ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 8.04, kernel 2.6.20-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f5aaa7d5-d126-4330-b46c-177573a3b0fc ro splash locale=fr_FR quiet reboot=b
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.20-16-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=f5aaa7d5-d126-4330-b46c-177573a3b0fc ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu 8.04, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
quiet
title Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1
### END DEBIAN AUTOMAGIC KERNELS LIST
voila je coince vraiment alors un peu d aide serait vraiment sympa
Dernière modification par loudness14 (Le 25/05/2008, à 13:02)
Hors ligne
#2 Le 25/05/2008, à 02:00
- Titouan
Re : au secour , plus hardy après installation de gag/RÉSOLU
GAG est un super-chargeur qui appelle un des autres chargeurs, qui a son tour, appelle l' OS demandé.
Autrement dit, pour utiliser GAG par la suite, il faut que tu fasses remonter le grub sur la racine de Ubuntu.
De même, si tu installes un autre OS par la suite, il faut faire la même chose: le chargeur est remonté sur la racine.
sudo grub
grub> find /boot/grub/stage1
grub> root (hdx,y)
grub> setup (hdx,y)
#3 Le 25/05/2008, à 02:00
- UgM
Re : au secour , plus hardy après installation de gag/RÉSOLU
Hors ligne
#4 Le 25/05/2008, à 08:30
- loudness14
Re : au secour , plus hardy après installation de gag/RÉSOLU
je l'ai fait au moins 20 fois:
sudo grub
grub> find /grub/stage1 ( le find /boot/grub/stage1 ne fonctionne pas )
Là il me donne hd0,1
donc:
grub> root (hd0,1)
grub> setup (hd0,1)
Tout est ok mais quand je reboot j' ai droit à " grub>" :(on dirait que grub est vide...)
et pourquoi il n'accepte pas "find /boot/grub/stage1", ne serait-ce pas à cause d un autre probleme?
Hors ligne
#5 Le 25/05/2008, à 08:35
- loudness14
Re : au secour , plus hardy après installation de gag/RÉSOLU
je viens de voir qu'il y a une incohérence entre mon :
"find/grub/stage1" qui me donne HD0 1
et
mon menu list qui me donne HD0,2 !!! (pour la partition de ubuntu 8.04)
qu'elle est donc la marche à suivre:
changer mon menu.list?
Dernière modification par loudness14 (Le 25/05/2008, à 08:36)
Hors ligne
#6 Le 25/05/2008, à 10:34
- loudness14
Re : au secour , plus hardy après installation de gag/RÉSOLU
bon j' ai éssayé de ré-installer grub sur ma partition ubuntu en suivant le tuto indiqué par toi UGM et voici ce que cela donne en console :
ubuntu@ubuntu:~$ sudo mount /dev/sda3 /boot/
ubuntu@ubuntu:~$ sudo /sbin/grub-install /dev/sda
You shouldn't call /sbin/grub-install. Please call /usr/sbin/grub-install instead!
Probing devices to guess BIOS drives. This may take a long time.
Searching for GRUB installation directory ... found: /boot/grub
Due to a bug in xfs_freeze, the following command might produce a segmentation
fault when /boot/grub is not in an XFS filesystem. This error is harmless and
can be ignored.
xfs_freeze: specified file ["/boot/grub"] is not on an XFS filesystem
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
ubuntu@ubuntu:~$
Qu'en pensez vous
Hors ligne
#7 Le 25/05/2008, à 10:37
- loudness14
Re : au secour , plus hardy après installation de gag/RÉSOLU
voici le résultat de grub> geometry (hd0)
grub> geometry (hd0)
drive 0x80: C/H/S = 24321/255/63, The number of sectors = 390721968, /dev/sda
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 1, Filesystem type is ext2fs, partition type 0x83
Partition num: 2, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type unknown, partition type 0x82
grub>
si ça peut aider
Hors ligne
#8 Le 25/05/2008, à 11:24
- Titouan
Re : au secour , plus hardy après installation de gag/RÉSOLU
Aucun rapport la geometry ....
Si tu veux rétablir le grub, tu suis la méthode ... grub> setup (hdx)
Si tu veux établir le Gag, tu suis la méthode ... grub> setup (hdx,y)
Evidemment, il faut installer GAG.
#9 Le 25/05/2008, à 11:50
- loudness14
Re : au secour , plus hardy après installation de gag/RÉSOLU
bon plein le dos
je réinstalle hardy
merci de votre aide
Je vous tiens au courant
Hors ligne
#10 Le 25/05/2008, à 13:01
- loudness14
Re : au secour , plus hardy après installation de gag/RÉSOLU
OK Génial
Ça marche.
J'ai quand même du ré-installer 2 fois !!
Car à chaque fois que je veux installer GAG quand je boot sur ubuntu je tombe sur "GRUB>" !!!
PLUS DE GRUB!!!
J en conclu donc qu'il y a une incomptabilité entre hardy et GAG ??!
Y a t il une autre interface graphique pour le démarrage ?
En tous cas merci à vous de m'avoir aidé
Hors ligne
#11 Le 02/07/2008, à 15:13
- Henri68
Re : au secour , plus hardy après installation de gag/RÉSOLU
A mon avis ton démarrage s'effectue sur le mauvais disque dur (voir dans le bios)
Si tu changes l'ordre de démarrage, cela devrait résoudre ton problème
Je navigue, je surfe, bon en ce moment je rame (Anne Roumanoff)
Hors ligne