PDA

View Full Version : booting into the command line



greygooseplz
11-25-2004, 03:42 AM
How can I set linux up to boot directly into the linux console?
Like the way slackware does by default.

Switched to slackware for a few days and loved it but couldnt ween myself from the apt-get program 8)
Im actually using Kanotix, But im assuming its damn close to knoppix.

But Slackware is a damn good linux distro I must say :wink:

UnderScore
11-25-2004, 05:58 AM
If i boot Knoppix 3.6 from CD using the cheat code knoppix 2 then I am dumped into a console session as root in runlevel 2.

If you have a HD install of Kanotix then it may be booting by default into a runlevel that runs X. Take a look at /etc/inittab as it will not only list the default runlevel but also list function of the other runlevels. Here is a good page on runlevels http://www.telenovela-world.com/~spade/linux/howto/From-PowerUp-To-Bash-Prompt-HOWTO-6.html.

I use the command init # to change runlevels. If after booting into the console session & I now want to run a normal KDE session I use init 5. If I want to reboot I use init 6 and if I want to shutdown I use init 0.
I hope this helps.
James