Tips Linux Explorers   All Things Linux Forum   Great Linux Links   Hometown   Email 

BOOTING in RUNLEVEL 3 ( Trick with Lilo )

Sometimes when troubleshooting you will want to boot in run-level 3 ( This is the non-graphical mode ) because X is using the wrong driver or the system fails to boot the usual way, hanging on some module it fails to load.

Here is a simple trick for the people using Lilo as their boot-loader:
Imagine your Lilo menu usually shows you:


And it is PCLos you want to boot in run-level 3 . . . .

When you get the lilo-screen where you can choose what distro to boot press the Esc-key and you will get a prompt . . . at that prompt type:

PCLos 3

( Basically it is the name of the menu entry you want to boot and a 3 ) . . . . It will then boot in level 3 . . . then you can login as "root" ( not "su" ) and do "XFdrake" to set the correct driver for your graphics card, or any other troubleshooting operation you need to perform.
When you are ready you can either type "reboot" or log out as root with Ctrl+D, then log in as user and type "startx", . . . and it will magically continue booting from level 3 to level 5.

NOTE: Sure you can type "PCLos 1" too so it boots in "single user mode" giving you a root-prompt, so in case you forgot the root-password you can just type "passwd" and change it to one you can remember next time you need it.


-- May 24 2005 ( Revised Dec 15 2005 ) --

Tips Linux Explorers   All Things Linux Forum   Great Linux Links   Hometown   Email