Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-31-2003, 08:41 PM
|
#1
|
|
Member
Registered: Dec 2003
Location: Bangkok- Thailand
Distribution: Mandriva 10.0,Fedora Core 4
Posts: 79
Rep:
|
Can't shutdown properly
After I type "halt" or "shutdown -h now"
It seems well but why my pc doesn't turn off ?
my HDD is still running.
What should I do?
|
|
|
|
12-31-2003, 09:14 PM
|
#2
|
|
Member
Registered: Nov 2003
Distribution: debian
Posts: 66
Rep:
|
shutdown
yeah its slightly tricky at first
but as root you can type in the command
shutdown -a -h -t 0 now
|
|
|
|
12-31-2003, 09:14 PM
|
#3
|
|
Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339
Rep:
|
Hi hus!
Welcome to the LinuxQuestions.org forum. I believe, judging by your descriptions, that you are running Slackware (also because it's your first distro at your list...ghehe). Remember to tell us which distro you are trying to do an specific stuff, because it can be distro related. Well, if it's slackware, it's because a module is not loaded by default, which is the one responsible to totally shutdown the computer. Do this:
su -
modprobe apm
shutdown -h now
If it works, you could:
1 - Always load that module before shutting down, or
2 - Add that line (modprobe apm) to your /etc/rc.d modules (the path may be wrong, I'm on another distro right now, but should be somewhere around there. If you don't find, let me know and I boot into Slack).
A suggestion, a little unconnected though. At this forum, if you click at the button cp up there at the homepage, you can edit your "Distribution" field, placing one space after each comma. That would make your threads look nicer. Eg:
1 - You are using:
Slackware,Vector,Redhat,Mandrake,Debian
2 - It's better to:
Slackware, Vector, Redhat, Mandrake, Debian
Good luck and Happy New Year!
|
|
|
|
12-31-2003, 09:32 PM
|
#4
|
|
Member
Registered: Dec 2003
Location: Bangkok- Thailand
Distribution: Mandriva 10.0,Fedora Core 4
Posts: 79
Original Poster
Rep:
|
Thank you for your suggestion Megaman X
I'll try this
and
Goodluck and Happy new year!
|
|
|
|
12-31-2003, 10:26 PM
|
#5
|
|
Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339
Rep:
|
 My pleasure. Give race's idea a shot too. I have not seen that command before, but might be what you seek  And thanks for placing the space at the distribution thing mate! 
|
|
|
|
01-01-2004, 04:24 AM
|
#6
|
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
I had the same problem with Slackware -
add
apm=power-off
to your
append
line in the Slackware stanza in lilo.conf - ie for example
append="devfs=mount hdc=ide-scsi acpi=off quiet apm=power-off"
then type
/sbin/lilo
to make the changes take effect
Then use
halt
as Root user to shut the system down........or if your using KDM you can use the GUI option
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:10 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|