Kernel Upgrade IV - Troubleshooting
Navigation :
Page précédente : Mise à jour du noyau III - Les sources
Sous-section suivante : Les périphériques d'entrée (clavier, souris)
Index de la section ~~Administration avancée du système~~ - Index de la Base de Connaissances
LiLo Errors
LiLo errors most often happen after a kernel upgrade if either '/etc/lilo.conf' has not been updated properly or if the
lilo
If you are using GRUB, you are able to edit the boot command line before booting, furthermore doesn't GRUB need any updating of the boot sector. Thus it is usually no problem to boot a GRUB system, even if the boot menu is wrong.
Large parts taken from The LiLo's User Guide in /usr/share/doc/lilo-{...}/, p.44:
- (nothing)
Use a boot floppy. Check '/etc/lilo.conf' and run
/sbin/lilo
- L {error} ...
You will find a list of error codes on the same page of the User Guide. The 'geometry mismatch' error might occur, if you've moved the kernel to a different location or changed the partition setup and forgot to run
lilo
- LI
Same as above. Running
/sbin/lilo
- LIL
- LIL?
- LIL-
In short: Never forget to run
lilo
If you have, read System Doesn't Boot From Disk Anymore, which will tell you how to recover from this.
- Kernel {name} is too big1.1
make zImage
make bzImage
Consult the Lilo User's Guide for much more...
Index de la section ~~Administration avancée du système~~ - Index de la Base de Connaissances
Module loading errors
These are errors like boot-hangs at Finding modules dependencies, unresolved dependencies, can't locate module, or kernel version mismatch.
Possible errors:
- You've forgotten to run
make modules && make modules_install
- You've forgotten to change the EXTRA_VERSION flag in the Makefile. Check /lib/modules. If you don't find a directory in there that carries the new kernel version label, that's your problem. You've installed the new modules in the old directory.
Remove or rename the old modules directory and runmake modules && make modules_install
- Some links in /boot still points to the old versions of their respective source files. Relink them with
ln -sf {source file} {new version file}
- You've forgotten to set the installation directory in the Makefile. The files are now in / and not in /bin. Move them there, set the links and run
/sbin/lilo
- You use binary-only modules which are linked against a specific kernel version. Either go back to your old kernel or ask the module manufacturer to release an update. These modules are not a good thing.
- If you get errors with the loopback interface 'lo' on boot, you probably compiled 'UNIX 98 pty' support as a module. You should better change this.
Related Resources:
The Linux Kernel HOWTO
The LiLo User's Guide in /usr/share/doc/lilo-…
Revision / Modified: Sep. 18, 2001
Author: Tom Berger
Legal: This page is covered by the GNU Free Documentation License. Standard disclaimers of warranty apply. Copyright LSTB and Mandrakesoft.
Version 1.3 modifié par ptyxs le 06/11/2006 à 11:33
Données du document
Base de connaissances
- Compte perdu ?
- Rejoignez la communauté, faites partie du Club: c'est gratuit!
- Abonnez vous au service PWP!