Pages : 1
#1 Le 07/02/2008, à 17:20
- Jokester
[résolu] Grub : Error 15 : File not found...
Bonjour à tous,
j'ai mis à jour mon ubuntu gutsy hier soir, et en le redémarrant ce matin, glups, pas moyen de le relancer, grub m'annonce : Error 15 : File not found...
Que je sélectionne le mode sans échec ou non.
Je vous joins un aperçu de mon grub, si jamais l'erreur venait de là ... La mise à jour a t-elle bien indiqué à mon grub qu'il y a un nouveau kernel, si c'est le cas ? Je ne sais pas trop comment cela fonctionne.
# 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 10
## 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=UUID=86c0177f-83b7-48d0-9507-01d67b427e08 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,7)
## 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 vga=792 resume=/dev/sda5 locale=fr_FR
## 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
## 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 7.10, kernel 2.6.22-14-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=86c0177f-83b7-48d0-9507-01d67b427e08 ro quiet splash vga=792 resume=/dev/sda5 locale=fr_FR
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,7)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=86c0177f-83b7-48d0-9507-01d67b427e08 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,7)
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
title Mandriva (on /dev/sda8)
root (hd0,7)
kernel /boot/vmlinuz BOOT_IMAGE=linux root=/dev/sda8 splash=silent vga=788
initrd (hd0,7)/boot/initrd.img
savedefault
boot
title Mandriva-nonfb (on /dev/sda8)
root (hd0,7)
kernel /boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/sda8
initrd (hd0,7)/boot/initrd.img
savedefault
boot
title failsafe (on /dev/sda8)
root (hd0,7)
kernel /boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/sda8 failsafe
initrd (hd0,7)/boot/initrd.img
savedefault
boot
title Windows XP
root (hd0,0)
savedefault
makeactive
chainloader +1
Merci beaucoup
Dernière modification par Jokester (Le 20/02/2008, à 21:35)
http://www.votrelecture.info
Hors ligne
#2 Le 07/02/2008, à 17:27
- slasher_fun
Re : [résolu] Grub : Error 15 : File not found...
Tu peux poster le résultat de "sudo fdisk -l" ?
Hors ligne
#3 Le 07/02/2008, à 18:26
- Compte anonymisé
Re : [résolu] Grub : Error 15 : File not found...
Salut
Il y a déjà une anomalie dans ton menu.lst.
Tu as 2 distributions sur /dev/sda8 : Ubuntu et Mandriva.
Il faut indiquer o๠sont installés Ubuntu et Mandriva.
Si tu ne sait pas :
Comme dit ci-dessus en LiveCd:
sudo fdisk -l
puis
sudo grub --> grub>
là tu tapes :
find /boot/grub/menu.lst
devrait te donner (hd0,x) et (hd0,7)
tu sors par
quit
C'est certainement sur (hd0,x) que se trouve ubuntu.
Tu édites ton menu.lst et dans la section :
## ## End Default Options ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,7)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=86c0177f-83b7-48d0-9507-01d67b427e08 ro quiet splash vga=792 resume=/dev/sda5 locale=fr_FR
initrd /boot/initrd.img-2.6.22-14-generic
quiet
tu remplaces le :
root (hd0,7) par
root (hd0,x) en remplaçant bien sûr x par la valeur obtenue ci-dessus.
Tu rebootes et si ça fonctionne, tu réédites ton menu.lst et tu remplaces la valeur :
# groot=(hd0,7) par
# groot=(hd0,x) (même remarque que ci-dessus pour x)
tu sauves et tu tapes la commande :
sudo update-grub
@+
Dernière modification par Compte anonymisé (Le 07/02/2008, à 18:28)
#4 Le 07/02/2008, à 20:43
- Jokester
Re : [résolu] Grub : Error 15 : File not found...
Un grand merci à vous deux, ce n'était pas bien compliqué, j'aurais du regarder le fichier plus en détails
Bonne soirée,
Jk.
http://www.votrelecture.info
Hors ligne
#5 Le 14/02/2008, à 11:42
- Thelwyn
Re : [résolu] Grub : Error 15 : File not found...
Hello!
Il semblerait que j'ai un problème similaire:
mise à jour hier et ce matin imposible de booter a cause de Error 15
J'ai essayé de suivre les consignes de ce fil.
Voila mon menu.lst:
# 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 change this entry to 'saved' 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 10
## 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=UUID=225d7e02-039d-4163-ad8a-22d82c53c5b1 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)
## 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
## 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 7.10, kernel 2.6.22-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=225d7e02-039d-4163-ad8a-22d82c53c5b1 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=225d7e02-039d-4163-ad8a-22d82c53c5b1 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.22-9-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-9-generic root=UUID=225d7e02-039d-4163-ad8a-22d82c53c5b1 ro quiet splash
initrd /boot/initrd.img-2.6.22-9-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-9-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-9-generic root=UUID=225d7e02-039d-4163-ad8a-22d82c53c5b1 ro single
initrd /boot/initrd.img-2.6.22-9-generic
title Ubuntu 7.10, kernel 2.6.20-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=225d7e02-039d-4163-ad8a-22d82c53c5b1 ro quiet splash
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=225d7e02-039d-4163-ad8a-22d82c53c5b1 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu 7.10, kernel 2.6.20-15-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=225d7e02-039d-4163-ad8a-22d82c53c5b1 ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-15-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=225d7e02-039d-4163-ad8a-22d82c53c5b1 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu 7.10, memtest86+
root (hd0,2)
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/sda2
title Microsoft Windows XP Professionnel
root (hd0,1)
savedefault
makeactive
chainloader +1
Mon problème c'est que Ubuntu est bien sur sda3 et Windows sur sa partoche
Donc a priori la manip decrite ici ne peut rien pour moi.
Une autre idée?
Hors ligne
#6 Le 14/02/2008, à 12:19
- Thelwyn
Re : [résolu] Grub : Error 15 : File not found...
Je viens me répondre à moi-meme
Apparemment la mise a jour avait du mal se passer car dans /boot je n'avais pas le fichier
initrd.img-2.6.22-14-generic
Juste
initrd.img-2.6.22-14-generic.bak
En gros il avait sauvegardé le fichier avant mise a jour mais pas créé le nouveau.
J'ai donc recréer le fichier à partir du .bak (simple copie en virant le .bak)
Et cela refonctionne.
Maintenant j'imagine qu'il va me reproposer de mettre à jour!
Hors ligne
#7 Le 14/02/2008, à 12:58
- sirius10
Re : [résolu] Grub : Error 15 : File not found...
Salut
Tu rebootes et si ça fonctionne, tu réédites ton menu.lst et tu remplaces la valeur :
# groot=(hd0,7) par
# groot=(hd0,x) (même remarque que ci-dessus pour x)
tu sauves et tu tapes la commande :
sudo update-grub@+
Une question me taraude !
Le groot il sert à quoi?? et pourquoi marche t il puisqu il est il commenté?
Merci
"Pour ce qui est de l'Avenir, il ne s’agit pas de le prévoir, mais de le rendre possible."
Antoine de Saint-Exupéry
Hors ligne
#8 Le 14/02/2008, à 13:05
- Thelwyn
Re : [résolu] Grub : Error 15 : File not found...
A mon avis pour commenter c'est ##
Dans cette partie du menu.lst # désigne une option
Concernant groot: c'est le "default grub root device" .. beuh au premier abord ça parait explicite mais j'avoue qu'ensuite je ne vois pas trop son effet...
Hors ligne
#9 Le 14/02/2008, à 13:07
- sirius10
Re : [résolu] Grub : Error 15 : File not found...
Je me pose la question car par ex dans mon source liste les fichiers commenté ne contiennent qu'un #
"Pour ce qui est de l'Avenir, il ne s’agit pas de le prévoir, mais de le rendre possible."
Antoine de Saint-Exupéry
Hors ligne
#10 Le 14/02/2008, à 13:10
- pipou24
Re : [résolu] Grub : Error 15 : File not found...
sirius, tu va devenir expert en grub ! tu devrais poser la question directement a ninja-rose
en fait, les elements en simple commentaire dans le fichier menu.lst sont importants, il servent lors des mises a jour de grub. groot lui indique ou trouver les fichiers ou sont censés se trouver les raccoucis vers les différents kernels.
a chaque ajout d'un noyau (voir a la fin de la doc grub) un script relance update-grub (en arrière plan) pour mettre a jour la liste des noyaux disponibles.
Non geek et fier de l'être. ㋡
Hors ligne
#11 Le 14/02/2008, à 14:34
- Compte anonymisé
Re : [résolu] Grub : Error 15 : File not found...
Une question me taraude !
Le groot il sert à quoi?? et pourquoi marche t il puisqu il est il commenté?
Merci
Salut
Le :
# groot=(......) est utilisé comme variable lors de l'exécution de la commande :
sudo update-grub
En fait toutes ces options permettent de constituer les lignes qui sont mises à jour de façon automatique en particulier lors des mises à jour du kernel pour prendre en compte les nouvelles versions.
C'est indiqué dans le menu.lst :
### 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
et les modifs sont prises en compte sur les lignes comprises entre :
## ## End Default Options ##
et
### END DEBIAN AUTOMAGIC KERNELS LIST
Voili voilou.
@+
#12 Le 14/02/2008, à 16:05
- sirius10
Re : [résolu] Grub : Error 15 : File not found...
sirius, tu va devenir expert en grub ! tu devrais poser la question directement a ninja-rose
le nin saf sif !: belg rose, je m'y perd parfois mais c'est sur qu entre lui et grub, ca marche bien!!
"Pour ce qui est de l'Avenir, il ne s’agit pas de le prévoir, mais de le rendre possible."
Antoine de Saint-Exupéry
Hors ligne
#13 Le 16/02/2008, à 19:07
- Jokester
Re : [résolu] Grub : Error 15 : File not found...
C'est quand même pas super instinctif d'utiliser des commentaires pour mettre des informations qui ne sont pas facultatives !!
Add : j'édite en résolu c'est ok
Dernière modification par Jokester (Le 20/02/2008, à 21:35)
http://www.votrelecture.info
Hors ligne
#14 Le 17/02/2008, à 13:46
- slasher_fun
Re : [résolu] Grub : Error 15 : File not found...
Commentaires = lignes non interprétées par GRUB. Et tous les codes sources de logiciels sont expliqués dans leurs... commentaires !
Hors ligne
#15 Le 20/02/2008, à 01:11
- pipou24
Re : [résolu] Grub : Error 15 : File not found...
Jokester : peut etre un petit résolu dans le titre ?
Non geek et fier de l'être. ㋡
Hors ligne
#16 Le 02/03/2008, à 22:49
- Ceddryk
Re : [résolu] Grub : Error 15 : File not found...
Bonsoir à tous... je rencontre le même soucis (Error 15 : File Not Found)
Sauf que j'ai installé Kubuntu pour la première fois ce week end et que je ne comprends rien du tout à ce que vous racontez quelqu'un pourrait il éclairer ma lanterne ?
Dernière modification par Ceddryk (Le 02/03/2008, à 22:50)
Hors ligne
#17 Le 02/03/2008, à 22:54
- le nin saf sif !: belg ro
Re : [résolu] Grub : Error 15 : File not found...
Bonsoir à tous... je rencontre le même soucis (Error 15 : File Not Found)
Sauf que j'ai installé Kubuntu pour la première fois ce week end et que je ne comprends rien du tout à ce que vous racontez quelqu'un pourrait il éclairer ma lanterne ?
c'est des malades ces gars, depuis que je les suis, je suis devenu chauve.
Ouvre un nouveau topique dans la rubrique lors de l'installation
et poste les retours de
sudo fdisk -l
#18 Le 25/10/2008, à 16:03
- sirius10
Re : [résolu] Grub : Error 15 : File not found...
Bonjour,
J'ai le meme soucis..la je suis sous une mandriva et mon ibex est sur une autre partition mais j'ai l erreur 15
mon menu lst
## ## End Default Options ##
title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 46a8c7a4-9b88-43bb-9b97-316dcebbed24
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=46a8c7a4-9b88-43bb-9b97-316dcebbed24 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 46a8c7a4-9b88-43bb-9b97-316dcebbed24
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=46a8c7a4-9b88-43bb-9b97-316dcebbed24 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 46a8c7a4-9b88-43bb-9b97-316dcebbed24
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
PAr contre fdisk-l ne marche pas sous mandriva mais ma ubuntu est sous hda2
Merci d avance
"Pour ce qui est de l'Avenir, il ne s’agit pas de le prévoir, mais de le rendre possible."
Antoine de Saint-Exupéry
Hors ligne
Pages : 1