Jump to content
Forum upgrade is live! Read more... ×
Sign in to follow this  
littlejacket92

[Guide]How to Fix Ubuntu 16.04 Desktop Restart After Shutdown

Recommended Posts

Recently I have meet this problem that when I shutdown my laptop, Ubuntu auto restart and cannot shut down. I tried some methods around internet, and I see many other people have troubles with this. Then I want to share with anyone here who have the same problem with their computer. I tracked this for somedays, and I know that it worked successful)

( If I made this topic wrong, please remove it, thanks)

 

If you use hp probook then, it may happen to your laptop when using Ubuntu.

Please follow these steps to fix it.

I did this step before:

- Type in terminal
sudo nano /etc/default/grub
- then find a line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
- Modify it to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" acpi=force apm=power_off

But it's not work because the next line they guide me is not found:

Type in terminal sudo nano /etc/grub/modules then add apm power_off=1 under line lp. Save and close the terminal. 

Then I tried these two steps: And it worked.

 

Step 2: sudo update-grub

Step 3: Turn off wifi, wired network

 

hope that help.

Edited by littlejacket92

Share this post


Link to post
Share on other sites

Shouldn't there be a filename as part of that path after the nano command?

Looks to me like some sort of config or auto exec type of thing, probably an option of the system and likely not included in minimalist installs.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks for that!

That will likely come in handy!

 

Being that I love some Ubuntu, and manage an ever aging fleet of Probooks :)


Shouldn't there be a filename as part of that path after the nano command?

Looks to me like some sort of config or auto exec type of thing, probably an option of the system and likely not included in minimalist installs.

 

Im not on my ubuntu machine to check, but as it's *nix, theres a good chance 'modules' is the file name.

Share this post


Link to post
Share on other sites

Don't know how the solution in that AskUbuntu thread ever worked.

 

The source of that solution was a thread about a similar problem in 14.04.

 

My server is running 14.04 LTS. There is no /etc/group/modules. There is not even a /etc/grub directory.

 

root@atom:/etc# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty
root@atom:/etc# cd /etc/grub/modules
-bash: cd: /etc/grub/modules: No such file or directory
root@atom:/etc# cd /etc/grub
-bash: cd: /etc/grub: No such file or directory
Sometimes the Internet is a great source of solutions. Most of the time it's shit though.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×