LILO ne veut pas ke je le configure

LILO ne veut pas ke je le configure - Installation - Linux et OS Alternatifs

Marsh Posté le 21-06-2003 à 12:56:21    

Salut à tous,
 
J'ai installé mdk 9.1 y'a une petite semaine en multiboot avec XP. Pendant l'install, j'ai choisi Lilo pour faire ce multiboot. Or, il m'a mis en boot principal mdk mais j'aimerais remettre Windows. Mais ca veut pas marcher. J'ai modifier lilo.conf a partir du gestionnaire kde et aussi a la main, ca change rien.
 
Voila mon lilo.conf :  
 

Citation :


boot="/dev/hda"
map=/boot/map
vga="792"
keytable=/boot/fr-latin1.klt
prompt
nowarn
timeout="100"
message=/boot/message
menu-scheme=wb:bw:wb:bw
default=windows
 
image="/boot/vmlinuz"
 label="linux"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 vga=788
 read-only
 
image="/boot/vmlinuz"
 label="linux-nonfb"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="devfs=mount hdd=ide-scsi acpi=off"
 read-only
 
image="/boot/vmlinuz"
 label="failsafe"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="failsafe devfs=nomount hdd=ide-scsi acpi=off"
 read-only
 
other=/dev/hda1
 label="windows"
 table=/dev/hda
 
image="/dev/hda1"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
image="/dev/hda1"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
image="/dev/hda1"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
other=/dev/hda3
 label="windows2"
 table=/dev/hda
 
image="/dev/hda3"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
image="/dev/hda3"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
other=/dev/fd0
 label="floppy"
 unsafe
 

 
 
Et voila l'erreur que j'ai quand je veut que Lilo prenne en compte cette modif :
 

Citation :


Configuration incorrecte ! Lilo a renvoyé le message suivant :
LILO version 22.4.1 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2002 John Coffman
Released 27-Jan-2003 and compiled at 11:11:26 on Feb 5 2003.
Reading boot sector from /dev/hda
Using GRAPHIC secondary loader
Calling map_insert_data
Mapping message file /boot/message -> message-graphic
Calling map_insert_file
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added linux
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added linux-nonfb
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added failsafe
Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Added windows *
Boot image: /dev/hda1 -> ide/host0/bus0/target0/lun0/part1
Fatal: Kernel doesn't support initial RAM disks

 
 
J'ai fait qq recherche mais j'ai pas troué ma solution.
 
Qqun a une idée?


---------------
De tous ceux qui n'ont rien à dire, les plus agréables sont ceux qui se taisent. Coluche
Reply

Marsh Posté le 21-06-2003 à 12:56:21   

Reply

Marsh Posté le 21-06-2003 à 16:14:30    

sebo777 a écrit :

Salut à tous,
 
J'ai installé mdk 9.1 y'a une petite semaine en multiboot avec XP. Pendant l'install, j'ai choisi Lilo pour faire ce multiboot. Or, il m'a mis en boot principal mdk mais j'aimerais remettre Windows. Mais ca veut pas marcher. J'ai modifier lilo.conf a partir du gestionnaire kde et aussi a la main, ca change rien.
 
Voila mon lilo.conf :  
 

Citation :


boot="/dev/hda"
map=/boot/map
vga="792"
keytable=/boot/fr-latin1.klt
prompt
nowarn
timeout="100"
message=/boot/message
menu-scheme=wb:bw:wb:bw
default=windows
 
image="/boot/vmlinuz"
 label="linux"
 root="/dev/hda2"
initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 vga=788
 read-only
 
image="/boot/vmlinuz"
 label="linux-nonfb"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="devfs=mount hdd=ide-scsi acpi=off"
 read-only
 
image="/boot/vmlinuz"
 label="failsafe"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="failsafe devfs=nomount hdd=ide-scsi acpi=off"
 read-only
 
other=/dev/hda1
 label="windows"
 table=/dev/hda
 
image="/dev/hda1"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
image="/dev/hda1"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
image="/dev/hda1"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
other=/dev/hda3
 label="windows2"
 table=/dev/hda
 
image="/dev/hda3"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
image="/dev/hda3"
 root="/dev/hda2"
 initrd="/boot/initrd.img"
 append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
other=/dev/fd0
 label="floppy"
 unsafe
 

 
 
Et voila l'erreur que j'ai quand je veut que Lilo prenne en compte cette modif :
 

Citation :


Configuration incorrecte ! Lilo a renvoyé le message suivant :
LILO version 22.4.1 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2002 John Coffman
Released 27-Jan-2003 and compiled at 11:11:26 on Feb 5 2003.
Reading boot sector from /dev/hda
Using GRAPHIC secondary loader
Calling map_insert_data
Mapping message file /boot/message -> message-graphic
Calling map_insert_file
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added linux
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added linux-nonfb
Boot image: /boot/vmlinuz -> vmlinuz-2.4.21-0.13mdk
Mapping RAM disk /boot/initrd.img -> initrd-2.4.21-0.13mdk.img
Added failsafe
Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Added windows *
Boot image: /dev/hda1 -> ide/host0/bus0/target0/lun0/part1
Fatal: Kernel doesn't support initial RAM disks

 
 
J'ai fait qq recherche mais j'ai pas troué ma solution.
 
Qqun a une idée?


 
Peut-être ça ?  :heink:  
Tu n'aurais pas recompilé ton kernel récemment ? Dans ce cas, tu n'as pas configuré une option qui doit ressemblé à ça "Initial RAM Disk support".


Message édité par Dacal le 21-06-2003 à 16:15:34
Reply

Marsh Posté le 21-06-2003 à 20:40:40    


image="/dev/hda1"
root="/dev/hda2"
initrd="/boot/initrd.img"
append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
image="/dev/hda1"
root="/dev/hda2"
initrd="/boot/initrd.img"
append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
image="/dev/hda1"
root="/dev/hda2"
initrd="/boot/initrd.img"
append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
other=/dev/hda3
label="windows2"
table=/dev/hda
 
image="/dev/hda3"
root="/dev/hda2"
initrd="/boot/initrd.img"
append="quiet devfs=mount hdd=ide-scsi acpi=off"
 
image="/dev/hda3"
root="/dev/hda2"
initrd="/boot/initrd.img"
append="quiet devfs=mount hdd=ide-scsi acpi=off"

 
 
faut peut-être que je révise mon man lilo.conf mais pour moi, ça ne veut rien dire.

Reply

Marsh Posté le 21-06-2003 à 20:44:20    

image attend un noyau et là ce sont des devices/partitions. forcement, elles ne comportent pas support initrd ;)

Reply

Marsh Posté le 22-06-2003 à 13:21:58    

Citation :

image=/boot/bzImage      # ton  noyau
        label=sofiane
        root=/dev/hda1
        read-only
        optional
        vga=791
        append="devfs=mount"
        initrd=/boot/initrd-sof.img

 
 
genre ca quoi.

Reply

Marsh Posté le 22-06-2003 à 13:32:04    

Citation :


 
Peut-être ça ?  :heink:  
Tu n'aurais pas recompilé ton kernel récemment ? Dans ce cas, tu n'as pas configuré une option qui doit ressemblé à ça "Initial RAM Disk support".


 
Bah non, j'ai pas touché à ca .J'ai juste installé 3 ou 4  drivers et autres.
 
 

Citation :

image attend un noyau et là ce sont des devices/partitions. forcement, elles ne comportent pas support initrd ;)


 
En tout cas, c'est pas moi qui ai marqué tout ca. C'est mkd pendant l'install.


---------------
De tous ceux qui n'ont rien à dire, les plus agréables sont ceux qui se taisent. Coluche
Reply

Marsh Posté le 22-06-2003 à 22:03:12    

eh bé zozo !!!!
 
juste pour un salut !
 
vive Linux...

Reply

Marsh Posté le 25-06-2003 à 09:18:19    

Un ch'tit up !!!!!


---------------
De tous ceux qui n'ont rien à dire, les plus agréables sont ceux qui se taisent. Coluche
Reply

Marsh Posté le 25-06-2003 à 09:48:01    

sebo777 a écrit :

[quote]
En tout cas, c'est pas moi qui ai marqué tout ca. C'est mkd pendant l'install.


Ben MDK s'est vautrée... Vire toutes les entrées qui commencent par image="/dev/hd??" et réessaye.

Reply

Marsh Posté le 25-06-2003 à 09:53:33    

il est bizzare ton lilo.conf surtout qu'il me semble y avoir bcp de redondances inutiles :/ !!
 
Je regarderai de ce coté là perso! Cherche sur www.google.com/linux tu trouvera des beaux lilos qui marchent !


---------------
-= In Kik00 101 I trust :o =-
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed