Booting to a console login
From MEPIS Documentation Wiki
| Revision as of 16:40, 1 November 2009 Cookdav (Talk | contribs) � Previous diff |
Revision as of 21:05, 1 November 2009 Jerry bond (Talk | contribs) (edited, removed duplication of another page) Next diff → |
||
| Line 1: | Line 1: | ||
| - | In some cases, you may find it helpful to boot to a console-only logon: | + | In some cases, you may find it helpful to boot to a console-only logon. For example: |
| - | e.g. When X-Windows(GUI) is having troubles displaying right (to repair X-Windows or switch graphics drivers) | + | *when X-Windows(GUI) is having troubles displaying right (to repair X-Windows or switch graphics drivers) |
| + | *hen you're on a slow machine and just don't need the GUI to do what you want to do. | ||
| - | e.g. When you're on a slow machine and just don't need the GUI to do what you want to do. | ||
| - | + | You can tell GRUB to boot you into any [[Cheatcodes|runlevel]] you want by simply appending the number onto the GRUB command line before hitting enter. It is recommended that you actually <u>practice</u> doing some things at runlevel-3, so that you're comfortable there, in anticipation of the time when you'll need to work there. Note that since the network is running, you can install/remove software and drivers, and make changes to files. | |
| - | You can tell GRUB to boot you into any runlevel you want by simply appending the number onto the GRUB command line before hitting enter. It is recommended that you actually PRACTICE doing some things at runlevel-3, so that you're comfortable there, in anticipation of the time when you'll need to make minor 'repairs'. Note that since the network is running, you can install/remove software and drivers, and make changes to files. | + | |
| - | [To edit files at runlevel-3, you'll need a non-GUI-based editor such as the newbie-friendly 'nano'. If that is NOT installed, just install it by running the root-cmd 'apt-get install nano'. In a similar fashion, you can even browse the Internet, using a non-GUI browser, such as 'lynx'.] | + | To edit files at runlevel-3, you'll need a non-GUI-based editor such as the newbie-friendly [http://www.nano-editor.org/overview.php nano]. If that is not installed, just install it by running the root-cmd |
| + | apt-get install nano | ||
| + | In a similar fashion, you can even browse the Internet, using a non-GUI browser, such as [http://lynx.isc.org/ lynx]. | ||
| [As an alternative to using run-level-3 to repair the system, you can instead bootup the MEPIS LiveCD, as it likewise supports various 'repair' operations (of the installed system).] | [As an alternative to using run-level-3 to repair the system, you can instead bootup the MEPIS LiveCD, as it likewise supports various 'repair' operations (of the installed system).] | ||
| - | + | <u>Links</u> | |
| - | The following runlevels are default for the Mepis CD: | + | *[[Cheatcodes|Runlevels]] |
| - | + | ||
| - | <table border=1> | + | |
| - | <tr><th>Runlevel</th><th>Description</th></tr> | + | |
| - | <tr><td>0</td><td>Halt (power down)</td></tr> | + | |
| - | <tr><td>1</td><td>Single-user mode</td></tr> | + | |
| - | <tr><td>2</td><td>Multiuser with no network</td></tr> | + | |
| - | <tr><td>3</td><td>Console logon, network is running, but no X-Windows (i.e. no GUI)</td></tr> | + | |
| - | <tr><td>4</td><td>Not used/Custom</td></tr> | + | |
| - | <tr><td>5</td><td>Default GUI logon</td></tr> | + | |
| - | <tr><td>6</td><td>Reboot </td></tr> | + | |
| - | </table> | + | |
| - | + | ||
| - | Runlevels can be customized to start or stop different services, either using a graphical utility like KsysV, or command line utilities like [[update-rc.d]]. | + | |
| - | + | ||
| [[Category:Customization]] | [[Category:Customization]] | ||
| [[Category:Boot]] | [[Category:Boot]] | ||
| [[Category:Command line]] | [[Category:Command line]] | ||
| [[es:Arrancar_con_un_inicio_de_sesi%C3%B3n_en_modo_consola]] | [[es:Arrancar_con_un_inicio_de_sesi%C3%B3n_en_modo_consola]] | ||
Revision as of 21:05, 1 November 2009
In some cases, you may find it helpful to boot to a console-only logon. For example:
- when X-Windows(GUI) is having troubles displaying right (to repair X-Windows or switch graphics drivers)
- hen you're on a slow machine and just don't need the GUI to do what you want to do.
You can tell GRUB to boot you into any runlevel you want by simply appending the number onto the GRUB command line before hitting enter. It is recommended that you actually practice doing some things at runlevel-3, so that you're comfortable there, in anticipation of the time when you'll need to work there. Note that since the network is running, you can install/remove software and drivers, and make changes to files.
To edit files at runlevel-3, you'll need a non-GUI-based editor such as the newbie-friendly nano. If that is not installed, just install it by running the root-cmd
apt-get install nano
In a similar fashion, you can even browse the Internet, using a non-GUI browser, such as lynx.
[As an alternative to using run-level-3 to repair the system, you can instead bootup the MEPIS LiveCD, as it likewise supports various 'repair' operations (of the installed system).]
Links

