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

If I try to shutdown my computer it simply takes me back to the login-screen. I looked around and found :

Type in terminal:

  1. sudo gedit /etc/default/grub
  2. Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  3. Change this to:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
  4. Save the file and close the file.
  5. Finally, in terminal: sudo update-grub

But now there is a new problem when I try step 5 it says:

*myname*@ubuntu:~$ sudo update-grub
[sudo] password for *myname*: 
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
*myname*@ubuntu:~$ 

I am new whit linux and dont know what to do.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Have you tried to shut it down from the Terminal?

sudo shutdown -P 1

(Also, try to use some Formatting when Posting here, so your Question is more Readable ;-)

share|improve this answer
    
yes that works thanks, The system shutdown normally now... –  marijn Oct 15 '12 at 18:55
    
I am glad I helped! –  akatzbreaker Oct 16 '12 at 13:23

Adjusting the Grub worked for me great.

sudo shutdown only reset my system until I adjusted the Grub and then it worked great.

I did the above steps you have done then I removed acpi=force from GRUB_CMDLINE_LINUX_DEFAULT and added it to GRUB_CMDLINE_LINUX instead, (i.e. GRUB_CMDLINE_LINUX="acpi=force").

Then I shut down the computer, using the power button to power off after it stopped shutting down at the black screen with a series of messages that ended with "[end trance ...]" as it did before (I had GRUB_CMDLINE_LINUX_DEFAULT="" to show messages instead of the splash screen). After re-booting, shutdown worked correctly.

share|improve this answer
2  
I recommend editing this answer to expand it with specific details about how to do this. (See also How do I write a good answer? for general advice about what sorts of answers are considered most valuable on Ask Ubuntu.) –  David Foerster Aug 24 at 12:15

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.