Problème avec lilo pour multiboot entre xp et linux

Problème avec lilo pour multiboot entre xp et linux - Linux et OS Alternatifs

Marsh Posté le 12-09-2005 à 14:49:22    

bonjour quand je suis sous debian et que je tape lilo dans le terminal j'ai bien comme retour :
 
added debian
added windows
 
mais au démarrage je n'ai aucun choix, lilo se charge et lance debian, sans choix possible.
 
 
j'ai bien dans le fichier lilo.conf :
 
other=/dev/hda1
 label=Windows
# restricted
# alias=3
 
 
ou est le problème, j'aimerai bien revenir sous windows.
 
note: linux et windows sont installé sur le même disque dur, windows sur une partition primaire et linux sur une logique.
 
Merci beaucoup

Reply

Marsh Posté le 12-09-2005 à 14:49:22   

Reply

Marsh Posté le 12-09-2005 à 14:53:31    

tu peux montrer en entier ton /etc/lilo.conf ?

Reply

Marsh Posté le 12-09-2005 à 14:54:50    

l0ky a écrit :

tu peux montrer en entier ton /etc/lilo.conf ?


 
 
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# ---------------       `install-mbr(8)', `/usr/share/doc/lilo/',
#                       and `/usr/share/doc/mbr/'.
 
# +---------------------------------------------------------------+
# |                        !! Reminder !!                         |
# |                                                               |
# | Don't forget to run `lilo' after you make changes to this     |
# | conffile, `/boot/bootmess.txt' (if you have created it), or   |
# | install a new kernel.  The computer will most likely fail to  |
# | boot if a kernel-image post-install script or you don't       |
# | remember to run `lilo'.                                       |
# |                                                               |
# +---------------------------------------------------------------+
 
# Specifies the boot device.  This is where Lilo installs its boot
# block.  It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda
 
# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hda10
 
# Enable map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the
# map smaller.  Using `compact' is especially recommended when
# booting from a floppy disk.  It is disabled here by default
# because it doesn't always work.
#
# compact
 
# Installs the specified file as the new boot sector
# You have the choice between: text, bmp, and menu
# Look in lilo.conf(5) manpage for details
#
#install=menu
 
# Specifies the location of the map file
#
map=/boot/map
 
# You can set a password here, and uncomment the `restricted' lines
# in the image definitions below to make it so that a password must
# be typed to boot anything but a default configuration.  If a
# command line is given, other than one specified by an `append'
# statement in `lilo.conf', the password will be required, but a
# standard default boot will not require one.
#
# This will, for instance, prevent anyone with access to the
# console from booting with something like `Linux init=/bin/sh',
# and thus becoming `root' without proper authorization.
#
# Note that if you really need this type of security, you will
# likely also want to use `install-mbr' to reconfigure the MBR
# program, as well as set up your BIOS to disallow booting from
# removable disk or CD-ROM, then put a password on getting into the
# BIOS configuration as well.  Please RTFM `install-mbr(8)'.
#
# password=tatercounter2000
 
# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20
 
# You can put a customized boot message up if you like.  If you use
# `prompt', and this computer may need to reboot unattended, you
# must specify a `timeout', or it will sit there forever waiting
# for a keypress.  `single-key' goes with the `alias' lines in the
# `image' configurations below.  eg: You can press `1' to boot
# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
#
# message=/boot/bootmess.txt
# prompt
# delay=100
# timeout=100
 
# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode> )
#
# vga=ask
# vga=9
#
vga=normal
 
# Kernel command line options that apply to all installed images go
# here.  See: The `boot-prompt-HOWTO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append=""
 
# If you used a serial console to install Debian, this option should be
# enabled by default.
# serial=
 
#
# Boot up Linux by default.
#
default=Linux
 
image=/vmlinuz
 label=Linux
 read-only
# restricted
# alias=1
 
 initrd=/initrd.img
 
image=/vmlinuz.old
 label=LinuxOLD
 read-only
 optional
# restricted
# alias=2
 
 initrd=/initrd.img.old
 
 
# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
 
 
other=/dev/hda1
 label=Windows
# restricted
# alias=3
 
 
 
 
 
Je vous remercie de perdre un peux te temps pour moi.

Reply

Marsh Posté le 12-09-2005 à 15:00:54    

# message=/boot/bootmess.txt
# prompt
# delay=100
# timeout=100


Decommentes ces lignes la pour voir, refait un lilo en root et reboot pour voir.
 
La prochaine fois que tu postes un fichier de conf ou du code met le dans des balises fixed. C'est plus joli et plus lisible [:marc]

Reply

Marsh Posté le 12-09-2005 à 15:03:38    

l0ky a écrit :

# message=/boot/bootmess.txt
# prompt
# delay=100
# timeout=100


Decommentes ces lignes la pour voir, refait un lilo en root et reboot pour voir.
 
La prochaine fois que tu postes un fichier de conf ou du code met le dans des balises fixed. C'est plus joli et plus lisible [:marc]


 
 
excuse moi, mais ca veux dire quoi decommentes ?
 
Merci pour tes conseils

Reply

Marsh Posté le 12-09-2005 à 15:06:00    

enlever le #en début de ligne. Le symbole #, dans certains fichier de configuration permet de placer des commentaire et également de faire en sorte que certaines lignes ne soient pas prises en compte. Par exemple les lignes que je t'ai indiqué.
 
Au passage si lilo gueule car le fichier /boot/bootmess.txt n'existe pas crée en un avec un ptit bonjour dedans

Reply

Marsh Posté le 12-09-2005 à 15:24:55    

l0ky a écrit :

enlever le #en début de ligne. Le symbole #, dans certains fichier de configuration permet de placer des commentaire et également de faire en sorte que certaines lignes ne soient pas prises en compte. Par exemple les lignes que je t'ai indiqué.
 
Au passage si lilo gueule car le fichier /boot/bootmess.txt n'existe pas crée en un avec un ptit bonjour dedans


 
 
non désolé ca ne marche toujours pas, j'ai essayé ca aussi comme on m'avait proposer à mon précédent poste :  
 
other=/dev/hda1  
        label="windows"  
        table=/dev/hda  
 
mais toujours rien.
 
Je rappel que linux et windows sont intallés sur le meme disque dur, que windows est sur la primaire et linux sur une logique.
 
merci

Reply

Marsh Posté le 12-09-2005 à 15:57:54    

juste pour vérifier, désolé si tu l'as fais : après avoir modifié lilo.conf est-ce que tu as lancer lilo ? (en root, tu tapes lilo tout simplement dans ue console pour qu'il prenne les modifications en compte).


---------------
Ubuntu c'est nul ! Tu l'installes et puis ça marche ... y a rien à bidouiller. rm -rf /  
Reply

Marsh Posté le 12-09-2005 à 16:31:08    

oui j'ai lancé lilo
 
maintenant quand je lance j'ai cette erreur  
 
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/ide/host0/bus0/target0/lun0/disc' -> '/dev/hda'
 
 
added linux
added windows
 
que faut-il que je change ?
 
merci

Reply

Marsh Posté le 12-09-2005 à 16:36:22    

tu as la même erreur quand tu mets hda1 au lieu de hda ?
C'est bizarre qu'il te dire added windows et que windows n'apparaisse pas dans le menu de lilo au démarrage ...
si tu en as marre installe grub à la place de lilo...


---------------
Ubuntu c'est nul ! Tu l'installes et puis ça marche ... y a rien à bidouiller. rm -rf /  
Reply

Marsh Posté le 12-09-2005 à 16:36:22   

Reply

Marsh Posté le 12-09-2005 à 16:39:37    

oui c'est ce que je compte faire mais j'ai tappé  
lilo -u
 
mais lilo est toujour la
ensuite j'ai tappé apt-get install grub
grub est installé mais impossible de le voire
 
pouvez une nouvelle fois m'aider, désolé je débute sur linux.
 
Merci beaucoup

Reply

Marsh Posté le 12-09-2005 à 16:48:23    

à savoir quand on débutes sous Linux  ;)  : [:google] "remplacer grub lilo" et là la première page : http://guillaume.rince.free.fr/spi [...] te=2004-11
 
sinon c'est quand même dommage de passer tout de suite à cette solution, essaye de chercher encore un peu pour lilo...


---------------
Ubuntu c'est nul ! Tu l'installes et puis ça marche ... y a rien à bidouiller. rm -rf /  
Reply

Marsh Posté le 12-09-2005 à 16:50:40    

ok mais que veut dire ca :
 
Warning: '/proc/partitions' does not match '/dev' directory structure.
    Name change: '/dev/ide/host0/bus0/target0/lun0/disc' -> '/dev/hda'

Reply

Marsh Posté le 12-09-2005 à 16:51:06    

M_Morgan a écrit :


Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/ide/host0/bus0/target0/lun0/disc' -> '/dev/hda'


 
lances une recherche google avec ce message d'erreur, tu trouveras plein de pages !


---------------
Ubuntu c'est nul ! Tu l'installes et puis ça marche ... y a rien à bidouiller. rm -rf /  
Reply

Marsh Posté le 12-09-2005 à 16:57:35    

on est d'accord ton problème c'est que quand tu allumes ton PC ta debian se lance directement sans que tu voies de page lilo ?
Ou c'est plutôt que tu vois la page lilo mais qu'il n'y a que debian qui apparait ?


---------------
Ubuntu c'est nul ! Tu l'installes et puis ça marche ... y a rien à bidouiller. rm -rf /  
Reply

Marsh Posté le 12-09-2005 à 19:05:34    

mister après plein de reboot j'ai enfin le choix entre windows et linux.
 
merci pour tout
 
morgan

Reply

Marsh Posté le 12-09-2005 à 23:09:19    

étrange... où as-tu installé lilo ?


---------------
Ubuntu c'est nul ! Tu l'installes et puis ça marche ... y a rien à bidouiller. rm -rf /  
Reply

Sujets relatifs:

Leave a Replay

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