LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-05-2002, 09:14 AM   #1
shusseina
Member
 
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, 10:46 AM   #2
abrakadabra
Member
 
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 10:47 AM.
 
Old 04-09-2002, 05:22 PM   #3
abayden
LQ Newbie
 
Registered: Apr 2002
Distribution: RedHat 7.1
Posts: 2

Rep: Reputation: 0
Shutdown

Try

halt -p
 
Old 04-10-2002, 07:12 AM   #4
gui10
Member
 
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, 09:57 PM   #5
jetblackz
Member
 
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, 10:03 PM   #6
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

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


Reply


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


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

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