|
|
Sponsored Links
|
Maxabout.com > Tips
Booting In Runlevel 3 ( Trick With Lilo )Added on:9/4/2008 12:28:41 AM In Linux Tips Rated by 1 users
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:
PCLos Mandrake Fedora Debian Slackware
- 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:
CODE 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.
|
Sponsored Links
Tools
Bookmark/Discuss
|
|
|