Pages : 1
#1 Le 27/12/2007, à 21:58
- chavrou29
grub "error12" pour accés windows[résolu]
Bonsoir,
cela fait un bout de temps que je ne suis pas allé sur windows et je n'arrive pas à booter dessus.
je poste le sudo, je suis sur DD ext 80go pour ubuntu pour info, disc int win c:/ 80go
sudo fdisk -l
[sudo] password for patrick:
Disque /dev/sda: 80.0 Go, 80026361856 octets
255 heads, 63 sectors/track, 9729 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x04260425
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 383 3076416 12 Compaq diagnostics
/dev/sda2 * 384 5031 37335060 c W95 FAT32 (LBA)
/dev/sda3 5032 7346 18595237+ f W95 Etendu (LBA)
/dev/sda4 7347 9729 19141447+ c W95 FAT32 (LBA)
/dev/sda5 5032 7236 17711631 b W95 FAT32
Disque /dev/sdb: 8455 Mo, 8455200768 octets
255 heads, 63 sectors/track, 1027 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2a0a69d7
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 1 978 7855753+ b W95 FAT32
/dev/sdb2 979 1027 393592+ 5 Extended
Disque /dev/sdc: 80.0 Go, 80026361856 octets
255 heads, 63 sectors/track, 9729 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd1fb26c2
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdc1 * 1 5954 47825473+ 83 Linux
/dev/sdc2 9298 9729 3470040 5 Extended
/dev/sdc3 5955 9297 26852647+ b W95 FAT32
/dev/sdc5 9448 9729 2265133+ 82 Linux swap / Solaris
/dev/sdc6 9298 9447 1204812 82 Linux swap / Solaris
merci pour les précisions @+
Dernière modification par chavrou29 (Le 09/01/2008, à 21:53)
Hors ligne
#2 Le 27/12/2007, à 22:10
- denis_aec
Re : grub "error12" pour accés windows[résolu]
12 : Invalid device requested
Cette erreur est retournée si la chaà®ne de périphérique est valide mais que l'erreur ne correspond à aucune autre erreur de périphérique.
Donne nous le résultat de :
cat /boot/grub/menu.lst
cat /boot/grub/device.map
Hors ligne
#3 Le 27/12/2007, à 22:13
- chavrou29
Re : grub "error12" pour accés windows[résolu]
ok ci joint
# 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=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 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 ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.20-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
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/hda2
title Microsoft Windows XP �dition familiale
root (hd0,1)
savedefault
makeactive
chainloader +1
patrick@pat-feisty-usb:~$ cat /boot/grub/device.map
(hd0) /dev/hda
(hd1) /dev/hdb
(hd2) /dev/sde
merci @+
Dernière modification par michel2652 (Le 29/12/2007, à 18:13)
Hors ligne
#4 Le 27/12/2007, à 22:26
- denis_aec
Re : grub "error12" pour accés windows[résolu]
Reprends ton post et mets tout le menu.lst entre balise Quote ou Code (les bouton au-dessus de la zone de réponse), ce sera plus lisible. Merci d'avance
Visiblement, device.map et ton PC ne sont plus trop d'accord !
En console :
sudo update-grub
et réessaie de booter sur win
Dernière modification par denis_aec (Le 27/12/2007, à 22:38)
Hors ligne
#5 Le 27/12/2007, à 22:35
- chavrou29
Re : grub "error12" pour accés windows[résolu]
ci joint & je fais sudo pour essai @+
patrick@pat-feisty-usb:~$ cat /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=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 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 ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.20-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
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/hda2
title Microsoft Windows XP �dition familiale
root (hd0,1)
savedefault
makeactive
chainloader +1
patrick@pat-feisty-usb:~$
merci,
Dernière modification par michel2652 (Le 29/12/2007, à 18:14)
Hors ligne
#6 Le 27/12/2007, à 22:37
- chavrou29
Re : grub "error12" pour accés windows[résolu]
+++
sudo upgrade-grub, il me répond non trouvé
@+
Hors ligne
#7 Le 27/12/2007, à 22:38
- cep
Re : grub "error12" pour accés windows[résolu]
Visiblement, device.map et ton PC ne sont plus trop d'accord !
Probablement.
Mais, indépendament de la confusion, si l'on part du principe que /dev/sdc est (hd0), voir comment est reconnu /dev/sda2 qui est la partition de boot windows et utiliser l'option map de grub pour faire démarrer windows.
Sera (hd1,1) ou (hd2,1) pour windows ; à vérifier et ajouter map comme expliqué dans le wiki.
Bonne continuation.
cep
Hors ligne
#8 Le 27/12/2007, à 22:39
- denis_aec
Re : grub "error12" pour accés windows[résolu]
Oups, j'ai fait un gag :
sudo update-grub
Sorry !
Hors ligne
#9 Le 27/12/2007, à 22:55
- chavrou29
Re : grub "error12" pour accés windows[résolu]
post retour update!!
patrick@pat-feisty-usb:~$ sudo update-grub
[sudo] password for patrick:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.22-14-generic
Found kernel: /boot/vmlinuz-2.6.20-16-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
++,
Hors ligne
#10 Le 27/12/2007, à 23:10
- chavrou29
Re : grub "error12" pour accés windows[résolu]
Pour CEP
pourrais tu préciser STP,quel wiki ?ou comment faire?
merci,
Hors ligne
#11 Le 27/12/2007, à 23:29
- chavrou29
Re : grub "error12" pour accés windows[résolu]
+personne,
:(je suis en panne !!
@tchao,
Hors ligne
#12 Le 27/12/2007, à 23:34
- chavrou29
Re : grub "error12" pour accés windows[résolu]
j'ai essayé de afire sudo gedit/boot/...
voila le résultat ou dois je modifier?
# 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=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 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 ##
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, kernel 2.6.20-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.20-16-generic
quiet
title Ubuntu 7.10, kernel 2.6.20-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=460f2bdd-d5d8-4e6d-a412-bdbf9b0e1769 ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu 7.10, memtest86+
root (hd0,0)
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/hda2
title Microsoft Windows XP Âdition familiale
root (hd0,1)
savedefault
makeactive
chainloader +1
@++ et merci
Dernière modification par michel2652 (Le 29/12/2007, à 18:17)
Hors ligne
#13 Le 28/12/2007, à 00:16
- cep
Re : grub "error12" pour accés windows[résolu]
Pour CEP
pourrais tu préciser STP,quel wiki ?ou comment faire?
merci,
update-grub ne t'apportera rien car il se base sur la configuration actuelle.
Concernant le wiki, il s'agit du wiki de ce site.
http://doc.ubuntu-fr.org/
Dernière modification par cep (Le 28/12/2007, à 09:47)
Hors ligne
#14 Le 28/12/2007, à 11:57
- denis_aec
Re : grub "error12" pour accés windows[résolu]
Que donne maintenant device.map ?
Pour menu.lst, il faut modifier
title Microsoft Windows XP Âdition familiale
root (hd0,1)
en remplaçant root (hd0,1) par root (hd1,1) ou root (hd2,1) (à essayer ...)
puis mapper les disques (à ajouter après makeactive)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
(idem si hd2)
Ca devrait ressembler à ça (http://doc.ubuntu-fr.org/grub):
title Windows NT/2000/XP
root (hd1,1) # la partition a démarrer
makeactive # cette commande positionne le bit de partition active à 1 (au cas oà¹)
map (hd0) (hd1) # hd0 devient hd1
map (hd1) (hd0) # hd1 devient hd0 virtuellement
chainloader +1 # saut au début de la piste suivante car c'est un OS Microsoft(R).
Reprends tes posts et mets tout le menu.lst entre balise Quote ou Code (les bouton au-dessus de la zone de réponse), ce sera plus lisible. Merci d'avance
Dernière modification par denis_aec (Le 28/12/2007, à 12:09)
Hors ligne
#15 Le 29/12/2007, à 00:50
- chavrou29
Re : grub "error12" pour accés windows[résolu]
re salut, je te poste ceci.
j'ai fait sudo gedit /bootgrub/menu.lst pour faire la modif avec hd1 puis hd2
suite enregistrement hd1 --- error 11 pour aller sur xp
hd2 error 12 --- seulement dit moi suivant ceci si j'ai bien fait
title Windows NT/2000/XP
root (hd2,1)
makeactive
map (hd0) (hd2)
map (hd2) (hd0)
chainloader +1
je me demande si j'ai pas une bourre là !! au debut de l'install j'ai eu des soucis pour faire le bon chemin à grub !! ça doit dater de là
@+++ merci de ton aide
ps je n'ai pas saisi le wiki vu mon problème
Hors ligne
#16 Le 29/12/2007, à 09:04
- Compte anonymisé
Re : grub "error12" pour accés windows[résolu]
Salut
D'après tes posts il semble que tu ais installé ubuntu sur un dd usb externe.
Ce qui est bizarre dans la liste de fdisk -l, c'est que /dev/sda apparaisse en premier en premier. Mais enfin .....
Ce que je ferais à ta place :
débrancher le dd /dev/sdb qui doit être une clé usb (8 go)
débrancher le dd usb /dev/sdc
ensuite essaye de booter.
Si tu as une erreur grub c'est que le bootloader de grub est installé sur le dd interne.
Si ton pc est capable de booter sur usb, c'est sur le dd externe que devrait être installé grub.
Dans ce cas :
-dd externe branché et priorité de boot mise sur usb dans le bios --> démarrage sur usb
-dd externe débranché --> démarrage direct sur Xp
Dans tous les cas avec ta config actuelle, si tu débranches la clé usb (/dev/sdb) ça facilitera les recherches, tu modifies ainsi la paragraphe Xp :
title Windows NT/2000/XP
root (hd1,1)
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Peux-tu lister le fichier boot.ini qui devrait se trouver sur ton install Xp dans /dev/sda2
@+
Dernière modification par Compte anonymisé (Le 29/12/2007, à 09:05)
#17 Le 29/12/2007, à 09:50
- cep
Re : grub "error12" pour accés windows[résolu]
Inutile de multiplier les postes pour un même problème, ce qui ne fait que compliquer les choses sans apporter de solution.
Comme déja dit, il faut voir comment grub reconnait les disques, et dans quel ordre (ordre de boot).
Pour cela plusieurs solutions, par exemple :
http://www.cepcasa.info/blog/?p=15
L'autocomplétion ou la commande geometry feront cela très bien. Ensuite voir le wiki pour configurer le tout, ou le poste de denis_aec qui résume cela très bien.
Hors ligne
#18 Le 29/12/2007, à 18:20
- michel2652
Re : grub "error12" pour accés windows[résolu]
Bonjour,
@ chavrou29
STP, tu devrais lire et relire les 2 premières lignes de ce post http://forum.ubuntu-fr.org/viewtopic.ph … 3#p1418883.
Merci
A+