Probleme avec lilo
N@uThY boY
22 réponses
Le sujet porte sur un démarrage double entre Knoppix et Windows sur le même disque, où la sélection via LILO mène à « loading... » sans que Windows ne démarre réellement. Des propositions de résolution apparaissent, notamment ajuster le fichier lilo.conf et relancer lilo, ou activer des options comme lba32 pour autoriser le démarrage depuis des partitions supplémentaires. En cas de blocage sur les permissions, certaines réponses suggèrent d'ouvrir lilo.conf en root et de sauvegarder avant d'appliquer les modifications et de tester le démarrage. D'autres échanges évoquent des configurations pratiques dans lilo.conf, comme les entrées kernel et image, l'installation du MBR et l'importance de lancer « lilo » après modification pour que Windows soit accessible.
-
ModérateurSalut,
Essaye d'activer le mode "LBA" dans le Bios !
http://www.commentcamarche.net/forum/affich-773903
;-))
Z'@+...che.
Z'@+...che.JP : Zen, my Nuggets ! ;-)
-
je suis nouvo dans linux fo pas me parler de bios ou de chez pas koi quoi!c suicidaire pour moi!!!!
en gros g rien compris koi!
et si je reconfigure lilo a partir de
systeme-->administration-->lilo config ? mais j ai peur de faire n importe koi !!
bye
N@uThY boY -
ModérateurRe-
Affiches ton "lilo.conf" ici et essayes de nous donner des détails sur la configuration de ton (tes) disque(s) dur(s).
;-))
Z'@+...che.JP : Zen, my Nuggets ! ;-)
-
ba le probleme c que je peux pas ouvrir lilo.conf qui est protegé.je suis passé en super utilisateur ca ne s 'ouvre toujours pas!
je reesaye d ouvrir lilo.conf dans la console en faisant /etc/lilo.conf vla que la machine me dit "permision non acordée
bye
N@uThY boY -
ModérateurC'est bizarre ça, il est pourtant accessible en lecture d'habitude.
Essaie dans une console de faire un :cat /etc/lilo.conf
;-))
Z'@+...che.JP : Zen, my Nuggets ! ;-)
-
voila
# Generated by liloconfig
# This allows booting from any partition on disks with more than 1024
# cylinders.
lba32
# Specifies the boot device
boot=/dev/hda7
# Specifies the device that should be mounted as root.
# If the special name CURRENT is used, the root device is set to the
# device on which the root file system is currently mounted. If the root
# has been changed with -r , the respective device is used. If the
# variable ROOT is omitted, the root device setting contained in the
# kernel image is used. It can be changed with the rdev program.
root=/dev/hda7
# Enables 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.
# compact
# Default menu for Debian. (Using the images from debian-bootscreen)
# from Philipp Wolfer <phil@newswriter.org>.
bitmap=/usr/share/lilo/contrib/debian.bmp
bmp-colors=1,,0,2,,0
bmp-table=120p,173p,1,15,17
bmp-timer=254p,432p,1,0,0
# Install the specified file as the new boot sector.
# LILO supports built in boot sectory, you only need
# to specify the type, choose one from 'text', 'menu' or 'bitmap'.
# new: install=bmp old: install=/boot/boot-bmp.b
# new: install=text old: install=/boot/boot-text.b
# new: install=menu old: install=/boot/boot-menu.b or boot.b
# default: 'menu' is default, unless you have a bitmap= line
# Note: install=bmp must be used to see the bitmap menu.
# install=menu
install=bmp
# Specifies the number of _tenths_ of a second LILO should
# wait before booting the first image. LILO
# doesn't wait if DELAY is omitted or if DELAY is set to zero.
# delay=20
# Prompt to use certaing image. If prompt is specified without timeout,
# boot will not take place unless you hit RETURN
prompt
timeout=50
# Specifies the location of the map file. If MAP is
# omitted, a file /boot/map is used.
map=/boot/map
# Specifies the VGA text mode that should be selected when
# booting. The following values are recognized (case is ignored):
# NORMAL select normal 80x25 text mode.
# EXTENDED select 80x50 text mode. The word EXTENDED can be
# abbreviated to EXT.
# ASK stop and ask for user input (at boot time).
# <number> use the corresponding text mode. A list of available modes
# can be obtained by booting with vga=ask and pressing [Enter].
vga=normal
# These images were automagically added. You may need to edit something.
image=/boot/vmlinuz
label="DEB 0"
read-only
image=/boot/vmlinuz-2.4.26
label="DEB 1"
read-only
image=/boot/vmlinuz-2.6.6
label="DEB 2"
read-only
# If you have another OS on this machine (say DOS),
# you can boot if by uncommenting the following lines
# (Of course, change /dev/hda2 to wherever your DOS partition is.)
# other=/dev/hda2
# label=dos
N@uThY boY -
ModérateurBen voilà !
Bon maintenant, t'as installé Linux après Windows. Exact ?
T'as combien de disque dur ?
Si qu'un seul, combien de partitions ?
Z'@+...che.JP : Zen, my Nuggets ! ;-)
-
3 ou 4
N@uThY boY -
ModérateurUn peu plus de détails, please !
Avant d'installer Linux t'en avais combien ?
Z'@+...che.JP : Zen, my Nuggets ! ;-)
-
avant d installer knoppix j avais mandrake 10.0 donc j en avais 5 en tt et quand j avais
seulement windows j en avais 1 (ou 2)
N@uThY boY -
ModérateurBon, on y va.
Tu te loggues en "root" et tu édites ton fichier "/etc/lilo.conf".
Tu décommentes ces deus lignes comme ci-dessous (celles en gras):
# If you have another OS on this machine (say DOS),
# you can boot if by uncommenting the following lines
# (Of course, change /dev/hda2 to wherever your DOS partition is.)
other=/dev/hda2
label=dos
et tu changes le "2" de "other=/dev/hda2", par un "1", afin d'avoir :
other=/dev/hda1
Tu sauvegardes, puis dans une console, toujours en tant que "root" tu tapes :
/sbin/lilo
Si tout ce passes bien tu devrais avoir un résultat du genre :
added DEB 0
added DEB 1
added DEB 2
added dos
A partir de là tu peux rebooter et essayer de booter Windows.
Si ça merde tu reviens ici et tu postes les "erreurs".
;-))
Z'@+...che.JP : Zen, my Nuggets ! ;-)
-
je sais je suis soualant ou meme lourd
root@hayoubcom:/home/hayoublove# /etc/lilo.conf
bash: /etc/lilo.conf: Permission non accordée
N@uThY boY -
Modérateurkwrite /etc/lilo.conf
ou encore :
gedit /etc/lilo.conf
ou encore :
kedit /etc/lilo.conf
ou encore :
vi /etc/lilo.conf
Z'@+...che.JP : Zen, my Nuggets ! ;-)
-
aucun ne marche a part vi/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', 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'. |
# | |
# +---------------------------------------------------------------+
# Support LBA for large hard disks.
#
lba32
# Overrides the default mapping between harddisk names and the BIOS'
# harddisk order. Use with caution.
#disk=/dev/hde
# bios=0x81
"/etc/lilo.conf" 157L, 5796C 1,1 Haut -
allo!!
-
ModérateurRe-
http://lea-linux.org/software/vi.html
et puis :man vi
;-))
Z'@+...che.JP : Zen, my Nuggets ! ;-)
-
merci je verai
a+
N@uThY boY -
ca m aide pas du tout
N@uThY boY -
ModérateurAlors vas-t'en au lit, la nuit porte conseil !
;-))
Z'@+...che.JP : Zen, my Nuggets ! ;-)
-
vimtutor
ou :help dans vim
si tu ne deviens pas une tronche de vim avec ça, c'est que tu n'as pas lu
- 1
- 2