After switching to Ubuntu 15.04 laptop won't shutdown

Solution 1:

Having the same problem after upgrading to from 14.10 to 15.04 on my Dell Insperion 7537. Reboot works fine, shutdown acts like reboot.

this looks like it might be related Reboot after shutdown (Ubuntu 14.04 (also 12.04); Dell latitude E7440) I tried

sudo apt-get update && sudo apt-get install laptop-mode-tools

and changing GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=noirq" in /etc/default/grub

also tried the entries acpi=force apm=power_off there too. So far nothing has worked. will keep looking...

Solution 2:

First this may be bug #1464917:

If this affects you please go there and let them know by clicking "This affects me" link above the initial bug description.

After the shutdown or reboot has hanged with this message.

Reached target Shutdown

You may only see this if you have removed the splash screen. If the system has hanged for any reason you can use this method.

Try Sysrq

  1. Hold down the Alt and SysRq (Print Screen) keys.
  2. While holding those down, type the following keys in order, several seconds apart: REISUB
  3. Computer should reboot.

Once it reboots immediately try shutdown button again, it should shutdown properly. Please add your name to the "This Affects Me" button at launchpad bug link above if you think this is the same issue.

Update:

There has been a development as a work around to this bug. It seems to be related to the swap file usage/management. Adam (from the bug link above) points out that if you turn your swap off, wait for it to process, before you shutdown the hang never happens. When you are ready to shutdown your machine, open a terminal window and type;

sudo swapoff -a

Wait for the command to process and give your prompt back then you should be able to perform normal shutdown. This is working for many including me.

end update

You can also try the following after it hangs.

Try and login tty1 and reboot

  1. Press Ctrl+Alt+F1 or Ctrl+Alt+F2 or Ctrl+Alt+F3 ...
  2. Write your username (lowercase, the name of the user folder in /home) and hit Enter
  3. Write your password (nothing will appear) and hit Enter

If your password and username are correct, you are now logged in.

If that fails try Ctrl+Alt+Del a couple times at that point in the tty1 screen

You might see a message that states the machine is going to reboot and then it should do just that after a minute or so.

Its better than a hard boot - until its fixed.

In the bug notes it is reported that you can upgrade to Vivid-Proposed and it fixes the issue but some still see this after that upgrade. It might be worth a shot.