Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 660  / 1 Year ago, thu, may 18, 2023, 1:39:05

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.


More From » shutdown

 Answers
6

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 ;-)


[#34961] Thursday, May 18, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
amacal

Total Points: 457
Total Questions: 102
Total Answers: 116

Location: Thailand
Member since Thu, Apr 22, 2021
3 Years ago
;