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 17/07/2008, à 00:11

Flovel

ERREUR 17 insoluble [Résolu]

Bonjour

Depuis plus d'une semaine je m'arrive pas à refaire fonctionner grub
il est toujours en erreur 17.
Je suis en dual boot Win XP et KUBUNTU 8.04.1 avec 2 disques dur (IDE).
Win XP sur le 1er et KUBUNTU sur le 2ème.

Avant j'avais déjà précédement installé KUBUNTU 7.10 sur le 2ème DD cet hiver,
et il marchait bien, puis j'ai fais la mise à jour automatique (qui à fonctionnée)
vers 8.04 quand il est sorti.
Quelque temps après, j'ai déjà eu des problèmes de mise à jour des paquets.
Alors j'ai décidé de réinstaller proprement la 8.04 en mettant grub avec KUBUNTU
car pour la 7.10 je l'ai laisser s'installer par défaut.
J'ai d'abord remis le mbr de windows en place, puis réinstallé KUBUNTU (10 fois) et après
je redémarre et au boot pour le choix, quand je veux lancer KUBUNTU il mets erreur 17
alors je choisis Windows alors il mets erreur 15, après je réinstalle grub et pour KUBUNTU
c'est toujours pareil, mais pour Windows il mets maintenant grub laoding stage2.....
et repart à la page de démarrage grub.
J'ai fais des recherches sur le site (avec les tutos et en Live CD):
    -réinstallation de grub
    -comment faire multiboot propre avec 2 DD.
    -Récupérer ubuntu après (ré) installation de windows
     (car je l'ai aussi planter, mais je l'ai restauré).
mais çà ne marche toujours pas.

Une aide précieuse serait  la bien venue.

    Merci

Dernière modification par Flovel (Le 04/08/2008, à 17:27)


Kubuntu 18.04.4

Hors ligne

#2 Le 17/07/2008, à 00:14

hartchi

Re : ERREUR 17 insoluble [Résolu]

salut

change l ordre de demarage des hdd dans le bios chez moi sa a marcher

Hors ligne

#3 Le 17/07/2008, à 07:22

Compte anonymisé

Re : ERREUR 17 insoluble [Résolu]

Salut

Il faudrait, depuis un livecd donner les résultats de :
sudo  fdisk -l
lister le fichier menu.lst : monter la partition / :
sudo mount /dev/sdxy /mnt   où x et y doivent être remplacés par les bonnes valeurs.
puis
sudo gedit /mnt/boot/grub/menu.lst

Indiquer où tu as installé le bootloader de Grub et sur quel disque tu bootes.

@+

#4 Le 17/07/2008, à 23:44

Flovel

Re : ERREUR 17 insoluble [Résolu]

Bonsoir jeanjd63 et merci pour ton aide

Pour le bootloader de Grub normalement je l'ai mis dans le 2ème disque en (hd1)
pendant l'installation, quand il le demandait dans "avancé".
pour le boot, j'ai réglé dans le BIOS sur le 2ème disque (sdb) comme indiqué pour l'install en dual-boot

P.S. l'erreur dans windows c'est la 19 pas la 15.


Voici le fdisk

Disque /dev/sda: 160.0 Go, 160041885696 octets
255 heads, 63 sectors/track, 19457 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x0f770f76

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1        5099    40957686    7  HPFS/NTFS
/dev/sda2            5100       19457   115330635    f  W95 Etendu (LBA)
/dev/sda5            5100       19457   115330603+   7  HPFS/NTFS

Disque /dev/sdb: 40.9 Go, 40982151168 octets
255 heads, 63 sectors/track, 4982 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0xc79af1ea

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1   *           1        1785    14337981   83  Linux
/dev/sdb2            1786        1916     1052257+  82  Linux swap / Solaris
/dev/sdb3            1917        4982    24627645   83  Linux

Disque /dev/sdc: 513 Mo, 513801216 octets
33 heads, 63 sectors/track, 482 cylinders
Units = cylindres of 2079 * 512 = 1064448 bytes
Identifiant disque: 0x1665f51f

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdc1               1         483      501743    6  FAT16
Partition 1 a des débuts différents physique/logique (non Linux?):
     phys=(0, 1, 1) logique=(0, 0, 33)
Partition 1 a des fins différentes physique/logique:
     phys=(241, 32, 63) logique=(482, 22, 54)



j'ai suivi ce que tu as écrit, pour sudo mount il m'a mis:
mount: selon mtab /dev/sdb1 est déjà monté sur /mnt

et pour sudo gedit voici le 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 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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
# 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=f0c90ed0-f157-4e96-8795-6103572e5a83 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,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

## 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.04.1, kernel 2.6.24-19-generic
root        (hd1,0)
kernel        /boot/vmlinuz-2.6.24-19-generic root=UUID=f0c90ed0-f157-4e96-8795-6103572e5a83 ro quiet splash
initrd        /boot/initrd.img-2.6.24-19-generic
quiet

title        Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root        (hd1,0)
kernel        /boot/vmlinuz-2.6.24-19-generic root=UUID=f0c90ed0-f157-4e96-8795-6103572e5a83 ro single
initrd        /boot/initrd.img-2.6.24-19-generic

title        Ubuntu 8.04.1, memtest86+
root        (hd1,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
chainloader    +1


Kubuntu 18.04.4

Hors ligne

#5 Le 18/07/2008, à 00:20

hartchi

Re : ERREUR 17 insoluble [Résolu]

re

change l ordre de boot des disque tu verra

Hors ligne

#6 Le 18/07/2008, à 00:27

zzzzzzzzzzzzzzzz

Re : ERREUR 17 insoluble [Résolu]

rajoute ceci à la fin du menu.lst


title        Ubuntu test
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.24-19-generic root=UUID=f0c90ed0-f157-4e96-8795-6103572e5a83 ro quiet splash
initrd        /boot/initrd.img-2.6.24-19-generic
quiet


title        Microsoft Windows XP Professionnel
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify       (hd1,0)
chainloader    +1

enregistre et redémarre et teste ces deux entrées

#7 Le 18/07/2008, à 06:55

Compte anonymisé

Re : ERREUR 17 insoluble [Résolu]

Salut flovel

Le fait de démarrer sur le deuxième disque le fait passer premier pour le bios.
Donc il faut rectifier le menu.lst et tout devrait ponctionner ensuite.
Je te mets le menu.lst corrigé :

# 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 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
# 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=f0c90ed0-f157-4e96-8795-6103572e5a83 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

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

## 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.04.1, kernel 2.6.24-19-generic
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.24-19-generic root=UUID=f0c90ed0-f157-4e96-8795-6103572e5a83 ro quiet splash
initrd        /boot/initrd.img-2.6.24-19-generic
quiet

title        Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.24-19-generic root=UUID=f0c90ed0-f157-4e96-8795-6103572e5a83 ro single
initrd        /boot/initrd.img-2.6.24-19-generic

title        Ubuntu 8.04.1, 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        (hd1,0)
map       (hd0) (hd1)
map       (hd1) (hd0)
savedefault
chainloader    +1

Ce que je t'ai modifié :
# groot=(hd1,0)
par
# groot=(hd0,0)    --> très important lors de la mise à jour des kernels, car cette variable est utilisée pour générer les nouveaux paragraphes dans menu.lst.

# howmany=all
par
# howmany=2    --> permet de n'afficher que 2 versions du kernel. très suffisant

tous les
root (hd1,0)
par
root (hd0,0)

et enfin dans le paragraphe Xp
ajouté les map et modifié le root comme indiqué dans le post de zzzzzzzzzzzzz

@+

Dernière modification par Compte anonymisé (Le 18/07/2008, à 06:57)

#8 Le 19/07/2008, à 16:23

Flovel

Re : ERREUR 17 insoluble [Résolu]

Salut jeanjd63

çà  marche!!

Désolé pour la réponse un peu tardive mais hier soir j'étais un peu naze.

j'ai changer le menu.lst et tout est renté dans l'ordre !!

Après, j'ai fais la mise à jour de adept updater et il m'a dit qu'il y avait:
"une nouvelle version du fichier /boot/grub/menu.lst" mais je ne l'ai pas changé,
que dois-je faire la prochaine fois qu'il risque de me le demander ?
est-ce que çà va me refaire le même problème ?

En tout cas Grand mreci à toi jeanjd63 et aussi à zzzzzzzzzzzzzzzz
pour vos réponses rapides.
Le monde du libre est vraiment super ! big_smile cool

P.S. Dois-je écire quand même le "test ubuntu" que zzzzzzzzzzzzzzzz avais mis ou ce n'ai plus la peine ?

Dernière modification par Flovel (Le 19/07/2008, à 16:26)


Kubuntu 18.04.4

Hors ligne

#9 Le 19/07/2008, à 17:17

Compte anonymisé

Re : ERREUR 17 insoluble [Résolu]

En fait il faut accepter les modif de menu.lst sinon tu n'auras pas accès aux nouveaux kernel.

Pour y remédier :
sudo update-grub  et tu acceptes les modifs.

@+