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.
Hold the button for 5-8 seconds instead of just pressing it and it will shut off just fine.
Switch away from CrapHat 8 and the acpi power will probably work and your computer will shut itself down ok as well.
Or, go get a new, fresh kernel, and the acpi patches. Compile it with everything enabled so your computer can use its advanced features and turn itself off.
if your pc can be shut down by OS, that means it either support acpi or apm, find out which type of power management it support, then enable it in linux.
if its acpi for example, then go to /etc/lilo.conf under append = "acpi=on"
(that's assume you have acpi / or apm in your kernel)
Hold the button for 5-8 seconds instead of just pressing it and it will shut off just fine.
Well i Disagrre with that because if you shut down your computer like that you goin to scratch your Hard Drive and your goin to mess up your clusters and wont work for nothing
i've posted few thread regards this issue.... maybe you ca do a search or something?
log as root, go to /boot
cat config | APM, then cat config | ACPI
to see if your kernel has it as support (i believe any think + 2.4.0 has apm and acpi, not sure)
if you do,
next you need to find out what your motherboard support, apm or acpi? you maybe able to find that from your BIOS setup, or you have to contact the manufacture.
to try and see if it works: when boot computer, hit ESC at LILO, then type: linux apm=on or linux acpi=on then press enter.
what it does is to load apm or acpi at boot, then shut down the computer once linux is loaded and see if you can shut it down. either apm or acpi works, can't be both.
if you found out which one it works, go ahead and log in as root
go to /etc/lilo.conf, use your favor editior and add the following code
apm=on or acpi=on where you see append = " (your code goes between " and " )
Well i Disagrre with that because if you shut down your computer like that you goin to scratch your Hard Drive and your goin to mess up your clusters and wont work for nothing
No it won't. Once Linux has been stopped, it parks the hard drive for you. As in old versions of Windows when it used to say "It is now safe to turn off your computer".
Just to verify what sirpelidor said:
Quote:
ok , i just tried redhat 9.0 and i see it works, dunno if 8.0 can shut down or not.
Redhat 8 used to shut down fine for me, so follow what he says and it should work
I'm having a problem shutting down SuSE 9 professional. The spalshscrean (?) comes on with the 'shut down progress bar' going across the screen. That is until it gets about 95% of the way across, then it stops myteriously waiting for God knows what.
Now I'm sure there is a way to see what is going on 'behind the scenes' as it were, that tells what's going on and where it got hung up. Anybody know how to go about solving the mystery of why a newly installed SuSE 9 enjoys running all the time.
As a side line: part of the reason I went to linux is that my girlfriend was getting pretty upset at winDOZE allways crashing while she watched movie trailers on the web. Now we have the opposite problem, we can't get it to shut off!
re: The words "Press F2 for Details" are not just there for your viewing pleasure... Press F2!
Have done so on many occasions, get the text page of what's going on and at some point it just stops and doesn't turn off the computer. Is there something else I should be doing?
Guys who wrote this letters were probably right in most situations, but id didn't work for me to write in lilo.conf "acpi=on".But this one worked : "acpi=force".
Just log as root, edit in emacs or KWrite lilo.conf. change this line and close.editor with changes.
After that type "lilo" as command in shell.Reboot and that's it!Good luck!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.