Impossible de booter sur Windows
Résolu
Spyro29
Messages postés
21
Date d'inscription
Statut
Membre
Dernière intervention
-
Spyro29 Messages postés 21 Date d'inscription Statut Membre Dernière intervention -
Spyro29 Messages postés 21 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
J'ai installer Ubuntu 9.04 hier soir. Depuis il m'est impossible de booter sur windows. Ma partition windows est intacte. J'ai pourtant essayé de modifier le grub afin de pouvoir choisir windows. Voici la modification que j'ai faite:
title Windows 7
root (sda,6) #(j'ai également essayé (hdo,6))
savedefault
makeactive
chainloader +1
mais lorsque je tente de booter sur Windows 7 dans le grub il me met "error while parsing number".(Je ne suis pas sur que la partitions windows soit la sda6.
J'ai donc créé un fichier fdisk.txt pour que vous puissiez m'aider, le voici:
Disque /dev/sda: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0xcb2cffb2
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 1 992+ 42 SFS
La partition 1 ne se termine pas sur une frontière de cylindre.
/dev/sda2 1 192 1536000 27 Inconnu
La partition 2 ne se termine pas sur une frontière de cylindre.
/dev/sda3 3393 19457 129042112+ 5 Etendue
/dev/sda4 205 3392 25600000 42 SFS
/dev/sda5 3393 6155 22193766 83 Linux
/dev/sda6 6156 19457 106848283+ 7 HPFS/NTFS
Les entrées de la table de partitions ne sont pas dans l'ordre du disque
J'ai également fait un fichier grub.txt:
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 15
## 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=7d26e722-3775-4c2c-9857-e6b195ce3e6d ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=7d26e722-3775-4c2c-9857-e6b195ce3e6d
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 9.04, kernel 2.6.28-11-generic
uuid 7d26e722-3775-4c2c-9857-e6b195ce3e6d
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7d26e722-3775-4c2c-9857-e6b195ce3e6d ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 7d26e722-3775-4c2c-9857-e6b195ce3e6d
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7d26e722-3775-4c2c-9857-e6b195ce3e6d ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid 7d26e722-3775-4c2c-9857-e6b195ce3e6d
kernel /boot/memtest86+.bin
quiet
title Windows 7
root (hd0,4)
makeactive
chainloader +1
#
### END DEBIAN AUTOMAGIC KERNELS LIST
Merci d'avance pour vos réponses.
J'ai installer Ubuntu 9.04 hier soir. Depuis il m'est impossible de booter sur windows. Ma partition windows est intacte. J'ai pourtant essayé de modifier le grub afin de pouvoir choisir windows. Voici la modification que j'ai faite:
title Windows 7
root (sda,6) #(j'ai également essayé (hdo,6))
savedefault
makeactive
chainloader +1
mais lorsque je tente de booter sur Windows 7 dans le grub il me met "error while parsing number".(Je ne suis pas sur que la partitions windows soit la sda6.
J'ai donc créé un fichier fdisk.txt pour que vous puissiez m'aider, le voici:
Disque /dev/sda: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Identifiant de disque : 0xcb2cffb2
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 1 992+ 42 SFS
La partition 1 ne se termine pas sur une frontière de cylindre.
/dev/sda2 1 192 1536000 27 Inconnu
La partition 2 ne se termine pas sur une frontière de cylindre.
/dev/sda3 3393 19457 129042112+ 5 Etendue
/dev/sda4 205 3392 25600000 42 SFS
/dev/sda5 3393 6155 22193766 83 Linux
/dev/sda6 6156 19457 106848283+ 7 HPFS/NTFS
Les entrées de la table de partitions ne sont pas dans l'ordre du disque
J'ai également fait un fichier grub.txt:
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 15
## 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=7d26e722-3775-4c2c-9857-e6b195ce3e6d ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=7d26e722-3775-4c2c-9857-e6b195ce3e6d
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 9.04, kernel 2.6.28-11-generic
uuid 7d26e722-3775-4c2c-9857-e6b195ce3e6d
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7d26e722-3775-4c2c-9857-e6b195ce3e6d ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 7d26e722-3775-4c2c-9857-e6b195ce3e6d
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=7d26e722-3775-4c2c-9857-e6b195ce3e6d ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid 7d26e722-3775-4c2c-9857-e6b195ce3e6d
kernel /boot/memtest86+.bin
quiet
title Windows 7
root (hd0,4)
makeactive
chainloader +1
#
### END DEBIAN AUTOMAGIC KERNELS LIST
Merci d'avance pour vos réponses.
A voir également:
- Impossible de booter sur Windows
- Clé de produit windows 10 gratuit - Guide
- Montage video windows - Guide
- Windows ne démarre pas - Guide
- Windows movie maker - Télécharger - Montage & Édition
- Dual boot windows - Guide
3 réponses
Salut,
title Windows 7
root (sda,6) #(j'ai également essayé (hdo,6))
savedefault
makeactive
chainloader +1
Essaye plutôt :
Dans (hd0,5), c'est un Zéro et non pas la lettre "o" ;-(
title Windows 7
root (sda,6) #(j'ai également essayé (hdo,6))
savedefault
makeactive
chainloader +1
Essaye plutôt :
title Windows 7 root (hd0,5) savedefault makeactive chainloader +1
Dans (hd0,5), c'est un Zéro et non pas la lettre "o" ;-(
Merci d'avoir répondu aussi vite,
Je viens d'essayer ce que tu m'as proposé, sur mon sujet j'avais commis une erreur de frappe mais dans le grub j'avais bien mis hd0. Cependant j'ai essayer (hd0,5) il me met une erreur lors du boot "Invalid device request".
J'ai pu remarquer que les "root" linux étaient bien plus complexes(root=UUID=7d26e722-3775-4c2c-9857-e6b195ce3e6d ro quiet splash) que ceux de windows (hd0,?). Je viens de me mettre a Linux et donc je ne maitrise pas encore bien (voir pas du tout) les lignes de commandes. Le root de windows ne devrait il pas etre aussi compliqué que celui de linux?
Merci d'avance our vos réponses.
Je viens d'essayer ce que tu m'as proposé, sur mon sujet j'avais commis une erreur de frappe mais dans le grub j'avais bien mis hd0. Cependant j'ai essayer (hd0,5) il me met une erreur lors du boot "Invalid device request".
J'ai pu remarquer que les "root" linux étaient bien plus complexes(root=UUID=7d26e722-3775-4c2c-9857-e6b195ce3e6d ro quiet splash) que ceux de windows (hd0,?). Je viens de me mettre a Linux et donc je ne maitrise pas encore bien (voir pas du tout) les lignes de commandes. Le root de windows ne devrait il pas etre aussi compliqué que celui de linux?
Merci d'avance our vos réponses.