Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-06-2002, 09:19 AM   #1
LQ Newbie
Registered: Aug 2002
Posts: 2

Rep: Reputation: 0
cannot shutdown from Linux

I have a PIII machine running on a dual boot with Windows and Linux (Red Hat 7.3).
Linux is unable to shutdown my system either from the GUI or even the terminal.
Issuing shutdown -h now causes the machine to restart.
I know that my bios supports a software shutdown because windows shutsdown the machine perfectly.
Right now I have to shutdown Linux and then power off while my machine is rebooting.
Can anyone help me with a solution.

Thanks in advance
Old 08-06-2002, 09:50 AM   #2
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Try the following too:




And tell us what it does.

shutdown -r now

will of course restart the machine and

shutdown -h now

should have the same effect as


Old 08-08-2002, 07:41 AM   #3
Registered: Dec 2001
Distribution: mandrake
Posts: 87

Rep: Reputation: 15
try halt

halt closes everything and umounts all the drives then you can just unplug your computer
Old 08-08-2002, 08:41 AM   #4
LQ Newbie
Registered: Aug 2002
Posts: 2

Original Poster
Rep: Reputation: 0
tried halt & poweroff

Hi guys,
Thanks for your suggestions. I tried
halt - which stopped some processes and then hung... or I guess it stopped everything and prepared the computer for me to switch it off.

poweroff - caused a restart.

Well I guess halt will do the trick for now... but I was just wondering why Linux could not do a poweroff like windows does. Is it because Linux does not know the exact assembly language code to poweroff the system... is there any way to fix it... just curious... trying to get a better understanding of Linux.

Thanks for the help.
Old 08-08-2002, 08:50 AM   #5
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
You might have to load the apm module for power off to work.
Do "modprobe apm" as root and if you get no error messages then do "shutdown -h now" and see if it powers off, it all works fine you need to add the apm module to /etc/modules.conf to have it load at boot.
Old 08-08-2002, 09:07 AM   #6
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
You might have to check your motherboard manual for details on what type of power management system it uses.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux shutdown procedure ganesan16 Linux - General 1 11-10-2005 09:11 AM
Linux Shutdown uncleanly bluenectar Linux - Newbie 2 08-05-2005 03:45 AM
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 07:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 06:21 PM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 10:44 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration