Pages : 1
#1 Le 10/03/2008, à 00:31
- TheJester
[Résolu] Grub error 15
salut
Alors voilà, j'ai la version 6.06 LTS d'installée sur mon disk.
J'ai voulu passer à la version 7.10.
J'install à partir de mon live-cd et tout se passe bien jusqu'à la fin de mon install.
(Comme j'ai 3 partitions[Ancien /, swap et /home] sur mon disk, je choisis à la fin hd0,0 comme cible du boot)
Permier truc bizarre, l'install se finie et ne me demande pas de redémarrer. La fenetre d'install se ferme mais c'est tout.
Bon, je redémarre et là : Grub error 15
Je me documente un peu et je cherche à réinstaller mon Grub, sauf que je n'ai aucun dossier grub dans le /boot.
J'ai essayé plusieurs procédures de cette page (http://doc.ubuntu-fr.org/grub) dont un disk boot avec super Grub Disk mais rien n'y fait.
Vous avez une idée ?
Merci d'avance
Dernière modification par TheJester (Le 13/03/2008, à 00:01)
Hors ligne
#2 Le 10/03/2008, à 00:39
- vista sous belga
Re : [Résolu] Grub error 15
pourquoi avoir mis (hd0,0)? quel intérêt?
Bref, donne le retour de
sudo fdisk -l
en supposant que le disque est vu comme sda
tape
sudo umount -a
sudo mount /dev/sda1 /mnt
et donne les retours de
ls /mnt/boot
ls /mnt/boot/grub
cat /mnt/boot/grub/menu.lst
#3 Le 10/03/2008, à 00:57
- TheJester
Re : [Résolu] Grub error 15
Alors :
Quel intérêt => Après avoir essayé hd0 et ne pas pouvoir démarrer je me suis dit que cibler la première partition ne serait pas une mauvaise idée... faut croire que non
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x12ed12ec
Device Boot Start End Blocks Id System
/dev/hda1 1 1275 10241406 83 Linux
/dev/hda2 1276 1402 1020127+ 82 Linux swap / Solaris
/dev/hda3 1403 9729 66886627+ 83 Linux
Disk /dev/hdc: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdbbe26bd
Device Boot Start End Blocks Id System
/dev/hdc1 2 9964 80027797+ f W95 Ext'd (LBA)
/dev/hdc5 2 9964 80027766 b W95 FAT32
ubuntu@ubuntu:~$ sudo umount -a
umount: /tmp: device is busy
umount: /dev: device is busy
umount: /var/run: device is busy
umount: tmpfs: not found
umount: /lib/modules/2.6.22-14-generic/volatile: not mounted
ubuntu@ubuntu:~$ sudo mount /dev/hda1 /mnt
ubuntu@ubuntu:~$ ls /mnt/boot
abi-2.6.22-14-generic initrd.img-2.6.22-14-generic.bak System.map-2.6.22-14-generic
config-2.6.22-14-generic memtest86+.bin vmlinuz-2.6.22-14-generic
ubuntu@ubuntu:~$ ls /mnt/boot/grub
ls: /mnt/boot/grub: No such file or directory
ubuntu@ubuntu:~$ cat /mnt/boot/grub/menu/lst
cat: /mnt/boot/grub/menu/lst: No such file or directory
(Je t'avoue que les deux derniers étaient prévisibles vu que j'avais dit que mon dossier grub était absent du /boot )
Ca t'inspire quelque chose ?
Hors ligne
#4 Le 10/03/2008, à 01:10
- vista sous belga
Re : [Résolu] Grub error 15
sudo umount -a
sudo mount /dev/hda1 /mnt
cd /mnt
sudo mkdir boot/grub
sudo cp /sbin/update-grub ./
sudo chroot /mnt /updtae-grub
il te demande si tu veux créer un menu.lst
réponds oui
puis
sudo grub-install --root-directory=/mnt /dev/hda
#5 Le 10/03/2008, à 01:11
- vista sous belga
Re : [Résolu] Grub error 15
correction
sudo umount -a sudo mount /dev/hda1 /mnt cd /mnt sudo mkdir boot/grub sudo cp /sbin/update-grub ./ sudo chroot /mnt /update-grub
il te demande si tu veux créer un menu.lst
réponds oui
puissudo grub-install --root-directory=/mnt /dev/hda
#6 Le 10/03/2008, à 01:37
- TheJester
Re : [Résolu] Grub error 15
J'ai un soucis à cette étape :
ubuntu@ubuntu:/mnt$ sudo chroot /mnt /update-grub
Your /usr is broken, please fix it before call this wrapper!
Sinon j'ai fait qd meme la dernière étape et j'ai ca dans mon /mnt/boot/grub :
ubuntu@ubuntu:/mnt$ ls boot/grub/
default e2fs_stage1_5 installed-version minix_stage1_5 stage1 xfs_stage1_5
device.map fat_stage1_5 jfs_stage1_5 reiserfs_stage1_5 stage2
Ca avance je le sens bien
Merci pour ton aide jusqu'à maintenant.
Hors ligne
#7 Le 10/03/2008, à 01:41
- vista sous belga
Re : [Résolu] Grub error 15
alors
je pense que le cd à un poblème.
L'as tu vérifié?
#8 Le 10/03/2008, à 01:45
- vista sous belga
Re : [Résolu] Grub error 15
pas eu le temps de lire ton message reposte le
#9 Le 10/03/2008, à 01:47
- #hehedotcom\'isback
Re : [Résolu] Grub error 15
nan, je disais une connerie, en plus ce n'était pas marrant.
Je répondais à coté de la plaque (comme dab )
../
Hors ligne
#10 Le 10/03/2008, à 01:48
- TheJester
Re : [Résolu] Grub error 15
Heu pour le reposte, je sais pas de quoi tu parles
Sinon, j'ai un cdgravé à partir de l'iso que j'avais vérifié et un cd "officiel" que j'ai recu par la poste.
Je n'ai pas vérifier ce dernier, je le fait de suite.
Hors ligne
#11 Le 10/03/2008, à 01:48
- vista sous belga
Re : [Résolu] Grub error 15
est ce de la yurekisation ?
#12 Le 10/03/2008, à 02:01
- TheJester
Re : [Résolu] Grub error 15
j'ai checké le cd "officiel" et pas de soucis, il est bon.
Hors ligne
#13 Le 10/03/2008, à 02:18
- vista sous belga
Re : [Résolu] Grub error 15
tape
sudo mount /dev/hda1 /mnt
sudo gedit /mnt/boot/grub/menu.lst
copie-colle ceci
# 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 $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=dev/hda1 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 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 ##
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=dev/hda1 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.22-14-generic
quiettitle Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=dev/hda1 ro single
initrd /boot/initrd.img-2.6.22-14-generictitle Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
enregistre, puis tape
sudo gedit /mnt/boot/grub/device.map
copie et colle ceci
(hd0) /dev/hda
puis tape
sudo grub-install --root-directory=/mnt /dev/hda
puis redémarre
#14 Le 10/03/2008, à 02:21
- vista sous belga
Re : [Résolu] Grub error 15
inutile car je viens de voir qu'il manque le fichier
initrd.img-2.6.22-14-generic
dans le répertoire boot.
L'installation est vraiment foireuse.
Essaye avec l'alternate cd
#15 Le 13/03/2008, à 00:01
- TheJester
Re : [Résolu] Grub error 15
Bon résolu.
L'aternate CD ne change rien, mais retirer un disk secondaire où y'avait eu windows XP auparavant change tout
Merci à tous !
Hors ligne
Pages : 1