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 22/04/2008, à 15:14

jklmmlkj

Problème triple boot avec Grub

Salut tout le monde, je vais tenter d'expliquer ma situation un peu complexe!

Donc voila, j'ai trois disques durs branchés en Sata contenant chacun un système d'exploitation qui sont:
-Windows Vista 64 bits
-Windows XP
-Linux: Kubuntu 7.1 en 64bits

J'ai installé il n'y a pas longtemps Linux et je précise aussi que je débute dans cet OS! Après plusieurs problèmes pour l'installer avec le LiveCd (écran qui s'éteignait tous le temps au moment du chargement), j'ai réussi à l'installer avec l'Alternate Cd, malheureusement, un message d'erreur me parvenait au moment du chargement ("erreur lors du chargement du systeme d'exploitati"). J'ai réussi à régler ce problème en débranchant les autres disques durs (c'est à dire, ceux où il y avait Xp et Vista). Je les ai par la suite rebranché. Or, un autre problème persistait, l'écran s'éteignait au moment du chargement de Linux (comme pour le LiveCd), j'ai donc était obligé de démarrer Linux sans le "splashscreen", ce qui avait marché puis j'ai pu aller à la Konsole pour télécharger envy, puis télécharger les pilotes de ma carte graphique (Geforce 8800gt). Ça à heureusement marché!

Maintenant, le problème et que je ne peut plus aller sur Xp et que je n'ai pas le choix dans Grub à part Kubuntu.

En effet, ma carte mère à un système pour choisir sur quel disque dur je peut booter. Actuellement, je suis sur Vista et je voudrai que ce soit la priorité pour lui dans Grub.
Lorsque je démarre l'ordi, c'est Kubuntu qui démarre, mais j'ai un message d'erreur qui s'affiche dans Grub(un problème de partition il me semble) avant de démarrer Kubuntu, mais je réussi à le booter grâce au choix de boot sur ma carte mère. Donc ce n'est pas trop un problème.
En revanche, lorsque je boot sur Xp avec le choix de boot de ma carte mère, j'ai Grub qui s'affiche avec le même problème (problème de partition). Or, lorsque je boot sur Vista, je n'ai pas de problème!

Pour plus d'information, voici mon "sudo fdisk -l"

Disk /dev/sda: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xad88ad88

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4063    30716248+   7  HPFS/NTFS
/dev/sda2            4064       20674   125572096    7  HPFS/NTFS

Disk /dev/sdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2713b3b8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       14334   115137823+  83  Linux
/dev/sdb2           14335       14946     4915890    5  Extended
/dev/sdb5           14335       14946     4915858+  82  Linux swap / Solaris

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe7c5f34d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1       20398   163840000    7  HPFS/NTFS
/dev/sdc2           20398       60802   324544512    7  HPFS/NTFS

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8d399bc0

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1       60800   488375968+   c  W95 FAT32 (LBA)

Disk /dev/sdf: 1024 MB, 1024450560 bytes
16 heads, 63 sectors/track, 1985 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1   *           1        1984      999904+   b  W95 FAT32

Disk /dev/sdh: 239 MB, 239075328 bytes
16 heads, 32 sectors/track, 912 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdh1   *           1         911      233069+   6  FAT16

ainsi que mon "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 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=2f9d7035-59b4-4eda-8f96-913a4c9d1de9 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

## 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=2f9d7035-59b4-4eda-8f96-913a4c9d1de9 ro quiet splash
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=2f9d7035-59b4-4eda-8f96-913a4c9d1de9 ro single
initrd          /boot/initrd.img-2.6.22-14-generic

title           Ubuntu 7.10, memtest86+
root            (hd0,0)
kernel          /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

Je tiens à préciser que j'ai rajouter "#" devant "hiddenmenu" car il n'y était pas.

Ma config:

-P5N32-E SLI
-Geforce 8800 Gt 512 mb
-2 Go Ram DDR 2 (800mhz)
-Intel Quad Q6600 (2,4 Ghz)
-3 disques durs Sata + un disque dur externe en USB


Voila j'espère avoir était compréhensif!
Merci de vos réponses!

Hors ligne

#2 Le 22/04/2008, à 15:27

Compte anonymisé

Re : Problème triple boot avec Grub

Salut

Pourrais-tu préciser dans quel disques se trouvent Xp et Vista ?

@+

#3 Le 22/04/2008, à 15:37

jklmmlkj

Re : Problème triple boot avec Grub

Xp est dans le disque dur ST316081 de 160 Go (partionné en 2);
Vista est dans le disque dur Samsung de 500 Go (partionné en 2).

Je précise aussi que je n'ai pas accès à internet sur Linux.

Merci.

Hors ligne

#4 Le 22/04/2008, à 16:27

Compte anonymisé

Re : Problème triple boot avec Grub

Donc tu devrais, dans le bios, déclarer le dd 160 go bootable
A partir de là tu démarres sur le cd Xp et tu lances la console de récupération.
là tu tapes la commande :
fixmbr

Normalement ton Xp devrait démarrer.
Maintenant si tu souhaites pouvoir démarrer tous tes systèmes depuis Grub il faut remettre /dev/sdb en boot et rajouter en fin de menu.lst après la ligne :
### END DEBIAN AUTOMAGIC KERNELS LIST
les lignes suivantes :

# This entry automatically added by the Debian installer for a non-linux OS

# on /dev/sda1

title        Microsoft Windows XP ou VISTA

root        (hd1,0)
savedefault
map    (hd0) (hd1)
map    (hd1) (hd0)
chainloader    +1

# This entry automatically added by the Debian installer for a non-linux OS

# on /dev/sdc1

title        Microsoft Windows XP ou VISTA

root        (hd2,0)
savedefault
map    (hd0) (hd2)
map    (hd2) (hd0)
chainloader    +1

En fait je ne suis pas sûr de l'appellation que prendrons les disques Xp et Vista lors du boot sur le disque Ubuntu (/dev/sdb).
Donc à toi de rectifier le titre en fonction des résultats.

@+

#5 Le 22/04/2008, à 16:54

jklmmlkj

Re : Problème triple boot avec Grub

Merci beaucoup, XP remarche!
J'essayerai plus tard le reste!

Hors ligne