LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-06-2006, 03:01 AM   #1
gauri
Member
 
Registered: Dec 2005
Posts: 31

Rep: Reputation: 15
reboot not working


Hi All,

I am having a stange behavior of my system. I used to use the following command to reboot my system

Shutdwon -r 0
It sometimes reboot my system and some time it is just halt the system.

If I do the hard reboot there is no probem absolutely.

I tried intit 6 this also behave in the same way.

Also I want to know why reboot is having a softlink to halt reboot -> halt

So reboot should do the same thing as halt?

Thanks & Regards
Gauri
 
Old 03-06-2006, 04:25 AM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
You should be able to reboot your system by hitting the key combination Ctrl-Alt-Del (this action is set in /etc/inittab), or by using any of the following commands: "reboot", "shutdown -r now", "init 6", "telinit 6".

To halt your system, you can use one of these commands: "halt", "shutdown -h now", "init 0", "telinit 0".

For more info, you can check out the man pages for reboot, halt, shutdown, and init.

Notice that halt and poweroff are different shutdown actions -- Debian sets the default action in /etc/default/halt.
 
Old 03-07-2006, 08:17 PM   #3
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
Also I want to know why reboot is having a softlink to halt reboot -> halt
The program can know whether it was called as reboot or halt and it should act accordingly.
 
  


Reply



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
eth0 stops working until reboot mijohnst Linux - Networking 12 08-17-2008 01:02 AM
ndiswrapper was working okay until reboot... mieslep Linux - Wireless Networking 13 04-21-2005 07:48 AM
Shutdown/reboot not working in 2.6.10 ? tisam Linux - Software 6 02-12-2005 05:26 PM
Lirc not working after reboot Basta Linux - General 0 06-13-2004 03:53 AM
Slackware 9, rc.local not working after reboot balton Slackware 2 08-08-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:02 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
Open Source Consulting | Domain Registration