Pages : 1
#1 Le 20/04/2007, à 03:21
- gdott9
Grub : Error 21 !! Help me please...
Bonjour,
Après avoir téléchargé la derniere version d'Ubuntu hier, j'ai décidé de l'installer !!
J'ai donc préparé mes partitions :
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 16708 134206978+ 7 HPFS/NTFS
/dev/sda2 16709 30401 109989022+ 5 Extended
/dev/sda5 30271 30401 1052226 82 Linux swap / Solaris
/dev/sda6 16709 19319 20972826 83 Linux
/dev/sda7 19320 30270 87963876 83 Linux
J'ai donc installé ubuntu puis au redemarrage, GRUB me sort une error 21 !!
J'ai trouvé ca sur le net:
21 : Selected disk does not exist
This error is returned if the device part of a device- or full file name refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.
Ma config:
- Proc : Intel core 2 duo
- Carte mere : MSI p965 neo-f
- Carte graphique : ATI Radeon X1900GT
J'ai vérifié le fichier /boot/grub/menu.lst qui me dis (hd0,5) Ubuntu et (hd0,0) Windows !!
J'ai cherché sur google mais je n'ai pas trouvé de cas similaire résolu c'est pourquoi je demande votre aide !!
Je ne sais pas du tout quoi faire ou quoi chercher...
Please, help me ! Je veux passer à ubuntu...
Dernière modification par gdott9 (Le 22/04/2007, à 03:43)
Hors ligne
#2 Le 20/04/2007, à 06:52
- rlb29
Re : Grub : Error 21 !! Help me please...
il faudrait préciser où tu as installé Grub et poster la totalité de ton menu.lst
mais ERROR 21 = disque pas reconnu. vérifie donc ton BIOS.
Dernière modification par rlb29 (Le 20/04/2007, à 07:00)
Debian-sid - kernel 2.6.30-5-amd64 - gestionnaire de fenêtres : xmonad
Hors ligne
#3 Le 20/04/2007, à 07:20
- frafa
Re : Grub : Error 21 !! Help me please...
root kernel ubuntu, pointe bien sur le bon ?
root=/dev/sda6
Hors ligne
#4 Le 20/04/2007, à 16:01
- gdott9
Re : Grub : Error 21 !! Help me please...
J'ai essayé de formater mes partitions linux et de réinstaller (on sait jamais...:rolleyes:) et toujours la même erreur...
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 16708 134206978+ 7 HPFS/NTFS
/dev/sda2 16709 30401 109989022+ 5 Extended
/dev/sda5 16709 19319 20972826 83 Linux
/dev/sda6 19320 30270 87963876 83 Linux
/dev/sda7 30271 30401 1052226 82 Linux swap / Solaris
Et le contenu de mon fichier 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=d80c8c5c-96e2-48e2-8e93-e39b1a64f37b ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)
## 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-15-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=d80c8c5c-96e2-48e2-8e93-e39b1a64f37b 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,4)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=d80c8c5c-96e2-48e2-8e93-e39b1a64f37b ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd0,4)
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 Windows NT/2000/XP
root (hd0,0)
savedefault
makeactive
chainloader +1
C'est mon premier essai de Linux, je ne pouvais pas installer Linux plus tot car les anciennes versions du kernel ne supportait pas le controleur de ma carte mère (Jmicron), donc je ne connais pas encore bien linux.
Comment savoir où est installer Grub?
Je n'ai jamais eu a choisir durant l'installation.
Et comment vérifier que root kernel ubuntu pointe bien sur le bon?
Merci de votre aide !!
Hors ligne
#5 Le 20/04/2007, à 21:00
- rlb29
Re : Grub : Error 21 !! Help me please...
Le problème est que Grub ne semble pas reconnaitre ton DD.
Essaye de voir dans le BIOS, si en mettant le mode d'adressage (qui doit actuellement être à AUTO) sur LBA ne règle pas ton souci. Sinon essaye LARGE.
nota : pour accéder au Bios il faut généralement appuyer sur DEL (Suppr) pendant le démarrage.
Dernière modification par rlb29 (Le 20/04/2007, à 21:02)
Debian-sid - kernel 2.6.30-5-amd64 - gestionnaire de fenêtres : xmonad
Hors ligne
#6 Le 21/04/2007, à 12:59
- frafa
Re : Grub : Error 21 !! Help me please...
verifie UUID de grub, ca lui arrive de faire des conneries...
sudo vol_id -u /dev/sda6
tu peut ausi remplacer:
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=d80c8c5c-96e2-48e2-8e93-e39b1a64f37b ro quiet splash locale=fr_FR
par:
kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/sda6 ro quiet splash locale=fr_FR
Hors ligne
#7 Le 21/04/2007, à 23:55
- gdott9
Re : Grub : Error 21 !! Help me please...
Essaye de voir dans le BIOS, si en mettant le mode d'adressage (qui doit actuellement être à AUTO) sur LBA ne règle pas ton souci. Sinon essaye LARGE.
Je n'ai pas trouvé où changer le mode d'adressage dans mon BIOS...
verifie UUID de grub, ca lui arrive de faire des conneries...
sudo vol_id -u /dev/sda6tu peut ausi remplacer:
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=d80c8c5c-96e2-48e2-8e93-e39b1a64f37b ro quiet splash locale=fr_FR
par:
kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/sda6 ro quiet splash locale=fr_FR
J'ai vérifié UUID et cela correspond, j'ai aussi essayé en remplacant :
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=d80c8c5c-96e2-48e2-8e93-e39b1a64f37b ro quiet splash locale=fr_FR
par:
kernel /boot/vmlinuz-2.6.20-15-generic root=/dev/sda6 ro quiet splash locale=fr_FR
mais aucune amélioration !!
Dernière modification par gdott9 (Le 22/04/2007, à 03:44)
Hors ligne
#8 Le 23/04/2007, à 21:48
- gdott9
Re : Grub : Error 21 !! Help me please...
Merci de votre aide, j'ai réussi !! Je peux enfin profiter d'Ubuntu sur mon ordinateur...:)
Hors ligne
#9 Le 24/04/2007, à 06:08
- rlb29
Re : Grub : Error 21 !! Help me please...
Content pour toi ! Dis nous comment tu as fait...ça peut servir.
Debian-sid - kernel 2.6.30-5-amd64 - gestionnaire de fenêtres : xmonad
Hors ligne
#10 Le 24/04/2007, à 07:33
- pfff
Re : Grub : Error 21 !! Help me please...
Content pour toi ! Dis nous comment tu as fait...ça peut servir.
+1 je suis danslememe cas ... 1 erreur 21 sur undisque et des 9 9 9 9 99 9 sur un autre (ecran noir avec des9)
Hors ligne
#11 Le 26/04/2007, à 10:30
- hdiamant
Re : Grub : Error 21 !! Help me please...
Oui, dis-nous comment tu as fait ? Je susi dans le même cas que toi.
Hors ligne
#12 Le 04/05/2007, à 21:50
- gdott9
Re : Grub : Error 21 !! Help me please...
Désolé de pas avoir répondu plus tôt...
En fait, Grub ne trouvais effectivement pas mon DD à cause du controleur JMicron !!
J'ai branché mon DD sur un controleur ICH8 et lui il est reconnu par Grub donc ca à marché ... et depuis j'utilise Ubuntu à 95% (il me reste quelques jeux encore...) et j'adore !!
Merci de votre aide
Dernière modification par gdott9 (Le 04/05/2007, à 21:51)
Hors ligne
Pages : 1