LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't shutdown properly (https://www.linuxquestions.org/questions/linux-newbie-8/cant-shutdown-properly-130475/)

hus 12-31-2003 08:41 PM

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?

race 12-31-2003 09:14 PM

shutdown
 
yeah its slightly tricky at first

but as root you can type in the command

shutdown -a -h -t 0 now

Mega Man X 12-31-2003 09:14 PM

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!

hus 12-31-2003 09:32 PM

Thank you for your suggestion Megaman X

I'll try this
and

Goodluck and Happy new year!

Mega Man X 12-31-2003 10:26 PM

:) 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! :)

Skyline 01-01-2004 04:24 AM

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


All times are GMT -5. The time now is 06:06 PM.