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 31/08/2008, à 18:30

FB123

Erreur 21 avec Linux Ubuntu

Bonjour!!

Je vient de m'inscrire alors je suis un petit nouveau;) et si je suis venu ici c'est parce que j'ai pu remarquer que linux avait l'air d'un beau systeme d'exploitation. J'ai télécharger l'iso et je l'ai graver. Puis je l'ai esayé et je me suis decider de l'installer. Tout marche!!! Je redémare et jai un message qui dit please wait...error 21. Alors je ne peu pas aller ni sur Winodw XP, ni sur linux ubuntu. En se moment meme je vous écrit du live cd.

Sur internet, jai fait ma recherche et j'ai découvert quee l'erreur 21 = disque pas trouvable (Vu que j'ai mi linux sur un deuxieme dique dur)

J'espere que vous pourrez m'aidez!:):D;)


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#2 Le 31/08/2008, à 18:34

xelator

Re : Erreur 21 avec Linux Ubuntu

Oui sur le livecd
va dans Applications > accessoire> terminal
puis tapes :
sudo fdisk -l
et post la réponse
la partition ou est installé ubuntu est visible dans le poste de travail ?
sinon tapes :
mount
puis post la réponse
(je t'aide en ligne de commande car c'est plus rapide que en graphique)

Hors ligne

#3 Le 31/08/2008, à 18:39

FB123

Re : Erreur 21 avec Linux Ubuntu

sa marque sa apres avoir inscrit sudo fdisk -l



Disque /dev/sda: 8455 Mo, 8455200768 octets
255 heads, 63 sectors/track, 1027 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0x73347334

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1        1026     8241313+   7  HPFS/NTFS

Disque /dev/sdb: 6448 Mo, 6448619520 octets
255 heads, 63 sectors/track, 784 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Identifiant disque: 0xacacacac

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               1         743     5968116   83  Linux
/dev/sdb2             744         784      329332+   5  Extended
/dev/sdb5             744         784      329301   82  Linux swap / Solaris

Disque /dev/sdc: 4100 Mo, 4100980736 octets
16 heads, 63 sectors/track, 7946 cylinders
Units = cylindres of 1008 * 512 = 516096 bytes
Identifiant disque: 0xd8ac6aa4

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdc1   *           1        7947     4004832+   b  W95 FAT32
ubuntu@ubuntu:~$


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#4 Le 31/08/2008, à 18:44

xelator

Re : Erreur 21 avec Linux Ubuntu

ok bon maintenant :
sudo umount /dev/sdb1
sudo mkdir /media/temp
sudo mount /dev/sdb1 /media/temp
sudo cat /media/temp/boot/grub/menu.lst

une à une....
donne tout ce qui s'affiche
pardon pour toutes ces commandes : normalement tout marche bien ... un newbie n'a pas à faire face à cela wink

Hors ligne

#5 Le 31/08/2008, à 18:45

FB123

Re : Erreur 21 avec Linux Ubuntu

Si c'est ceci que tu voulais savoir , a partir du poste de travail je vois le disque dur au est installer linux


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#6 Le 31/08/2008, à 18:48

xelator

Re : Erreur 21 avec Linux Ubuntu

FB123 a écrit :

Si c'est ceci que tu voulais savoir , a partir du poste de travail je vois le disque dur au est installer linux

cool alors c'est plus simple :
va dedans puis dans boot puis grub et ouvre menu.lst avec l'éditeur de texte puis colle le ici.
Il est effectivement important de répondre à toutes les questions

Hors ligne

#7 Le 31/08/2008, à 18:49

FB123

Re : Erreur 21 avec Linux Ubuntu

J'ai eu sa a la derniere commande


ubuntu@ubuntu:~$ sudo cat /media/temp/boot/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 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        3

## 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=f1c2868e-a17d-46a5-815b-c54f4492a3a8 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=f1c2868e-a17d-46a5-815b-c54f4492a3a8 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=f1c2868e-a17d-46a5-815b-c54f4492a3a8 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
ubuntu@ubuntu:~$


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#8 Le 31/08/2008, à 18:51

FB123

Re : Erreur 21 avec Linux Ubuntu

voila le menu.ist

# 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        3

## 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=f1c2868e-a17d-46a5-815b-c54f4492a3a8 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=f1c2868e-a17d-46a5-815b-c54f4492a3a8 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=f1c2868e-a17d-46a5-815b-c54f4492a3a8 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


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#9 Le 31/08/2008, à 18:57

xelator

Re : Erreur 21 avec Linux Ubuntu

Déjà dans un terminal :
sudo grub
root (hd1,0)
setup (hd0)
quit
Puis test
si ça marche pas, fait
sudo grub
root (hd1,0)
setup (hd1)
quit
Puis met le disque ubuntu en first boot dans le bios.
et retest

Hors ligne

#10 Le 31/08/2008, à 19:13

FB123

Re : Erreur 21 avec Linux Ubuntu

j'ai essayez ta premiere solution et sa n'a pas donné grand chose...J'esaye la deuxieme maintenant


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#11 Le 31/08/2008, à 19:42

FB123

Re : Erreur 21 avec Linux Ubuntu

Aucun resultat... ALors quoi faire??!!??


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#12 Le 31/08/2008, à 21:35

xelator

Re : Erreur 21 avec Linux Ubuntu

tu as essayé de changer l'ordre dans le bios ?
Pas grand chose ? je dois comprendre la même erreur ?

Dernière modification par xelator (Le 31/08/2008, à 21:36)

Hors ligne

#13 Le 31/08/2008, à 21:38

xelator

Re : Erreur 21 avec Linux Ubuntu

que donne :
sudo grub --batch
find /boot/grub/stage1

?

Hors ligne

#14 Le 31/08/2008, à 22:47

FB123

Re : Erreur 21 avec Linux Ubuntu

Sa donne ceci

ubuntu@ubuntu:~$ sudo grub --batch
Probing devices to guess BIOS drives. This may take a long time.

       [ Minimal BASH-like line editing is supported.   For
         the   first   word,  TAB  lists  possible  command
         completions.  Anywhere else TAB lists the possible
         completions of a device/filename. ]
grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd1,0)
grub>

Et dans le bios de mon ordi, on ne choisi pas lui qui est en premier...C'est le disque dur C: qu'il choisi.
J'aimerais aussi posez une autre questions: Mon Window XP professinonel est toujours présent sur mon premier disque dur,
et je voudrais y retourner vu que linux ne marche pas pour l'instant. Comment faire?

Dernière modification par FB123 (Le 31/08/2008, à 23:39)


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#15 Le 01/09/2008, à 09:30

xelator

Re : Erreur 21 avec Linux Ubuntu

FB123 a écrit :

Sa donne ceci

ubuntu@ubuntu:~$ sudo grub --batch
Probing devices to guess BIOS drives. This may take a long time.

       [ Minimal BASH-like line editing is supported.   For
         the   first   word,  TAB  lists  possible  command
         completions.  Anywhere else TAB lists the possible
         completions of a device/filename. ]
grub> find /boot/grub/stage1
find /boot/grub/stage1
(hd1,0)
grub>

Et dans le bios de mon ordi, on ne choisi pas lui qui est en premier...C'est le disque dur C: qu'il choisi.
J'aimerais aussi posez une autre questions: Mon Window XP professinonel est toujours présent sur mon premier disque dur,
et je voudrais y retourner vu que linux ne marche pas pour l'instant. Comment faire?

Tu bootes sur le cd de xp pour restaurer le mbr d'xp
http://www.google.fr/search?hl=fr&q=restaurer+mbr+xp&btnG=Recherche+Google&meta=&aq=f&oq=

Hors ligne

#16 Le 01/09/2008, à 17:24

FB123

Re : Erreur 21 avec Linux Ubuntu

Oui , merci, ton truc a fonctionner. Le (NOUVEAU) probleme c'est que le fichier ntldr est effecer et la je chercher partout sur internet pour pouvoir le copier d'ubuntu.

Au cas que tu ne serais pas c'est quoi, le fichier ntldr est l'un des trois fichiers les plus important de Window XP....Il sert a Booter le Syteme.

Alors j'ai une erreur me disant

NTLDR MANQUE

REDEMARER CTRL + ALT + DELETE

S.v.p, aidez moi si vous le pouvez.


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#17 Le 01/09/2008, à 17:43

xelator

Re : Erreur 21 avec Linux Ubuntu

FB123 a écrit :

Oui , merci, ton truc a fonctionner. Le (NOUVEAU) probleme c'est que le fichier ntldr est effecer et la je chercher partout sur internet pour pouvoir le copier d'ubuntu.

Au cas que tu ne serais pas c'est quoi, le fichier ntldr est l'un des trois fichiers les plus important de Window XP....Il sert a Booter le Syteme.

Alors j'ai une erreur me disant

NTLDR MANQUE

REDEMARER CTRL + ALT + DELETE

S.v.p, aidez moi si vous le pouvez.

En fait quand windows te dis quun fichier est effacé, il est bien la et le changer n'y fait rien... c'est windows ...
Cherche dans le forum avec ntldr , erreur fréquente je crois

Hors ligne

#18 Le 02/09/2008, à 01:32

FB123

Re : Erreur 21 avec Linux Ubuntu

non j'ai regarder et le fichier est effacer et il me faut un autre NTLDR.DLL sinon...pas de boot.j'ai demander a une amie mais elle n'a pas été en mesure de me donner le fichier (Vu qu'il faut quitter window pour que se fichier soit voyable) et que elle, elle n'est pas une super pro quand se n'est pas window....

P.S. J'ai pas de cd window


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#19 Le 02/09/2008, à 09:23

xelator

Re : Erreur 21 avec Linux Ubuntu

http://www.commentcamarche.net/faq/sujet-601-ntldr-boot-ini-ntdetect-manquant
http://www.google.fr/search?hl=fr&q=ntldr&btnG=Rechercher&meta=
J'ai un ntldr sous la main mais je sais pas si ça marchera...

Dernière modification par xelator (Le 02/09/2008, à 09:25)

Hors ligne

#20 Le 08/09/2008, à 00:22

FB123

Re : Erreur 21 avec Linux Ubuntu

Alors, peut tu me l'envoyer s'il vous plait! J'ai chercher sur je ne sais pas comment de forum et j'ai rien pu faire.En plus, Le forum que tu m'a envoyé je l'ai deja vu. Il faudrais que je possede un cd window XP mais j'en ai pas comme je l'ai deja dit.

Pour le ntldr, il me faudrais quelqu'un qui puisse m'en donné un de window XP car j'ai essayé avec un de window 2000 et sa ne marche pas.

P.S. désolé si je n'ai pas été là de la semaine , je n'avais pas trop le temp d'aller sur l'ordi (lol)

Dernière modification par FB123 (Le 08/09/2008, à 00:31)


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#21 Le 08/09/2008, à 22:43

xelator

Re : Erreur 21 avec Linux Ubuntu

donc le mail que je t'ai envoyé à foiré ...
je recommence

Hors ligne

#22 Le 09/09/2008, à 00:20

FB123

Re : Erreur 21 avec Linux Ubuntu

Si tu n'est pas capable de m'envoyer le fichier par mail alors tu n'a qu'a me l'envoyé par MSN(Je devrais etre la de 8:00 a 11:00 le 8 septembre)


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#23 Le 09/09/2008, à 00:22

compte supprimé

Re : Erreur 21 avec Linux Ubuntu

FB123 a écrit :

(Je devrais etre la de 8:00 a 11:00 le 8 septembre)

Euh... on est le 9.

#24 Le 09/09/2008, à 01:23

FB123

Re : Erreur 21 avec Linux Ubuntu

chewbax a écrit :
FB123 a écrit :

(Je devrais etre la de 8:00 a 11:00 le 8 septembre)

Euh... on est le 9.

MOi je suis au Quebec en Amerique du nord....Et ici on est le 8....

Dernière modification par FB123 (Le 09/09/2008, à 01:25)


[ :) ][ ;) ][ :D ]------ [LINUX] ------- [ :lol: ][ :cool: ][ :p ]
"Le ridicule ne tu pas xD"

Hors ligne

#25 Le 09/09/2008, à 01:41

compte supprimé

Re : Erreur 21 avec Linux Ubuntu

En fait je m'en doutais un peu lol

Par contre quand tu dis 8:00 à 11:00, c'est le soir? Parce que ça fait 2h à 5h du matin en France, or on est en semaine...