UbuntuGNOME 15.10 64 bit doesn't shut down
Solution 1
Add a specification to your grub commandline option in the /etc/default/grub
config file. This is the option that begins with GRUB_CMDLINE_LINUX_DEFAULT
.
Try adding the following reboot=pci
to that line. The changes would be:
Change from:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Change to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash reboot=pci"
After making changes to your grub configuration you will have to run the update command to activate the change:
$ sudo update-grub
(The $ sign is important in the line above. It's indicating a terminal commandline from the user's prompt.)
There are other reboot flags you can test if that one fails. The options includes:
-
warm
- don’t set the cold reboot flag -
cold
- set the cold reboot flag -
bios
- reboot by jumping through the BIOS (only for X86_32) -
smp
(reboot by executing reset on BSP or other CPU - only for X86_32) -
triple
- force a triple fault - init -
kbd
- use the keyboard controller. cold reset (default) -
acpi
- use the RESET_REG in the FADT -
efi
- use efi reset_system runtime service -
pci
- use the so-called “PCI reset register”, CF9 -
force
- avoid anything that could hang
Also, you can try multiple parameters at the same time such as:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash reboot=warm,cold,bios,smp,triple,kbd,acpi,efi,pci,force"
Other details can be found at:
http://michalorman.com/2013/10/fix-ubuntu-freeze-during-restart
Solution 2
It can be caused by some program which refuses to close while shutting down or after installing updates (happened with me). It can also be after changing your login screen (happened with me after installing lxdm). Before shutting down try to manually force close user apps using task manager. Also try updating your grub using
sudo update-grub
Usually it happens only after installing updates and should be resolved at next boot.
Related videos on Youtube
![userDepth](https://i.stack.imgur.com/RNdzF.png?s=256&g=1)
userDepth
Updated on September 18, 2022Comments
-
userDepth almost 2 years
My laptop doesn't entirely shut down. Everything goes black but the screen is still on and I have to force shutdown.
I don't know to which package should I post this bug to. How can I determine this ?
My laptop is an Acer TimeLine X 5820T, 8GB RAM, 240 Kingston SSD, Intel Graphics version and Ubuntu Gnome 15.10 64 bit.
-
Raphael over 8 yearsWhat does this command do - $gnome-session-quit --power-off --force ?
-
userDepth over 8 yearsSame result still :(
-
Raphael over 8 yearsAnd this command: sudo shutdown -h now
-
userDepth over 8 yearsThe same behaviour
-
userDepth over 8 yearsI tied a suggestion from another question that said to run "sudo update-grub" and it fixed the problem on next reboot
-
Raphael over 8 yearsGlad! to hear that you solved your issue.
-
userDepth over 8 yearsNah! the issue came back o.o
-
Prototype700 over 8 yearsCould you add the model and specs of your machine and the Ubuntu version to your question? Also, are there any error outputs or other noticeable things (fans spinning, etc.) upon shutdown?
-
Apologician over 8 yearsPlease test my answer below. If you experience any problems, I'm sure I could provide you with a combination of the boot option that will resolve your issue. That question has been recurring numerous times on the internet and stackexchange.com. So for, using the right combination has resolved the issue in each case. By the way, marking an accepted answer will be a great combination back to the community, it will make it easier for others with similar issues to quickly find workable solutions.
-
-
userDepth over 8 yearsYes I have had that experience before too but since I upgraded to an SSD this doesn't take more than 10 min tops. What is happening now is that the screen is left on when the system seems to be not working at all including ALT + F1 which has being usable in this case that you mention.
-
Byte Commander over 8 yearsI disagree with the advice to run old kernels. You should just not enable the
proposed
updates repository, but all those kernel updates from the other ones are usually stable and should not cause serious problems. And if you ever encounter one, you can just switch back to the last version that worked, but still upgrade when the next version comes out to test if the problem has been fixed. -
Apologician over 8 yearsI had the same problem with a BRIX Mini computer. I experimented with lots of combinations until one worked. The idea of the example is to present how to include combinations.
-
Apologician over 8 years@ByteCommander I made a mistake and rolled back the wrong answer. I was fixing my answer when I was performing editing. I have searched for undoing what I accidentally did with this answer. Thanks in advance if you would help in getting it back into the proper and readable format in which you had. I'm still trying to figure out how to undo my mistake. I'll ask this question in the meta forum.
-
Byte Commander over 8 years@L.D.James Done. You just do another rollback to the revision before the accidental rollback. :)
-
X09 almost 7 years
auto update-grub
worked for me on 17.04