Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use Ubuntu 11.10. My problem is that I cannot power off the computer with sudo halt command. Ubuntu shutting down screen comes and stops at there (something like the pic below). I waited about 15 minutes which is abnormally long and am obliged to press the power button to shut down. The second try was the same.

enter image description here

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Where is your problem? halt and poweroff are two different things, as explained in the halt manual.

You should launch it with

sudo halt -p

to poweroff it.

Anyway, from the man halt:

When called with --force or when in runlevel 0 or 6, this tool  invokes
the reboot(2) system call itself and directly reboots the system.  Oth‐
erwise this simply invokes the shutdown(8) tool  with  the  appropriate
arguments.

So I think that could be a good idea to use shutdown directly, as this:

sudo shutdown -h now
share|improve this answer
    
sudo init 0 works too –  hbdgaf Mar 5 '12 at 18:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.