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 20/08/2007, à 17:01

Danychou

[resolu] grub erreur 15

bonjour, j' ai donc grub erreur 15 au démarrage,:/
comment faire pour resoudre ça à partir du live cd?
windows et feisty sont sur le même disque, windows en début et ubuntu au 3/4,
cela m'est arrivé aprés défragmentation de windows.:(
merci.

Dernière modification par danychou56 (Le 21/08/2007, à 17:58)


Qui met une poubelle à  la mer, met sa mére à  la poubelle!
Sur Ubuntu depuis la 7.04                    10.10 64bit sur HP pavilion DV 6720ef

Hors ligne

#2 Le 20/08/2007, à 17:12

Booloki

Re : [resolu] grub erreur 15

Bonjour,
ce topict'aidera sûrement.


Arch sur desktop - Debian sur server - FFOS sur smartphone - Rock sur enceintes
L'actualité du Libre en région Lorraine
@Booloki

Hors ligne

#3 Le 20/08/2007, à 18:27

Danychou

Re : [resolu] grub erreur 15

voici mon "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        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=4627b0db-1551-4717-8f53-13f5dae9bc9a 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 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

## ## End Default Options ##

title        Ubuntu, kernel 2.6.20-16-generic
root        (hd0,7)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=4627b0db-1551-4717-8f53-13f5dae9bc9a ro quiet splash locale=fr_FR
initrd        /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title        Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root        (hd0,7)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=4627b0db-1551-4717-8f53-13f5dae9bc9a ro single
initrd        /boot/initrd.img-2.6.20-16-generic

title        Ubuntu, kernel 2.6.20-15-generic
root        (hd0,7)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=4627b0db-1551-4717-8f53-13f5dae9bc9a ro quiet splash locale=fr_FR
initrd        /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title        Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root        (hd0,7)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=4627b0db-1551-4717-8f53-13f5dae9bc9a ro single
initrd        /boot/initrd.img-2.6.20-15-generic

title        Ubuntu, 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


# 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

et mon fdisk:

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

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/hda1   *           1        2550    20482843+   7  HPFS/NTFS
/dev/hda2            2551       14531    96237382+   f  W95 Etendu (LBA)
/dev/hda3           14532       19457    39568095    b  W95 FAT32
/dev/hda5            2551        9179    53247411    7  HPFS/NTFS
/dev/hda6            9180        9303      995998+  82  Linux swap / Solaris
/dev/hda7            9304       10762    11719386   83  Linux
/dev/hda8           10763       14531    30274461   83  Linux

Disque /dev/hdb: 250.0 Go, 250059350016 octets
255 têtes, 63 secteurs/piste, 30401 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/hdb1               1       30401   244196001   42  SFS

que dois-je faire? merci

edit: comment passer en root pour réecrire ou modifier "grub menu lst",
sous live-cd.
re-edit: on m'a envoyé ça:
Avec votre LiveCD (1ere méthode)

Cette méthode est très simple a mettre en oeuvre.

Lancez votre live-CD, ouvrez un terminal et tapez :

$ sudo apt-get install grub ## au cas où GRUB n'est pas installé
$ sudo grub

Vous atterissez sur le menu principal de GRUB. Tapez :

grub> find /boot/grub/stage1

si le message "Error 15 : file not found" est rapporté, essayez :

grub> find /grub/stage1

tapez, ensuite :

grub> root (hd$i,$i) # $i devant être remplacé par le texte obtenu par la commande précédente
grub> setup (hd0)
grub> quit

mais je n' y est pas accés.

Dernière modification par danychou56 (Le 20/08/2007, à 19:07)


Qui met une poubelle à  la mer, met sa mére à  la poubelle!
Sur Ubuntu depuis la 7.04                    10.10 64bit sur HP pavilion DV 6720ef

Hors ligne

#4 Le 20/08/2007, à 18:58

Booloki

Re : [resolu] grub erreur 15

Grub fait booter Ubuntu sur le swap (hd0,7) => hda6, et pas sur la partition contenant effectivement.
Ubuntu est installé sur hda7 ou hda8 ?

Dernière modification par Boolet (Le 20/08/2007, à 19:06)


Arch sur desktop - Debian sur server - FFOS sur smartphone - Rock sur enceintes
L'actualité du Libre en région Lorraine
@Booloki

Hors ligne

#5 Le 20/08/2007, à 19:10

Danychou

Re : [resolu] grub erreur 15

bonsoir boolet, sur le hda7.


Qui met une poubelle à  la mer, met sa mére à  la poubelle!
Sur Ubuntu depuis la 7.04                    10.10 64bit sur HP pavilion DV 6720ef

Hors ligne

#6 Le 20/08/2007, à 19:34

Booloki

Re : [resolu] grub erreur 15

ok,
édite de nouveau ton /grub/menu.lst et remplace les
(hd0,7)
des lignes Ubuntu par
(hd0,6)
, ça lancera donc Ubuntu présent sur la partition hda7.


Arch sur desktop - Debian sur server - FFOS sur smartphone - Rock sur enceintes
L'actualité du Libre en région Lorraine
@Booloki

Hors ligne

#7 Le 20/08/2007, à 19:54

belga

Re : [resolu] grub erreur 15

au démarrage, une fois que tu vois la liste, appui 2 fois sur e
change (hd0,7) en (hd0,6) valide puis appui sur b

dis nous si ça marche


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

900s entre deux postes: mododoze

Hors ligne

#8 Le 20/08/2007, à 20:30

Danychou

Re : [resolu] grub erreur 15

voici mon "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        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=4627b0db-1551-4717-8f53-13f5dae9bc9a 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 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

## ## End Default Options ##

title        Ubuntu, kernel 2.6.20-16-generic
root        (hd0,8)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=4627b0db-1551-4717-8f53-13f5dae9bc9a ro quiet splash locale=fr_FR
initrd        /boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title        Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root        (hd0,8)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=4627b0db-1551-4717-8f53-13f5dae9bc9a ro single
initrd        /boot/initrd.img-2.6.20-16-generic

title        Ubuntu, kernel 2.6.20-15-generic
root        (hd0,8)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=4627b0db-1551-4717-8f53-13f5dae9bc9a ro quiet splash locale=fr_FR
initrd        /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title        Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root        (hd0,8)
kernel        /boot/vmlinuz-2.6.20-15-generic root=UUID=4627b0db-1551-4717-8f53-13f5dae9bc9a ro single
initrd        /boot/initrd.img-2.6.20-15-generic

title        Ubuntu, memtest86+
root        (hd0,8)
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/hda1
title        Microsoft Windows XP Professionnel
root        (hd0,0)
savedefault
makeactive
chainloader    +1

j' ai mis, 6, marche po , 7 pareil et maintenant 8, et c'est la même chose.
au démarrage, je n'est toujours pas la liste


Qui met une poubelle à  la mer, met sa mére à  la poubelle!
Sur Ubuntu depuis la 7.04                    10.10 64bit sur HP pavilion DV 6720ef

Hors ligne

#9 Le 20/08/2007, à 20:37

belga

Re : [resolu] grub erreur 15

ok
tape

sudo grub
find /boot/grub/stage1  #donne le retour
quit

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

900s entre deux postes: mododoze

Hors ligne

#10 Le 20/08/2007, à 20:54

Danychou

Re : [resolu] grub erreur 15

je ne peux y avoir accés et/ou ne sais pas comment faire.


Qui met une poubelle à  la mer, met sa mére à  la poubelle!
Sur Ubuntu depuis la 7.04                    10.10 64bit sur HP pavilion DV 6720ef

Hors ligne

#11 Le 20/08/2007, à 20:59

belga

Re : [resolu] grub erreur 15

tu tapes cela en live dans un terminal
smile


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

900s entre deux postes: mododoze

Hors ligne

#12 Le 20/08/2007, à 21:20

Danychou

Re : [resolu] grub erreur 15

quand je le tape en console:
ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.
voilou.


Qui met une poubelle à  la mer, met sa mére à  la poubelle!
Sur Ubuntu depuis la 7.04                    10.10 64bit sur HP pavilion DV 6720ef

Hors ligne

#13 Le 20/08/2007, à 21:24

belga

Re : [resolu] grub erreur 15

tu fais ctrl+c pour quitter quand ça bloque.
essaye en étant plus patient (5 minutes)


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

900s entre deux postes: mododoze

Hors ligne

#14 Le 21/08/2007, à 17:58

Danychou

Re : [resolu] grub erreur 15

ce matin, en hd 0.6 ça a marché.
je ne comprends toujours pas, mais bon tout est rentré dans l' ordre.
merci à belga et boolet de m' avoir épaulé! wink


Qui met une poubelle à  la mer, met sa mére à  la poubelle!
Sur Ubuntu depuis la 7.04                    10.10 64bit sur HP pavilion DV 6720ef

Hors ligne

#15 Le 21/08/2007, à 18:01

belga

Re : [resolu] grub erreur 15

alors change

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

en

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

c'est important au cas d'une mise à jour du noyau ou de grub
sinon tu auras une erreur de grub

puis tape

sudo update-grub

ce qui changera les 7 en 6 ailleurs


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

900s entre deux postes: mododoze

Hors ligne

#16 Le 21/08/2007, à 18:58

Danychou

Re : [resolu] grub erreur 15

c'est fait, merci...


Qui met une poubelle à  la mer, met sa mére à  la poubelle!
Sur Ubuntu depuis la 7.04                    10.10 64bit sur HP pavilion DV 6720ef

Hors ligne