Latest LQ Deal: Linux Power User Bundle
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 04-05-2002, 08:14 AM   #1
Registered: Jan 2002
Location: Auckland, New Zealand
Distribution: Mandrake 8.1 on me server, Mac OS X on me Desktop
Posts: 41

Rep: Reputation: 15
Shut Down

I am running Mandrake 8.1 on a Gateway PII-350 set up to dual boot with Win98.

If I shut down from Win98 the comp turns off automatically, but when shutting down from Linux the comp reboots, which is a pain cos it means I have to wait and press the power button to turn it off.

Any ideas on how I might instruct Linux to automatically turn off my comp?

Thanks in advance!
Old 04-05-2002, 09:46 AM   #2
Registered: Apr 2002
Location: Denver
Distribution: SuSe,RedHat,Mandrake,
Posts: 109

Rep: Reputation: 16
Hi shusseina, what command are you using to shutdown (hint) your machine? Few suggestions; take a look at the man shutdown page for flags to use with this command. Some distros use shutdown -k now, the -k flag (kill) others use shutdown -h now, -h flag (halt) It sound like if you are not using any flags on your command, it's going to a default which may be reboot.
Good luck!

Last edited by abrakadabra; 04-05-2002 at 09:47 AM.
Old 04-09-2002, 04:22 PM   #3
LQ Newbie
Registered: Apr 2002
Distribution: RedHat 7.1
Posts: 2

Rep: Reputation: 0


halt -p
Old 04-10-2002, 06:12 AM   #4
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
at the console, assume superuser privelages. then type:
shutdown -h now

this will shut your comp down immediately.
Old 04-11-2002, 08:57 PM   #5
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
I seem to recall my ex-HP C400 was in the same boat. It turned out that it was the mobo in that generation. The solution: use some switch/parameter to force Linux to recognize the mobo as power-saving compliant. Sorry I forgot it.
Old 04-11-2002, 09:03 PM   #6
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
halt -p
shutdown -h now (I use it under RH 7.1)


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
cannot shut down greenlinux Mandriva 6 06-17-2004 04:30 PM
shut down scialom Linux - Hardware 2 03-18-2004 08:14 AM
shut down won't shut system down taoweijia Linux - General 3 03-03-2004 06:05 PM
Can't shut down!! karleong Linux - Newbie 2 09-09-2003 07:51 PM
X won't shut down palooga Linux - Newbie 2 09-21-2002 08:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 AM.

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