Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
after i edit inittab, and make it run level 3, i start linux and it goes into text mode.
ok, thats fine, but how do i shutdown my computer in text mode?
when i type in
shutdown now
it only seems to terminal x or something... i dunno, not sure, so how do i shutdown my computer in run level 3?
also
reboot
reboots it, and runlevel 0 reboots your system and runlevel 6 halts it (i think mighta got em backwords, and these levels apear to be hardcoded in so dont try to change them like i did (), itll only complain then error out while triyng to reboot / halt the system
also note: halting the system only means it sends and kills every process it started (so the kernel and the console will still be there, and you can even type in it to, only nothing wil happen as every program that lsiten on the console for input is killed)
Originally posted by SciYro also
reboot
reboots it, and runlevel 0 reboots your system and runlevel 6 halts it (i think mighta got em backwords, and these levels apear to be hardcoded in so dont try to change them like i did (), itll only complain then error out while triyng to reboot / halt the system
also note: halting the system only means it sends and kills every process it started (so the kernel and the console will still be there, and you can even type in it to, only nothing wil happen as every program that lsiten on the console for input is killed)
am i suppose to go into run level 0 and do the shutdown command? if so how?
and also, why is the kernel and console still there? i want my computer to be COMPLETELY shut down as in the power goes off, how do i do that?
You'll need to use the apmd by the sounds of things. Make sure that it's supported in the kernel, and if not, do a
# modprobe apm
And then start the apmd, then do the
# shutdown -h now
and it should turn it off after shutting down.
when i do the modprobe apm, it says 'can't located module apm'
the thing i dun understand is, if i start linux under run level 5 into graphical mode, and then log into my user account, open terminal, go as root and type in
shutdown -h now
it shuts down my computer (the power is gone and everything)
but if i start my computer under run level 3 into text mode, and log in with user and the go under root and type
shutdown -h now
it doesnt turn off my computer as in completely stopping the power
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.