Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/07/2009, à 16:25

PierreAlain

[RESOLU] Probleme ERROR 15 : file not found

Bonjour
Je débute sous ubuntu .... et vous demande votre indulgence
Depuis une mise à jour, le systeme refuse de démarrer apres affichage de STAGE 1.5 et des options, quelle que soit celle choisie, sauf la ligne windows qui est OK, et plante une "error 15"..
Depuis plusieurs jours je cherche comment réparer GRUB sans succès.J'ai fouillé les forums avant de poster ce message! J'ai trouvé Super Grub avec lequel je peux démarrer ma session. Je vous joins ci après fdisk et menu.lst :
Disque /dev/sda: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0x063872f1

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sda1               1         649     5213061   82  Linux swap / Solaris
/dev/sda2   *         650        6309    45463950    7  HPFS/NTFS
/dev/sda3           11949       19457    60316042+   5  Etendue
/dev/sda4            6310       11948    45295267+  83  Linux
/dev/sda5           11949       19457    60316011    7  HPFS/NTFS

Les entrées de la table de partitions ne sont pas dans l'ordre du disque
pierre@pierre:~$

___________________________________________________________________________________________

# 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        28

## 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=fcffeced-12a7-47f8-8122-17743f734517 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=fcffeced-12a7-47f8-8122-17743f734517

## 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 8.10, kernel 2.6.27-11-generic
uuid        fcffeced-12a7-47f8-8122-17743f734517
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=fcffeced-12a7-47f8-8122-17743f734517 ro quiet splash
initrd        /boot/initrd.img-2.6.27-11-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid        fcffeced-12a7-47f8-8122-17743f734517
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=fcffeced-12a7-47f8-8122-17743f734517 ro  single
initrd        /boot/initrd.img-2.6.27-11-generic

title        Ubuntu 8.10, kernel 2.6.27-7-generic
uuid        fcffeced-12a7-47f8-8122-17743f734517
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=fcffeced-12a7-47f8-8122-17743f734517 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        fcffeced-12a7-47f8-8122-17743f734517
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=fcffeced-12a7-47f8-8122-17743f734517 ro  single
initrd        /boot/initrd.img-2.6.27-7-generic

title        Ubuntu 8.10, memtest86+
uuid        fcffeced-12a7-47f8-8122-17743f734517
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 dition familiale
root        (hd0,1)
savedefault
makeactive
chainloader    +1
___________________________________________________________________________________________

Dans les test de Super Grub il me semble (est ce que j'interprete bien?) que j'ai Ubuntu 9.04 et que le menu veut lui charger Ubuntu 8.10
J'ai voulu changer la ligne  Kernel 2.6.27-11 en 2.6.28-11, que je vois dans le lancement avec SuperGrub, mais le systeme m'interdit cette modification  (pas de permiision ...)

Si vous avez une idée, je suis preneur et vous en remercie

Pierre

Dernière modification par PierreAlain (Le 14/07/2009, à 18:50)

Hors ligne

#2 Le 14/07/2009, à 16:32

Carroués

Re : [RESOLU] Probleme ERROR 15 : file not found

Bonsoir,

Peux tu poster le retour de

ls -l /boot

Hors ligne

#3 Le 14/07/2009, à 16:51

PierreAlain

Re : [RESOLU] Probleme ERROR 15 : file not found

merci pour cette réactivité !
ci dessous ls - l /boot
root@pierre:~# ls -l /boot
total 25832
-rw-r--r-- 1 root root  529118 2009-04-17 05:41 abi-2.6.28-11-generic
-rw-r--r-- 1 root root  528128 2009-06-30 23:56 abi-2.6.28-13-generic
-rw-r--r-- 1 root root   96795 2009-04-17 05:41 config-2.6.28-11-generic
-rw-r--r-- 1 root root   96768 2009-06-30 23:56 config-2.6.28-13-generic
drwxr-xr-x 3 root root    4096 2009-07-14 07:46 grub
-rw-r--r-- 1 root root 7538941 2009-05-08 16:29 initrd.img-2.6.28-11-generic
-rw-r--r-- 1 root root 7548801 2009-07-02 08:25 initrd.img-2.6.28-13-generic
-rw-r--r-- 1 root root  128796 2009-03-27 18:15 memtest86+.bin
-rw-r--r-- 1 root root 1456232 2009-04-17 05:41 System.map-2.6.28-11-generic
-rw-r--r-- 1 root root 1449810 2009-06-30 23:56 System.map-2.6.28-13-generic
-rw-r--r-- 1 root root    1074 2009-04-17 05:43 vmcoreinfo-2.6.28-11-generic
-rw-r--r-- 1 root root    1074 2009-06-30 23:58 vmcoreinfo-2.6.28-13-generic
-rw-r--r-- 1 root root 3501776 2009-04-17 05:41 vmlinuz-2.6.28-11-generic
-rw-r--r-- 1 root root 3488208 2009-06-30 23:56 vmlinuz-2.6.28-13-generic
root@pierre:~#

Hors ligne

#4 Le 14/07/2009, à 18:21

Carroués

Re : [RESOLU] Probleme ERROR 15 : file not found

Désolé, j'ai dû m'absenter une petite heure !

Donc, en effet, ton menu.lst pointe vers des versions qui ne sont plus là. Je crois que tu as dû faire une migration (mise à niveau) plutôt qu'une mise à jour et que Grub a été loupé à un moment donné.

Pas grave, il faut faire ceci :

sudo gedit /boot/grub/menu.lst

puis tu modifies ainsi :

## ## End Default Options ##

title		Ubuntu 9.04, kernel 2.6.28-13-generic
uuid        	fcffeced-12a7-47f8-8122-17743f734517
kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=fcffeced-12a7-47f8-8122-17743f734517 ro quiet splash 
initrd		/boot/initrd.img-2.6.28-13-generic
quiet

title		Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
uuid        	fcffeced-12a7-47f8-8122-17743f734517
kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=fcffeced-12a7-47f8-8122-17743f734517 ro  single
initrd		/boot/initrd.img-2.6.28-13-generic

title		Ubuntu 9.04, kernel 2.6.28-11-generic
uuid        	fcffeced-12a7-47f8-8122-17743f734517
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=fcffeced-12a7-47f8-8122-17743f734517 ro quiet splash
initrd		/boot/initrd.img-2.6.28-11-generic
quiet

title		Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid        	fcffeced-12a7-47f8-8122-17743f734517
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=fcffeced-12a7-47f8-8122-17743f734517 ro  single
initrd		/boot/initrd.img-2.6.28-11-generic

title        	Ubuntu 9.04, memtest86+
uuid        	fcffeced-12a7-47f8-8122-17743f734517
kernel        	/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

En principe copier-coller devrait suffire (tu supprimes les anciennes inscriptions).

Pour terminer

sudo update-grub

Edit : Zut, j'ai oublié que tu étais en live CD. Légère modification :

Il faut monter d'abord ta partition ubuntu qui est en sda4

sudo mount /dev/sda4 /mnt → on monte ta partition sur le point /mnt
sudo gedit /mnt/boot/grub/menu.lst → le fichier /boot/grub/menu.lst est rattaché à /mnt

Puis tu modifies & tu enregistres.

Dernière modification par carroues (Le 14/07/2009, à 18:35)

Hors ligne

#5 Le 14/07/2009, à 18:48

PierreAlain

Re : [RESOLU] Probleme ERROR 15 : file not found

bonsoir, un grand merci l'ami, je me voyais déjà tout formater (de vieux cauchemars windosiens sans doute)
je n'ai pas eu à remonter la partition car Super Grub lance le noyau du disque dur (il trouve bien d'ou il faut démarrer et le fait; dommage qu'il ne rectifie pas menu.lst directement !).
Je suis vraiment très heureux de vous avoir rejoint dans cette communauté Ubuntu.

Bien cordialement

Pierre

Hors ligne

#6 Le 14/07/2009, à 19:09

Carroués

Re : [RESOLU] Probleme ERROR 15 : file not found

Et la bienvenue à toi, Pierre, parmi nous ! wink

Pour info, je crois qu'à un moment donné de ta migration tu as dû mal répondre à une question du genre Est-ce qu'il faut modifier Grub ou conserver le fichier actuel. Je crois par ailleurs que la réponse par défaut est de conserver, alors qu'il aurait fallu accepter la modification. Ceci expliquerait bien cela !

Comme tu vois, une réparation d'Ubuntu est à la portée même d'un débutant : il suffit généralement de faire une petite recherche dans la doc, dans le forum ou poser une question puis patienter.

La réactivité du forum est dans l'ensemble excellente, néanmoins (évidemment) variable selon les heures et les jours.

Au plaisir. wink

Hors ligne