Ubuntu – Ubuntu 16.04 stuck on shutdown/reboot with “recovering journal” line

rebootshutdownssduefi

My Problem:

Ubuntu doesn't shutdown/reboot and is stuck on line like:

/dev/sda: clean, xxx/xxx files, xxx/xxx blocks

and sometimes with several similiar lines and sometimes with

recovering journal

at the top.

At first the problem was that it stucked with

CPU#X stucked for XXs

but I've managed it somehow from the list below 🙂

What's done:

  1. sudo update && upgrade && dist-upgrade` and loaded updates with ubuntu-software-center.
  2. sudo purge nvidia* and sudo apt-get install nvidia-361
  3. switched to Intel HD card in "Nvidia settings" (nvidia prime).
  4. fixed grub with GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force
  5. (tried apm=power_off and acpi=noirq too).(tried apm=power_off and acpi=noirq too).
  6. disabled usb 3.0 legacy mode.
  7. disabled swap partition with sudo swapoff /dev/sdaX and commented it's entry in fstab.
  8. smth in /etc/modules I've forgotten..

My hardware:

MSI GE62 6QD (Laptop);
i5 6300HQ (4 cores);
intel hd530 + Nvidia gtx 960;
16gb RAM DDR4;
Windows 10 UEFI on default 1TB HDD;
SSD Intel 540s via M.2 (UBUNTU UEFI);
Dualboot via bootmenu (F11) yet..

I just didn't update kernel manually, but I can try if you'll help me a little with right way of doing it.

Installation process didn't go easy too. It got stucked on first "preparing" screen with "Ubuntu" logo. Solved with nomodeset in boot params.
I've tried hackintosh OSX El Capitan on this M.2 SSD and it worked rather fine (of course not excellent).

I'm very sorry, cause I'm not a guru in kernels/terminal/bootargs/etc, so I tried almost every solution that helped somebody..

Hope for your help. I need my lovely OS working well on my new monster-laptop.

Best Answer

I've managed with this issue, but still have some little problem. I edited /etc/default/grub added pci=nomsi param to bootparams line like that: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi" and laptop now reboots and loads fine, BUT only if 'Nvidia card' enabled in 'Nvidia settings'. If I switch it to 'IntelHD' (IntelHD530 in my case) laptop still stucks on shutdown and goes to login loop if I try to relogin. It doesn't rather disturb me but IntelHD provides more smooth interface performance and less battery consumption than Nvidia card does :( What have I do? Are the latest nvidia drivers provide smoothness or not? Or maybe there's more simple solution to make IntelHD working fine too?