#26 Le 12/11/2009, à 21:29
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Heuuu ben, c'est le même sauf qu'il a rajouté les anciens noyaux mais aucun changement, dsl mais j'ai la flemme de retourner sur le live l'enregistrer sur windows et le poster ^^
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#27 Le 12/11/2009, à 21:32
- it7
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Parce que l on peut le faire demarrer en changeant la valeur de :
default 0
le premier noyau est le 0 le second le 1 ainsi de suite
Dernière modification par it7 (Le 12/11/2009, à 21:33)
Hors ligne
#28 Le 12/11/2009, à 21:33
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Bon, ji vai et je revient ^^
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#29 Le 12/11/2009, à 21:52
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Alors, j'ai re supprimé le menu.lst et j'ai fait un update grub ( anoter l'erreur avec cela es probablement du a fstab non valide ) :
ubuntu@ubuntu:~$ sudo -s
root@ubuntu:~# mkdir -p /mnt/racine
root@ubuntu:~# mount /dev/sda2 /mnt/racine
root@ubuntu:~# chroot /mnt/racine
root@ubuntu:/# update-grub
Searching for GRUB installation directory ... found: /boot/grub
findfs: impossible de résoudre 'UUID=6965ece3-d0d9-4d79-a51d-20663e4169ad'
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ...
Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) y
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.31-14-generic
Found kernel: /boot/vmlinuz-2.6.28-16-generic
Found kernel: /boot/vmlinuz-2.6.28-11-generic
Found kernel: /boot/vmlinuz-2.6.24-16-generic
Found kernel: /boot/vmlinuz-2.6.22-14-generic
Found kernel: /boot/memtest86+.bin
sed: warning: failed to get security context of /tmp/filegtx2gf: Aucune donnée disponiblesed: warning: failed to get security context of /tmp/filenYRHce: Aucune donnée disponibleUpdating /boot/grub/menu.lst ... done
Ensuite, voila le menu.lst qui a été recréé (j'ai rajouté l'entrée windows) :
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda1 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 9.10, kernel 2.6.31-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
quiet
title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.31-14-generic root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.31-14-generic
title Ubuntu 9.10, kernel 2.6.28-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.28-16-generic root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.28-16-generic
quiet
title Ubuntu 9.10, kernel 2.6.28-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.28-16-generic root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.28-16-generic
title Ubuntu 9.10, kernel 2.6.28-11-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.10, kernel 2.6.28-11-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.10, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 9.10, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 9.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 9.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 9.10, memtest86+
root (hd0,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/sda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1
Si t'as quelque chose à me proposer ?
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#30 Le 12/11/2009, à 21:55
- fautpasycraindre
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Yop!
Je vous invite à voir le post que j'ai mis tut à l'heure (http://forum.ubuntu-fr.org/viewtopic.php?id=358044). En plus clair, c'est parce que sur Karmic, c'est grub 2 qui est implémenté !
Hors ligne
#31 Le 12/11/2009, à 21:55
- it7
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Qu est ce que donne :
uname -r
Hors ligne
#32 Le 12/11/2009, à 21:57
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Non, je suis bien sur grub 0.97, et non grub 2
Heu uname -r avec le live ca va pas donner grand chose ?
Dernière modification par kingzak (Le 12/11/2009, à 21:58)
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#33 Le 12/11/2009, à 22:00
- it7
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Sinon avec le nouveau menu.lst il devrait demarré sur le noyau qui marche c est a dire le premier qui correspond a default 0
title Ubuntu 9.10, kernel 2.6.31-14-generic
Hors ligne
#34 Le 12/11/2009, à 22:01
- fautpasycraindre
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Arf, désolé, lu un peu vite.. et si t'essaye d'implémenter grub 2 justement ?
Hors ligne
#35 Le 12/11/2009, à 22:02
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Mais le grub ne s'affiche pas, il fait loading stage 1.5 puis il démarre directement en shell grub.
Aucun choix d'OS ou quoi que se soit.
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#36 Le 12/11/2009, à 22:05
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Comment je peux l'implenter à partir du live ?
(j'avai pas vu ton post)
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#37 Le 12/11/2009, à 22:06
- it7
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Que donne le fstab ?
Hors ligne
#38 Le 12/11/2009, à 22:06
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Regarde un peu avant, je l'ai posté.
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#39 Le 12/11/2009, à 22:07
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Voila mon fstab :
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda2 UUID=6965ece3-d0d9-4d79-a51d-20663e4169ad / ext3 defaults,errors=remount-ro,relatime 0 1 # /dev/sda5 UUID=6dd58a5f-d1f9-416a-8057-bf3186ae7807 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
Si quelqu'un voit un problème.
Ou une solution
Si je supprime le menu.lst et que je refait update-grub avec ta methode ?
le voila
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#40 Le 12/11/2009, à 22:12
- it7
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
juste pour vérifier si l uuid a pas changer par rapport a fstab :
ls -l /dev/disk/by-uuid
Hors ligne
#41 Le 12/11/2009, à 22:13
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Ok, je vais essayer. Je reviens
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#42 Le 12/11/2009, à 22:25
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Voilà le resultat :
ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2009-11-12 22:15 4E8CA0338CA0180B -> ../../sda1
lrwxrwxrwx 1 root root 10 2009-11-12 22:15 6965ece3-d0d9-4d79-a51d-20663e4169ad -> ../../sda2
lrwxrwxrwx 1 root root 10 2009-11-12 22:15 6dd58a5f-d1f9-416a-8057-bf3186ae7807 -> ../../sda5
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#43 Le 12/11/2009, à 22:31
- it7
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
ca donne quoi :
grub
find /boot/grub/stage1
Hors ligne
#44 Le 12/11/2009, à 22:38
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
(hd0,1) soit sda2 soit linux (voir plus haut) vers le début du fofo
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#45 Le 12/11/2009, à 22:39
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
mais find /boot/grub/menu.lst
Error 15 : file not found
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#46 Le 12/11/2009, à 22:41
- it7
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
dans menu.lst il est fait mention :
title Ubuntu 9.10, kernel 2.6.31-14-generic
root (hd0,0)
Hors ligne
#47 Le 12/11/2009, à 22:48
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
En effet, merci de l'avoir regardé, je verrai cela demain, jespere que vous serez encore la demain soir car à mon avis c'est loin d'être fini mais enfin.
En tout cas merci beaucoup de vous pencher là dessus et à demain, bonne nuit !
Dernière modification par kingzak (Le 12/11/2009, à 22:48)
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne
#48 Le 12/11/2009, à 22:49
- fautpasycraindre
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Je vais paraitre répétitif, mais j'ai résolu mes problèmes de "Error 15 : file not found" (en ayant testé beaucoup de choses avant) en implémentant grub2.
sudo apt-get install grub-pc
puis mettre à jour
sudo grub-install --root-directory=/media/DisqueOùJ'aiMonBoot /dev/sda
(http://doc.ubuntu-fr.org/grub-pc#restaurer_grub-pc)
ou /media/DisqueOùJ'aiMonBoot fait à l'étape
http://doc.ubuntu-fr.org/tutoriel/comment_restaurer_grub#partition_non-reconnue
(s'arrêter avant la commande sudo chroot, car pas besoin d'être en chroot pour exécuter la commande précédente).
Hors ligne
#49 Le 13/11/2009, à 18:01
- it7
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
Bonjour, je ferais dans un terminal apres etre passé en superutilisateur les commandes suivantes :
grub
ensuite apres avoir eu grub>
root (hd0,1)
setup (hd0)
quit
je pense que ca devrait redemarrer
Dernière modification par it7 (Le 13/11/2009, à 18:03)
Hors ligne
#50 Le 13/11/2009, à 19:58
- kingzak
Re : [RESOLU] Démarrage Grub Impossible : Menu.lst introuvable
J'ai déjà essayé plusieur fois, aucun changement (voir mon premier Post), je vais faire un tour pour grub 2.
Homme : 3 || Machine : 3
Windows 7 | Ubuntu 12.04
ATI Mobility Radeon HD 7850 2Go
AMD Phenom IIx4 955BE OC - 12Go RAM DDR3
Hors ligne