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 07/10/2007, à 19:26

hannyo

[résolu] Error 15 au démarrage

Bonjour,

Je suis en double boot XP et Ubuntu 6.10. Malheureusement, je n'arrive plus à booter sur ubuntu. Juste après le menu du grub, j'ai un message d'erreur:

Error 15 : File not found
Press any key to continue

Ensuite, cela me renvoie au menu. Seul le boot sur XP fonctionne.

En démarrant sur le live-cd, le fdisk donne:




Disque /dev/hda: 251.0 Go, 251000193024 octets
255 têtes, 63 secteurs/piste, 30515 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/hda1   *           1        1912    15358108+   7  HPFS/NTFS
/dev/hda2            1913       30514   229745565    f  W95 Etendu (LBA)
/dev/hda5            4463        7012    20482843+   b  W95 FAT32
/dev/hda6            1913        2039     1020064+  82  Linux swap / Solaris
/dev/hda7            2040        3197     9301603+  83  Linux
/dev/hda8            3198        4462    10161081   83  Linux
/dev/hda9            7013       30514   188779783+   7  HPFS/NTFS

Les entrées de la table de partitions ne sont pas dans l'ordre du disque

Disque /dev/sda: 262 Mo, 262144000 octets
16 têtes, 32 secteurs/piste, 1000 cylindres
Unités = cylindres de 512 * 512 = 262144 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1        1000      255983+   b  W95 FAT32
Partition 1 a des fins différentes physique/logique:
     phys=(998, 15, 32) logique=(999, 15, 31)
ubuntu@ubuntu:~$


Merci d'avance pour votre aide.

Dernière modification par hannyo (Le 08/10/2007, à 19:05)

Hors ligne

#2 Le 07/10/2007, à 20:34

belga

Re : [résolu] Error 15 au démarrage

il faudrait démarrer en live (si hda7 est /)

sudo mount -o rw /dev/hda7 /mnt

puis poste les retours de

cat /mnt/boot/grub/menu.lst
cat /mnt/etc/fstab
ls -l /dev/disk/by-uuid

Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#3 Le 07/10/2007, à 22:39

hannyo

Re : [résolu] Error 15 au démarrage

Merci de me venir en aide.
J'ai fait les manips demandées et voici le résultat:

ubuntu@ubuntu:~$ sudo mount -o rw /dev/hda7 /mnt
ubuntu@ubuntu:~$ cat /mnt/boot/grub/menu.lst
cat: /mnt/boot/grub/menu.lst: Aucun fichier ou répertoire de ce type
ubuntu@ubuntu:~$ cat /mnt/etc/fstab
cat: /mnt/etc/fstab: Aucun fichier ou répertoire de ce type
ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2007-10-07 22:21 40DB-39E8 -> ../../hda5
lrwxrwxrwx 1 root root 10 2007-10-07 22:21 4a009418-08b0-4fa7-9ab1-51e45ac3b495 -> ../../hda6
lrwxrwxrwx 1 root root 10 2007-10-07 22:21 581cc6ed-e52f-42bc-b490-daa3efa9126d -> ../../hda7
lrwxrwxrwx 1 root root 10 2007-10-07 22:21 5820CBCD20CBB074 -> ../../hda9
lrwxrwxrwx 1 root root 10 2007-10-07 22:21 7CEC-864A -> ../../sda1
lrwxrwxrwx 1 root root 10 2007-10-07 22:21 AC9C70D19C709792 -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-10-07 22:21 fa573345-11cd-4fcc-b913-b812c6bda061 -> ../../hda8
ubuntu@ubuntu:~$

Qu'en pensez-vous?

Hors ligne

#4 Le 08/10/2007, à 01:43

belga

Re : [résolu] Error 15 au démarrage

je pense que tu refais ce que j'ai demandé mais
en changeant /dev/hda7 par /dev/hda8


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#5 Le 08/10/2007, à 17:59

hannyo

Re : [résolu] Error 15 au démarrage

Je ne comprends pas ce que tu me demandes mais pas d'importance, voilà de la lecture :


ubuntu@ubuntu:~$ cat /mnt/boot/grub/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         4

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout         5

## 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=fa573345-11cd-4fcc-b913-b812c6bda061 ro
# kopt_2_6=root=/dev/hda7 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)

## 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 locale=fr_FR

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

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

## ## End Default Options ##

title           Ubuntu, kernel 2.6.17-10-generic
root            (hd0,6)
kernel          /boot/vmlinuz-2.6.17-10-generic root=/dev/hda7 ro quiet splash locale=fr_FR
initrd          /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title           Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root            (hd0,6)
kernel          /boot/vmlinuz-2.6.17-10-generic root=/dev/hda7 ro single
initrd          /boot/initrd.img-2.6.17-10-generic
boot

title           Ubuntu, memtest86+
root            (hd0,6)
kernel          /boot/memtest86+.bin
quiet
boot

### 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
ubuntu@ubuntu:~$ cat /mnt/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda7
UUID=fa573345-11cd-4fcc-b913-b812c6bda061 /               ext3    defaults,errors=remount-ro 0       1
# /dev/hda8
UUID=581cc6ed-e52f-42bc-b490-daa3efa9126d /home           ext3    defaults        0       2
# /dev/hda1
UUID=AC9C70D19C709792 /media/hda1     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
# /dev/hda5
UUID=40DB-39E8  /media/hda5     vfat    defaults,utf8,umask=007,gid=46 0       1
# /dev/hda6
UUID=5820CBCD20CBB074 /media/hda6     ntfs    defaults,nls=utf8,umask=007,gid=46 0       1
# /dev/hda9
UUID=4a009418-08b0-4fa7-9ab1-51e45ac3b495 none            swap    sw              0       0
/dev/hdb        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdc        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/           /media/floppy0  auto    rw,user,noauto  0       0
ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2007-10-08 17:38 40DB-39E8 -> ../../hda5
lrwxrwxrwx 1 root root 10 2007-10-08 17:38 4a009418-08b0-4fa7-9ab1-51e45ac3b495 -> ../../hda6
lrwxrwxrwx 1 root root 10 2007-10-08 17:38 581cc6ed-e52f-42bc-b490-daa3efa9126d -> ../../hda7
lrwxrwxrwx 1 root root 10 2007-10-08 17:38 5820CBCD20CBB074 -> ../../hda9
lrwxrwxrwx 1 root root 10 2007-10-08 17:38 7CEC-864A -> ../../sda1
lrwxrwxrwx 1 root root 10 2007-10-08 17:38 AC9C70D19C709792 -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-10-08 17:38 fa573345-11cd-4fcc-b913-b812c6bda061 -> ../../hda8

Hors ligne

#6 Le 08/10/2007, à 18:29

belga

Re : [résolu] Error 15 au démarrage

tu tapes

sudo mount -o rw /dev/hda8 /mnt

puis

sudo gedit /mnt/boot/grub/menu.lst

fais ceci:

# kopt_2_6=root=/dev/hda7 ro   ==> /dev/hda8

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)    ==> (hd0,7)


title           Ubuntu, kernel 2.6.17-10-generic
root            (hd0,6)      ==> (hd0,7)
kernel          /boot/vmlinuz-2.6.17-10-generic root=/dev/hda7 ro quiet splash locale=fr_FR     ==> /dev/hda8
initrd          /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title           Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root            (hd0,6)      ==> (hd0,7)
kernel          /boot/vmlinuz-2.6.17-10-generic root=/dev/hda7 ro single      ==> /dev/hda8
initrd          /boot/initrd.img-2.6.17-10-generic
boot

title           Ubuntu, memtest86+
root            (hd0,6)     ==> (hd0,7)
kernel          /boot/memtest86+.bin
quiet
boot

enregistre et redémarre


Multi-bomb : Multi-doze : Mandoze, Ubundoze, Pardoze.

900s entre deux postes: mododoze

Hors ligne

#7 Le 08/10/2007, à 19:02

hannyo

Re : [résolu] Error 15 au démarrage

big_smile 1 000 000 000 de MERCI!!!!
Ca a marché impeccable. C'est super sympa d'avoir usé de ton temps.
Merci encore. big_smile

Petit détail, je ne sais pas comment on passe le post en résolu!

Hors ligne

#8 Le 08/10/2007, à 19:05

hannyo

Re : [résolu] Error 15 au démarrage

En fait, j'ai réussi...;)

Hors ligne