Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2994 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  Configuration GRUB avancée (3 systèmes)

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Configuration GRUB avancée (3 systèmes)

n°855778
Sachy
Posté le 25-10-2006 à 09:01:21  profilanswer
 

Voila j'ai deux disques durs: 1 IDE et 1 SATA
 
SATA1 - SDA1 (Grub)
  Windows XP
  SuSE 10.1
 
IDE1 - HDA1
  Fedora Core 6
 
J'arrive a booter sur XP et Suse depuis GRUB 1.5
 
Je viens d'installer FC6, mais dans la config de GRUB je ne sais pas quels critères rajouter pour que Grub boote ma distrib de FC6 (GRUB me demande: Kernel, disque virtuel inital, périphérique initial)
 
Kernel: 2.6.18 (si j'en crois la doc sur FC6)
disque virtuel initial: je ne sais pas
Périph initial: Dev/hda1 (je crois?)
 
Voila merci par avance :)


Message édité par Sachy le 25-10-2006 à 11:14:52
mood
Publicité
Posté le 25-10-2006 à 09:01:21  profilanswer
 

n°855800
Sachy
Posté le 25-10-2006 à 10:13:47  profilanswer
 

Le grub.conf du HDA1 contient ceci:
 

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
 root (hd0,0)
 kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
 initrd /initrd-2.6.18-1.2798.fc6.img
title Other
 rootnoverify (hd1,0)
 chainloader +1


Message édité par Sachy le 25-10-2006 à 10:14:01
n°855949
arghbis
salops de dauphins
Posté le 25-10-2006 à 16:21:45  profilanswer
 

dans le menu.lst de ta suse, tu peux rajouter soit:
title Fedora
rootnoverify (hd0,0)
chainloader +1
 
et ça te passera la main sur le chargeur fedora
 
soit :
title Fedora Core (2.6.18-1.2798.fc6)
 root (hd0,0)
 kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
 initrd /initrd-2.6.18-1.2798.fc6.img  
 
pour lancer directement fedora. Mais dans ce cas, tu ne profiteras pas de la mise à jour auto du menu.lst de fedora lors de changement de kernel

n°856015
Sachy
Posté le 25-10-2006 à 19:11:17  profilanswer
 

Je vais essayer ça (la 1ere soluce a l'air d'être préférable), merci beaucoup pour ta réponse claire :)

n°856110
Sachy
Posté le 25-10-2006 à 23:52:13  profilanswer
 

arghbis a écrit :

dans le menu.lst de ta suse, tu peux rajouter soit:
title Fedora
rootnoverify (hd0,0)
chainloader +1
 
et ça te passera la main sur le chargeur fedora


J'ai tenté ceci, et ça m'a lancé windows xp  
 
Pourtant XP est sur SDA1 :??: (Fedora Core est sur HDA1)


Message édité par Sachy le 25-10-2006 à 23:55:38
n°856135
arghbis
salops de dauphins
Posté le 26-10-2006 à 08:28:42  profilanswer
 

que contient le menu.lst de suse?
 
si ça se trouve, la détection des disques a été inversée. Essaye du coup :
title Fedora
rootnoverify (hd1,0)
chainloader +1

n°856164
Sachy
Posté le 26-10-2006 à 10:29:45  profilanswer
 

Voici ce que contient "menu.list" de la Suse:
 

# Modified by YaST2. Last modification on mer oct 25 11:14:46 CEST 2006
color white/blue black/light-gray
default 0
timeout 30
gfxmenu (hd0,6)/boot/message
 
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
    root (hd0,6)
    kernel /boot/vmlinuz root=/dev/sda7 vga=0x31a resume=/dev/sda6  splash=silent showopts
    initrd /boot/initrd
 
title FC6 test 1 (2.6.18-1.2798.fc6)
    rootnoverify (hd1,0)
    chainloader +1
 
title FC6 test 2
    root (hd1,0)  
    kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet  
    initrd /initrd-2.6.18-1.2798.fc6.img  
 
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows XP
    chainloader (hd0,0)+1
 
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
    root (hd0,6)
    kernel /boot/vmlinuz root=/dev/sda7 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
    initrd /boot/initrd
 
title Previous Kernel -- SUSE LINUX 10.1
    root (hd0,6)
    kernel /boot/vmlinuz.previous root=/dev/sda7 vga=0x31a resume=/dev/sda6  splash=silent showopts
    initrd /boot/initrd.previous

n°856782
Sachy
Posté le 28-10-2006 à 00:55:41  profilanswer
 

up


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Installation

  Configuration GRUB avancée (3 systèmes)

 

Sujets relatifs
[Carte PCIE] VRAM disponible et configuration de mttr ?Installer GRUB avec Debian Etch
ProFTP >> configuration et liens symboliques[Debian] Remise en place de grub après upgrade de disque dur
Configuration clé usb wifi sur Livebox inventel (Mandriva 2006 Free)Quelle distribution pour vieile configuration ?
[grub] quel boot principal ?Gros problème ubuntu/grub, je ne peux plus accéder à mon boot windows
Configuration de postgresql-8.1 sur Ubuntu[Bind] Configuration
Plus de sujets relatifs à : Configuration GRUB avancée (3 systèmes)


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR