#1 Le 03/12/2007, à 12:02
- bigfx
[Résolu][Grub]Erreur 17 et 15,linux non accessible
Bonjour,avant toute chose je tiens à préciser que j'ai regardé le forum et les topic concernants error 17.
Cependant,je suis encore un novice sous linux et j'ai besoin d'une aide spécifique à mobn problème
Donc j'ai windows,kubuntu et sabayon installé sur le meme dd .Sabayon ert kubuntu utilise la meme partition swap.J'ai également une partition pour sauvegarder des fichiers.
J'ai eu la mauvaise et bête idée de redimensionner la taille de ma partition windows sous windows,ce qui m'a fait planté grub au redémarrage.....
J'ai fait les manip pour remettre grub,utilisé siupergrub et un live cd rescue pour linux,j'ai toujours le meme problème:arrivé sur grub,je peux seulement lancer windows,si j'essaye kubuntu j'ai l'erreur 17 (not mounted) et sur sabayon j'ai erreur 15 (not found)
Voila le screen de tout ça et mon menu.lst
kubuntu=sda5
sabayon=sda7
# 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 --XXXXXXXXXXXXXXXXXXXXXXXXXXx
# 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=1864d074-2f5b-4a83-8a74-8f4b0c78f98e ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)
## 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
## 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,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=1864d074-2f5b-4a83-8a74-8f4b0c78f98e ro quiet splash 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,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=1864d074-2f5b-4a83-8a74-8f4b0c78f98e ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,5)
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
makeactive
chainloader +1
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title Sabayon Linux x86 3.4 Mini Edition (on /dev/sda5)
root (hd0,4)
kernel /boot/kernel-genkernel-x86-2.6.22-sabayon root=/dev/ram0 ramdisk=8192 real_root=UUID=6c475d34-d474-4b23-ae46-0b450677a5c1 quiet init=/linuxrc splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 pci=nomsi
initrd /boot/initramfs-genkernel-x86-2.6.22-sabayon
savedefault
boot
Très sincérement merci pour l'aide
Dernière modification par bigfx (Le 03/12/2007, à 19:23)
Hors ligne
#2 Le 03/12/2007, à 12:12
- safinaz
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
Salut,
moi je ne vois qu'une distrib linux à moins que tu n'aies 2 diisques.
Bref, au démarrage place toi sur l'entrée ubuntu (la première)
appui sur la touche e, tu devrais voir ceci
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=1864d074-2f5b-4a83-8a74-8f4b0c78f98e ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.22-14-generic
tu te places sur la ligne root (hd0,5), tu appuis sur la touche e, et tu changes 5 en 6, puis tu appuis sur
la touche enter.
Puis tu te places sur la ligne kernel /boot/.......
tu appuis sur la touche e, puis tu changes sur cette ligne
root=UUID=1864d074-2f5b-4a83-8a74-8f4b0c78f98e
par
root=/dev/sda7
puis tu appuis sur la touche valider
puis sur la touche b, l'ordi va booter.
Dans tous les cas
poste les retours de
sudo fdisk -l
ls -l /dev/disk/by-uuid
le contenu du fichier fstab de kubuntu
#3 Le 03/12/2007, à 12:15
- safinaz
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
brrr, 1 minute
si kubuntu est sur /dev/sda5
change (hd0,5) par (hd0,4)
et root=.......... par root=/dev/sda5
ce que j'ai expliqué avant, c'est si kubuntu est sur /dev/sda7
je n'avais pas vu
#4 Le 03/12/2007, à 12:16
- bigfx
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title Sabayon Linux x86 3.4 Mini Edition (on /dev/sda5)
root (hd0,4)
kernel /boot/kernel-genkernel-x86-2.6.22-sabayon root=/dev/ram0 ramdisk=8192 real_root=UUID=6c475d34-d474-4b23-ae46-0b450677a5c1 quiet init=/linuxrc splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 pci=nomsi
initrd /boot/initramfs-genkernel-x86-2.6.22-sabayon
savedefault
boot
Voila l'autre distrib
Je vais tester cez que tu m'as dis (je peux pas tout de suite )
Merci
Hors ligne
#5 Le 03/12/2007, à 12:17
- safinaz
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
brrr, 1 minute
si kubuntu est sur /dev/sda5
change (hd0,5) par (hd0,4)
et root=.......... par root=/dev/sda5ce que j'ai expliqué avant, c'est si kubuntu est sur /dev/sda7
je n'avais pas vu
je délire, kubuntu est bien sur sda7
c'est donc la première manip qui est correcte.
#6 Le 03/12/2007, à 12:20
- bigfx
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
au faite,j'ai déjà fait grub> find /boot/grub/stage1
Ce qui m'a donné:
(hd0,4)---->kubuntu
(hd0,6)---->sabayon
En mettant root (hd0,6) j'ai le droit à un reboot continuel en arrivant sur grub
En mettant (hd0,4) je ne peux que booter sur windows et aucune autre distrib(avec les messages d'erreur cités plus haut)
Hors ligne
#7 Le 03/12/2007, à 12:25
- safinaz
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
au faite,j'ai déjà fait grub> find /boot/grub/stage1
Ce qui m'a donné:
(hd0,4)---->kubuntu
(hd0,6)---->sabayonEn mettant root (hd0,6) j'ai le droit à un reboot continuel en arrivant sur grub
En mettant (hd0,4) je ne peux que booter sur windows et aucune autre distrib(avec les messages d'erreur cités plus haut)
Salut,
Il me semble que le problème n'est pas seulement le (hd0,5) mais aussi l'UUID
root (hd0,5)[b]
kernel /boot/vmlinuz-2.6.22-14-generic root=[b]UUID=1864d074-2f5b-4a83-8a74-8f4b0c78f98e ro quiet splash locale=fr_FR
Voir ce que j'ai dit, sinon poste ce qui est demandé.
#8 Le 03/12/2007, à 12:26
- bigfx
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
oual je comprend plus trop:grub m'indique donc sabayon sur sda5
Je suis persuadé du contraire,ça peut venir de là ?
Hors ligne
#9 Le 03/12/2007, à 12:35
- bigfx
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
lrwxrwxrwx 1 root root 10 2007-12-03 11:26 1864d074-2f5b-4a83-8a74-8f4b0c78f98e -> ../../sda5
lrwxrwxrwx 1 root root 10 2007-12-03 11:26 57EAA5BF3EB96570 -> ../../sda6
lrwxrwxrwx 1 root root 10 2007-12-03 11:26 6c475d34-d474-4b23-ae46-0b450677a5c1 -> ../../sda7
lrwxrwxrwx 1 root root 10 2007-12-03 11:26 CCBF-0C9C -> ../../sda1
lrwxrwxrwx 1 root root 10 2007-12-03 11:26 f4450418-e20f-4439-9de7-2d9557dd3050 -> ../../sda2
le fstab
/dev/disk/by-uuid/6c475d34-d474-4b23-ae46-0b450677a5c1 / ext3 user_xattr 1 1
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/disk/by-uuid/f4450418-e20f-4439-9de7-2d9557dd3050 swap swap defaults 0 0
et fdsik
Disk /dev/sda: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDevice Boot Start End Blocks Id System
/dev/sda1 * 1 2538 20386453+ c W95 FAT32 (LBA)
/dev/sda2 2539 2781 1951897+ 82 Linux swap / Solaris
/dev/sda4 2782 9039 50267385 5 Extended
/dev/sda5 2782 4961 17510787 83 Linux
/dev/sda6 4962 5980 8185086 7 HPFS/NTFS
/dev/sda7 5981 9039 24571386 83 Linux
merci
Dernière modification par bigfx (Le 03/12/2007, à 12:38)
Hors ligne
#10 Le 03/12/2007, à 12:42
- safinaz
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
Bon sabayon est bien sur sda7 ce fstab ne ressemble pas
à celui de kubuntu.
Kubuntu est sur sda5.
C'est d'ailleurs ce que tu avais dit dans le message 1.
Normalement, il te suffit au démarrage de changer
(hd0,5) par (hd0,4)
#11 Le 03/12/2007, à 12:45
- bigfx
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
oups excuse moi je n'ai pas postez le bon fstab
Le voici
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda6
UUID=1864d074-2f5b-4a83-8a74-8f4b0c78f98e / ext3 defaults,errors=remount-ro 0 1
# /dev/sda1
UUID=CCBF-0C9C /media/sda1 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/sda5
UUID=6c475d34-d474-4b23-ae46-0b450677a5c1 /media/sda5 ext3 defaults 0 2
# /dev/sda2
UUID=f4450418-e20f-4439-9de7-2d9557dd3050 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
Dernière modification par bigfx (Le 03/12/2007, à 12:45)
Hors ligne
#12 Le 03/12/2007, à 12:47
- safinaz
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
Ce qui confirme ce qui est dit la.
Bon sabayon est bien sur sda7 ce fstab ne ressemble pas
à celui de kubuntu.Kubuntu est sur sda5.
C'est d'ailleurs ce que tu avais dit dans le message 1.
Normalement, il te suffit au démarrage de changer
(hd0,5) par (hd0,4)
#13 Le 03/12/2007, à 12:51
- bigfx
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
désolé je fais un peu le boulet là
Heu changer (hd0,5) par (hd0,4) c'est bien faire ça
si kubuntu est sur /dev/sda5
change (hd0,5) par (hd0,4)
et root=.......... par root=/dev/sda5
Non?
Edit:pourrais tu stp me préciser la manip :je sui en live cd sabayon,je peux modifier ça directement en modifiant le menu.lst sur la partition kubuntu ?
Merci de m'aider et désolé pour ces questions
Dernière modification par bigfx (Le 03/12/2007, à 12:53)
Hors ligne
#14 Le 03/12/2007, à 12:54
- safinaz
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
oui
tu peux même te contenter de ne changer que
(hd0,5) par (hd0,4)
car l'uuid est correcte.
Enfin essaye les deux au cas oà¹
#15 Le 03/12/2007, à 13:12
- bigfx
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
j'ai remplacé 5 par 4 et pour sabayon j'ai mis
title Sabayon Linux x86 3.4 Mini Edition (on /dev/sda7)
root (hd0,6)
J'arrive maintenant à booter sur sabayon
Cependant,kubuntu se charge puis me marque fsck failed. Et read-only access,enfin un truc du genre accessible qu'en lecture.
Je dois partir je verrais ça en fin d'aprem.En tout cas merci beaucoup de m'avoir aider,grace a toi j'ai retrouvé mes partitions
Hors ligne
#16 Le 03/12/2007, à 13:17
- safinaz
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
fais ce qui est dit au point 1 sachant que pour toi ce n'est pas
/dev/hd... mais /dev/sda5
http://www.cepcasa.info/parted/recup1.html
#17 Le 03/12/2007, à 19:23
- bigfx
Re : [Résolu][Grub]Erreur 17 et 15,linux non accessible
Bon j'ai essayé les manip du tuto de cep mais j'ai eu des petits soucis
Vu que j'avais fait des sauvegardes j'ai réinstallé kubuntu et grub a reconnu tout les OS au premiers démarrage donc c'est parfait.
Encore une fois merci de m'avoir aidé
Hors ligne