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 14/10/2007, à 16:04

boybad02

Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Bonjour.

Il y a peu, j'ai décidé de supprimer les partitions d'ubuntu que j'avais grâce à Gnome partition editor présent sur le live CD d'ubuntu. J'ai donc supprimer toutes les partitions ext3 et swap, puis j'ai laissé les partitions ntfs qui sont celles de windows si je ne me trompe pas.

Donc j'ai du redémarrer l'ordinateur, et à ma grande surprise, il y avait un message genre
Code:

please wait...
Grub error 22

Donc j'ai décidé d'installer ubuntu pour pouvoir aller sur internet et tout, donc après mon installation d'ubuntu, ubuntu marche bien. Mais moi je veux que Windows marche ! Donc j'ai réessayer de lancer windows, il y avait le petit chargement windows xp au début, mais ça s'est terminé par un écran bleu.


Svp, j'ai vraiment besoin d'aide, sans windows je peux rien faire:(

Ps: j'ai regardé le dossier sur grub sur le site, mais j'ai pas compris grand chose, d'ailleurs on me propose de le restaurer en gravant un tout petit fichier sur un CD, mais je ne sais pas comment graver des .iso avec ubuntu.
PPs: je n'ai pas de CD d'installation de windows XP car mon ordi est de marque Packard Bell, et ce dernier ne fournit pas de CD Windows Xp... Par contre j'ai un LiveCD ubuntu...


Merci d'avance pour votre aide !

#2 Le 14/10/2007, à 16:07

revlam

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Tu peux aussi essayer ceci :

Tu inseres le CD de Kubuntu en Live et executes les commandes

sudo grub 
grub> find /boot/grub/stage1 
grub> root (sd?,?) # ? doit être remplacé par le texte retrouvé de commande antérieure 
grub> setup (hd0) 
grub> quit

Dernière modification par revlam (Le 14/10/2007, à 16:09)

Hors ligne

#3 Le 14/10/2007, à 16:10

boybad02

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Oui il me le détècte (enfait avant ça me marquait erreur 22 grub, mais maintenant, après le chargement de windows xp ca me met l'écran bleu et je peux rien faire).

Ps: je sais pas comment poster un fichier de config grub et un fdisk -l désolé:D

#4 Le 14/10/2007, à 16:11

boybad02

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Oui j'ai déjà essayé cette solution (mais j'avais remplacé sd par hd)

#5 Le 14/10/2007, à 22:15

ptilou

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

tu dois avoit une partition (D sous windows) /dev/hda2 en ntfs qui à priori contient le liinstall du windows d'origine c'est très souvent comme ça qui ce genre d'ordi est vendu en tous cas du pakard bell que j(a.
Pour poster le résultat de fdisk ou autre chose tout silokement copier coller
Tant que tu y est mets ton, fichier mrenu.lst qui est dans /boot/grub mais j'ai peur que tu ai flingué un bout de windowx en manipant tes partitions
Là il faudra booter sur cette fameuse partition D pour réparer si on peut dire un jour qu'un windowx est réparé (humour)
Allez envoie ton fidisk et menu.lst
Joyeux courage


Il y a pire que le bruit des bottes : le silence des pantoufles

Hors ligne

#6 Le 15/10/2007, à 18:49

boybad02

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Je sais qu'il faut faire un copier coller pour poster le menu.lst et le fdisk !:lol:
Mais je sais pas comment on peut les afficher.

Quand je tape fdisk sous le terminal j'ai ça:

fdisk [-l] [-b TAILLE] [-u] périphérique
i.e.: fdisk /dev/hda  (pour le premier disque IDE)
  ou: fdisk /dev/sdc  (pour le 3e disque SCSI)
  ou: fdisk /dev/eda  (pour le 1er disque PS/2 ESDI)
  ou: fdisk /dev/rd/c0d0  ou: fdisk /dev/ida/c0d0  (pour des périphériques RAID)

#7 Le 15/10/2007, à 19:27

ptilou

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Pour fdisk taper dans le terminal
fdisk -l si tu ne mets pas -l ça marche pas
pour menu.lst
Dans le teminal taper
gedit /boot/grub/menu.lst
Joyeux courage


Il y a pire que le bruit des bottes : le silence des pantoufles

Hors ligne

#8 Le 15/10/2007, à 19:56

boybad02

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Donc quand je tape fdisk -l il n'y a rien.
Mais quand je tape l'autre code il y a tout ça:

# 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=0d84ceb3-5f0b-4c53-9c46-0143b051bf40 ro

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

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)

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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.20-16-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.20-16-generic root=UUID=0d84ceb3-5f0b-4c53-9c46-0143b051bf40 ro quiet splash
initrd		/boot/initrd.img-2.6.20-16-generic
quiet
savedefault

Si ça peut vous aider à m'aider xD

#9 Le 15/10/2007, à 20:50

ptilou

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Bon
Le fdisk lances le sous sudo c'est à dire tapes;
sudo fdisk -l
il va te demander ton password tu le tapes ( il ne s'affiche pas c'est normal) et entrée
le résultat est quelque chose du genre
Disque /dev/sda: 250.0 Go, 250059350016 octets
255 têtes, 63 secteurs/piste, 30401 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1   *           1        3824    30716248+   7  HPFS/NTFS
/dev/sda2            3825        7266    27647865   83  Linux
/dev/sda3            7267       30401   185831887+   5  Extended
/dev/sda5            7267        9656    19197643+  83  Linux
/dev/sda6            9657        9865     1678761   82  Linux swap / Solaris
/dev/sda7            9866       10426     4506201   83  Linux
/dev/sda8           10427       30401   160449156   83  Linux

Disque /dev/sdb: 250.0 Go, 250059350016 octets
255 têtes, 63 secteurs/piste, 30401 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               1        3824    30716248+  83  Linux
/dev/sdb2            3825        7266    27647865   83  Linux
/dev/sdb4            7267       30401   185831887+   f  W95 Etendu (LBA)
/dev/sdb5            7267        7475     1678729+  82  Linux swap / Solaris
/dev/sdb6            7476        8036     4506201   83  Linux
/dev/sdb7            8037       28010   160441123+  83  Linux
/dev/sdb8           28011       30401    19205676   83  Linux

Disque /dev/hdb: 40.0 Go, 40020664320 octets
255 têtes, 63 secteurs/piste, 4865 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/hdb1   *           1        3570    28675993+   c  W95 FAT32 (LBA)
/dev/hdb2            3571        4865    10402087+   f  W95 Etendu (LBA)
/dev/hdb5            3571        4208     5124703+   b  W95 FAT32
/dev/hdb6            4209        4865     5277321    b  W95 FAT32

Pour toi surrement plus et plus simple ( j'ai 3 disques 3 linux et 1 windows)

Ensuite pour le menu.lst
Soit tu n'as pas envoyé le fichier complet soit il y en un autre ailleurs. Le fichier que tu envoie se termine par:
## ## End Default Options ##

title        Ubuntu, kernel 2.6.20-16-generic
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.20-16-generic root=UUID=0d84ceb3-5f0b-4c53-9c46-0143b051bf40 ro quiet splash
initrd        /boot/initrd.img-2.6.20-16-generic
quiet
savedefault
ca c'est le boot linux en mode normal
pour windows tu devrai avoir ensuite quelque chose du genre
title        Windows 95/98/NT/2000
root        (hd0,0)
makeactive
chainloader    +1
Donc avec ce fichier (tel qu'il est dans le post) tu ne peux pas lancer windows du tout (donc tu n'as pas de risque d"écran bleu)
Allez joyeux courage
Ps tu passes tes commandes sous quoi ? Live cd? Ubuntu installé?


Il y a pire que le bruit des bottes : le silence des pantoufles

Hors ligne

#10 Le 16/10/2007, à 20:22

boybad02

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Voilà ce qu'il me met après un sudo fdisk -l

Disque /dev/hda: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/hda1               1        4934    39632323+   7  HPFS/NTFS
/dev/hda2   *       13477       19293    46725052+  83  Linux
/dev/hda3            4936       13476    68605582+   7  HPFS/NTFS
/dev/hda4           19294       19457     1317330    5  Extended
/dev/hda5           19294       19457     1317298+  82  Linux swap / Solaris

Les entrées de la table de partitions ne sont pas dans l'ordre du disque

#11 Le 16/10/2007, à 20:24

boybad02

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Et pour gedit /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 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=0d84ceb3-5f0b-4c53-9c46-0143b051bf40 ro

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

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)

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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.20-16-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.20-16-generic root=UUID=0d84ceb3-5f0b-4c53-9c46-0143b051bf40 ro quiet splash
initrd		/boot/initrd.img-2.6.20-16-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.20-16-generic root=UUID=0d84ceb3-5f0b-4c53-9c46-0143b051bf40 ro single
initrd		/boot/initrd.img-2.6.20-16-generic

title		Ubuntu, kernel 2.6.20-15-generic
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=0d84ceb3-5f0b-4c53-9c46-0143b051bf40 ro quiet splash
initrd		/boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=0d84ceb3-5f0b-4c53-9c46-0143b051bf40 ro single
initrd		/boot/initrd.img-2.6.20-15-generic

title		Ubuntu, memtest86+
root		(hd0,1)
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/hda1
title		Windows NT/2000/XP (loader)
root		(hd0,0)
savedefault
makeactive
chainloader	+1

Donc je tape les codes sous Ubuntu installé.

Ps: Windows ne démarre plus du tout. Après le petit chargement windows, j'ai un écran noir et rien d'autre, même après 1 heure d'attente.

#12 Le 17/10/2007, à 18:18

boybad02

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Alors ? de l'aide ?:(

#13 Le 19/10/2007, à 19:56

boybad02

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

UP ! Je vais mourir d'impatience:|

#14 Le 21/10/2007, à 11:26

ptilou

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

Bon
pour récupérer ton windows en dernier recourt tu peux démarrer sur le cd d'install windows puis choisir l'option réparer. Une fois choisi le système windows à réparer tu te retrouve sur une ligne de commandes La commande qui va te sortir du pétrin c'est fixmbr ou fixboot (me souvient plus très bien regarde l'aide)
Aprés ça ton windows devrait redémarrer mais tu n'auras plus grub sur ton mbr et donc plus d'accès à Ubuntu.


Il y a pire que le bruit des bottes : le silence des pantoufles

Hors ligne

#15 Le 21/10/2007, à 11:48

ptilou

Re : Grub erreur 22 puis écran bleu windows (pas de CD windows XP)

excuses
je dois pas être réveillé pas vu que tu n'avais pas de cd windows pourtant c'es dans le titre
C'est quoi ta machine ? Si c'est Packard Bell ou qqu chose du genre il est probable que ta 2ème partition ntfs soit ton windows d'origine. regarde la doc de ta machine car à partir de la on peu faire un cd windows;


Il y a pire que le bruit des bottes : le silence des pantoufles

Hors ligne