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 24/04/2007, à 13:59

Evilboy

Probleme avec Grub et vista

bon jour a tous smile
Voila j ai installe ubuntu 7.04 l installe se passe bien sauf que grub ne me propose pas vista ou xp (en fait surtout vista m interesse)
j ai regarde les tutos grub mais je patauge.
vista est sur la 2eme partition du premier sata.


moi j avais ajouter ca au menu.lst

title        Windows Vista
root        (hd0,1)
savedefault
makeactive
chainloader    +1

mais bon ca fait rien sad

#2 Le 24/04/2007, à 14:02

Evilboy

Re : Probleme avec Grub et vista

j ai tester hd0,2 pareil

#3 Le 24/04/2007, à 14:02

rele

Re : Probleme avec Grub et vista

Windows n'aime pas être sur une deuxième partition... Mais je ne sais pas si le problème vient de là. Enfin y'a pas mal de chances quand même.

Envoies ton grub.conf en entier en cas.

Dernière modification par rele (Le 24/04/2007, à 14:03)

Hors ligne

#4 Le 24/04/2007, à 14:15

Evilboy

Re : Probleme avec Grub et vista

# 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		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=f407d23b-fbc4-45df-a8c4-ae614c080be0 ro

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

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

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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.20-15-generic
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=f407d23b-fbc4-45df-a8c4-ae614c080be0 ro quiet splash locale=fr_FR
initrd		/boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=f407d23b-fbc4-45df-a8c4-ae614c080be0 ro single
initrd		/boot/initrd.img-2.6.20-15-generic

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

### END DEBIAN AUTOMAGIC KERNELS LIST

#5 Le 24/04/2007, à 14:17

Evilboy

Re : Probleme avec Grub et vista

Disque /dev/sda: 500.1 Go, 500107862016 octets
255 têtes, 63 secteurs/piste, 60801 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       10198    51199155    7  HPFS/NTFS
/dev/sda3           10199       21672    92160000    7  HPFS/NTFS
/dev/sda4           21672       60801   314307105    f  W95 Etendu (LBA)
/dev/sda5           21672       38245   133120000    7  HPFS/NTFS
/dev/sda6           38245       54818   133120000    7  HPFS/NTFS
/dev/sda7           54819       55182     2923798+  82  Linux swap / Solaris
/dev/sda8           55183       56398     9767488+  83  Linux
/dev/sda9           56399       57614     9767488+  83  Linux
/dev/sda10          57615       60801    25599546    b  W95 FAT32

Disque /dev/sdb: 400.0 Go, 400088457216 octets
16 têtes, 63 secteurs/piste, 775221 cylindres
Unités = cylindres de 1008 * 512 = 516096 octets

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1   *           1      775221   390711352+  42  SFS

#6 Le 24/04/2007, à 14:20

rele

Re : Probleme avec Grub et vista

Et bin, il est où ton windows ? hmm
Au passage tu remarques dans l'exemple que windows est installé sur la première partoche wink.

Mon grub.conf pour te donner une idée (je n'utilise pas ubuntu mais bon c'est pareil).
                 

default 0
timeout 10

title=Gentoo Linux (2.6.20-gentoo-r6)
root (hd0,1)
kernel /boot/kernel-genkernel-x86-2.6.20-gentoo-r6 root=/dev/ram0 init=/linuxrc$
initrd /boot/initramfs-genkernel-x86-2.6.20-gentoo-r6

title=Gentoo Linux
root (hd0,1)
kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/linuxrc$
initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5

# Uniquement pour démarrer un autre système.
title=Fenêtres XP
rootnoverify (hd0,0)
makeactive
chainloader +1

Ouah toutes ces partoches !!!
Bon sinon si grub est installé dans le MBR les fanions d'amorce servent plus à grand chose...

Dernière modification par rele (Le 24/04/2007, à 14:24)

Hors ligne

#7 Le 24/04/2007, à 14:22

Evilboy

Re : Probleme avec Grub et vista

en fait la 1ere c est xp la 2eme vista

#8 Le 24/04/2007, à 14:25

rele

Re : Probleme avec Grub et vista

Ha, j'ai jamais vu de système avec les deux OS de Redmond à la fois ^^.
C'est quoi le disque en SFS ? Je connais pas ce filesystem, tu t'en sers pour quoi ?

Dernière modification par rele (Le 24/04/2007, à 14:27)

Hors ligne

#9 Le 24/04/2007, à 14:34

Evilboy

Re : Probleme avec Grub et vista

c est bon tout marche merci smile

le SFS je pense que c est un peu le grub pour windows .
car au demarrage de hd(0.0) j ai un dual boot entre xp et vista
je pense que c est ca smile

#10 Le 24/04/2007, à 14:45

rele

Re : Probleme avec Grub et vista

Pourrais-tu expliquer comment tu as résolu le problème ? ca pourra servir à d'autres wink
Sinon grub est est un programme, SFS un système de fichiers, donc pas vraiment la même chose... Mais bon, j'irai voir par moi-même, ca m'occupera wink.

Hors ligne

#11 Le 24/04/2007, à 15:06

Evilboy

Re : Probleme avec Grub et vista

rele a écrit :

Pourrais-tu expliquer comment tu as résolu le problème ? ca pourra servir à d'autres wink
Sinon grub est est un programme, SFS un système de fichiers, donc pas vraiment la même chose... Mais bon, j'irai voir par moi-même, ca m'occupera wink.

ba j ai mis la meme chose que toi et comme le dual boot des deux windows etait sur la premiere partition (celle de xp chez moi) j ai eu de nouveau acces a vista