[lilo] pour 2 linux sur 2 disk séparée

Résolu/Fermé
cathan Messages postés 161 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 30 mars 2007 - 25 avril 2006 à 06:52
cathan Messages postés 161 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 30 mars 2007 - 28 avril 2006 à 07:13
Bonjour all, j'ai installé un mandriva2006 sur mon hda1 et un fedora core 5 sur une autre disk hdb1. j'ai pas mal chercher sur google comment configurer lilo et grub pour les disk séparé et j'ai essayé plusieur trucs mais aucun ne marche. si quelqu'un a une idée je lui serai reconnaissant.
A voir également:

31 réponses

Resalut
Voici une copie de mon /etc/lilo.conf si cela peut aider; j'ai 4 système sur un DD de 80 Go, Mandrake9.2, Debian Sarge, Talinux et Win xp


default="Mandrake_linux"
keytable=/boot/fr-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="Mandrake_linux"
root=/dev/hda8
initrd=/boot/initrd.img
append="devfs=mount hdb=ide-scsi acpi=ht resume=/dev/hda6"
read-only
#image=/boot/vmlinuz
# label="failsafe"
# root=/dev/hda8
# initrd=/boot/initrd.img
# append="failsafe devfs=nomount hdb=ide-scsi acpi=ht resume=/dev/hda6"
# read-only
other=/dev/hda1
label="windows_xp"
table=/dev/hda
#other=/dev/fd0
# label="floppy"
# unsafe
image=/boot/vmlinuz-2.4.27-2-386
label="Debian_Sarge"
root=/dev/hda7
initrd=/boot/initrd.img-2.4.27-2-386
read-only
image=/boot/vmlinux24
label="Talinux"
root=/dev/hda3
#initrd=/boot/initrd.img-2.4.27-2-386
read-only

Courage.
BMC
0
cathan Messages postés 161 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 30 mars 2007 1
27 avril 2006 à 10:59
Vous êtes sympa.

je me suis inspiré du lilo.conf de Bramec pour configurer mon lilo mais c'est toujour la même chose...

voilà, je viens d'installer grub avec drakconf mais il ne détècte pas automatiquement les linux installés.
0
cede Messages postés 1238 Date d'inscription lundi 12 septembre 2005 Statut Contributeur Dernière intervention 9 décembre 2008 111
27 avril 2006 à 11:18
Bonjour,

C'est étonnant ce que tu dis :
je viens d'installer grub avec drakconf mais il ne détècte pas automatiquement les linux installés.

parce que en général, tous les OS installés sont détectés,
regarde bien dans ton /boot/grub/grub.conf (ou menu.lst)

Si tu te sers de grub, il y a une chose importante à connaître,
grub compte à partir de 0

Je m'explique
hda correspond dans grub à ...........hd0
hdb .............................................hd1
sda...............................................sd0

hda1 est noté dans grub..................(hd0,0)
hda2.............................................(hd0,1)
hdb4.............................................(hd1,3)

etc.....

A+.
0
cathan Messages postés 161 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 30 mars 2007 1
27 avril 2006 à 15:19
Merci, je commence à comprendre le fonctionnement de grub. Alors j'ai mis dans menu.lst les lignes suivantes :

default=0
timeout=5
splashimage=(hd0,8)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
root (hd0,8)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5.img

title mandriva
root (hd0,4)
kernel /boot/vmlinuz-2.6.12-12mdk ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.12-12mdk.img

Quand je rédemarre, fedora boot bien mais mandriva après avoir detecter et décompresser le noyau me dit : "kernel panic : no init found try passing init = option to kernel"

je ne comprend pas.

Merci à vous tous d'être si patient
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
cede Messages postés 1238 Date d'inscription lundi 12 septembre 2005 Statut Contributeur Dernière intervention 9 décembre 2008 111
27 avril 2006 à 16:40
Re-

J'avais écrit ceci dans mon post <24>
sda...............................................sd0

Ce n'est pas juste, car grub note toujours hd,
quel que soit le disque (IDE ou SATA)
sda sera noté hd0 ou hd1 ou hd2 suivant la numérotation de grub.

Voilà qui est corrigé.

Ce tuto sur grub devrait te permettre de résoudre le problème de démarrage de ta mandriva :
http://www.graoulug.org/wiki/wakka.php?wiki=GRUB

J'essaierai ceci :
title mandriva
root (hd0,4)
kernel /boot/vmlinuz-2.6.12-12mdk ro root=/dev/hda5 rhgb quiet
initrd /boot/initrd-2.6.12-12mdk.img


A+.
0
cathan Messages postés 161 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 30 mars 2007 1
27 avril 2006 à 17:29
Grand Merci pour ta remarque avec root=/dev/hda5.

maintenant mandriva démarre mais en mode console. au moins c'est déjà ça. Quand je logue sous un utilisateur puis sous root et j'essaye de démarrer l'affichage graphique avec startx, il me répond : X10 : fatal IO error 104 (connexion reset by peer ) on X server ":0.0"

Peut e^tre à cause des options dans grub ?? merci encore
0
cede Messages postés 1238 Date d'inscription lundi 12 septembre 2005 Statut Contributeur Dernière intervention 9 décembre 2008 111
27 avril 2006 à 18:21
Re-

Quand tu lances mandriva, que renvoie la commande :
ls -l /boot

A+.
0
cathan Messages postés 161 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 30 mars 2007 1
27 avril 2006 à 18:46
il m'affiche tous ce qui se trouve dans le dossier boot. j'ai fait ls -l /boot >home/cathan/boot.txt et je vous donne le contenu de boot.txt.

total 5500
-rwxrwxrwx 1 root root 512 avr 16 19:53 boot.0300*
lrwxrwxrwx 1 root root 19 avr 27 19:50 config -> config-2.6.12-12mdk*
-rwxrwxrwx 1 root root 71299 sep 9 2005 config-2.6.12-12mdk*
-rwxrwxrwx 1 root root 54087 mar 17 2004 config-2.6.3-7mdk*
-rwxrwxrwx 1 root root 256 avr 16 19:53 fr-latin1.klt*
-rwxrwxrwx 1 root root 187085 avr 18 11:24 initrd-2.6.12-12mdk.img*
-rwxrwxrwx 1 root root 103596 avr 16 20:02 initrd-2.6.3-7mdk.img*
lrwxrwxrwx 1 root root 23 avr 16 20:19 initrd.img -> initrd-2.6.12-12mdk.img*
lrwxrwxrwx 1 root root 27 avr 27 19:51 kernel.h -> /boot/kernel.h-2.6.12-12mdk*
-rwxrwxrwx 1 root root 695 avr 16 18:22 kernel.h-2.6.12-12mdk*
-rw------- 1 root root 292864 avr 27 10:40 map
lrwxrwxrwx 1 root root 15 avr 27 10:27 message -> message-graphic*
-rwxrwxrwx 1 root root 254766 sep 12 2005 message-graphic*
-rwxrwxrwx 1 root root 155 avr 16 19:53 message-text*
lrwxrwxrwx 1 root root 23 avr 16 18:22 System.map -> System.map-2.6.12-12mdk*
-rwxrwxrwx 1 root root 639316 sep 9 2005 System.map-2.6.12-12mdk*
-rwxrwxrwx 1 root root 898908 mar 17 2004 System.map-2.6.3-7mdk*
lrwxrwxrwx 1 root root 20 avr 16 20:19 vmlinuz -> vmlinuz-2.6.12-12mdk*
-rwxrwxrwx 1 root root 1608520 sep 9 2005 vmlinuz-2.6.12-12mdk*
-rwxrwxrwx 1 root root 1440198 mar 17 2004 vmlinuz-2.6.3-7mdk*


voilà.
0
cede Messages postés 1238 Date d'inscription lundi 12 septembre 2005 Statut Contributeur Dernière intervention 9 décembre 2008 111
27 avril 2006 à 19:04
Re-

Regarde parmi ces liens, tu devrais y trouver qq chose concernant ton problème :
http://www.google.com/linux?hl=fr&q=X10+%3A+fatal+IO+error+104&btnG=Rechercher&lr=

A+.
0
agent gable Messages postés 1 Date d'inscription mercredi 22 mars 2006 Statut Membre Dernière intervention 27 avril 2006
27 avril 2006 à 19:31
Bonjour à tous !!!

si vous voulez des astuces linux inédites et des astuces informatique en général et même des astuces ogame allez sur ce site .
http://www.linxutile.new.fr

c' est pas de la pub que je fait c'est un devoir d'internote !
0
cathan Messages postés 161 Date d'inscription mardi 21 juin 2005 Statut Membre Dernière intervention 30 mars 2007 1
28 avril 2006 à 07:13
merci à tous j'ai trouvé le problème.en faisant startx il m'affichait /dev/fb0 no such file or directory puis no devices found, je pensait que le modules de ma carte graphique n'etait chargée alors je suis aller dans drakconf pour reconfigurer Display puis j'ai fai le test et ça a matché. ce que je comprend pas c'est pourquoi ça a changé.
Bn voilà et encore un très Grand Merci à tous et vive LINUX.
0