Hi,
I just installed linux mint 18.2 cinnamon 64-bit in place of windows 10 on my laptop. Now every time I press shutdown it will power off but restart in a few seconds. I have tried updating the kernel to 4.8.0-53.1 and disabling the wake-on-lan setting but neither works. Using terminal for `shutdown -h now' doesn't help either. A search online gave me too many different results on modifying the grub file but none of them worked for me so far. Does anyone have any idea how to solve this? I could send further results if you need me to type commands in the terminal. Thanks a lot!

Turn off Fast Boot in Windows. With all the new coziness between the UEFI BIOS and Windows, I'd not trust Fast Boot nor the Secure Boot functions, which have to be turned off anyway for most other OS installs.

Spearmint2 wrote:Turn off Fast Boot in Windows. With all the new coziness between the UEFI BIOS and Windows, I'd not trust Fast Boot nor the Secure Boot functions, which have to be turned off anyway for most other OS installs.

Thanks Spearmint2! Upon installing linux mint I've formatted the hard drive and presumably the windows have been uninstalled. Might there be some remnant settings from windows that I need to take care of?

caspardavidfriedrich wrote:
Thanks Spearmint2! Upon installing linux mint I've formatted the hard drive and presumably the windows have been uninstalled. Might there be some remnant settings from windows that I need to take care of?

what windows useds? Is the drive set for GPT or MBR partitions? Was this laptop an UEFI?

Hi,
My laptop doesn't have an `advanced settings' or similar tabs in its BIOS and I have explored every option without seeing a setting similar to the one mentioned in the two webpages you gave me. Do you think there might be other possibilities? Thanks a lot!

caspardavidfriedrich wrote:I tried acpi=force but it didn't help. The WoL setting was changed in BIOS. Maybe I got the wrong place?

As to the ACPI method, unfortunate. WoL in the BIOS frequenty refers to a dedicated header rather than the modern bus-based method -- but in fact probably only on significantly older machines than yours. Before we go bark up that tree any further therefore: googling for your issue leads to

sudo bash -c "for i in /sys/bus/usb/devices/*/power/control; do echo on > $i; done"

and shutdown, does it then remain shutdown? If indeed, I'll go find out how to do that best automatically on Mint 18; I'm myself still on Mint 17, use hence upstart rather than systemd.

[EDIT] If it works, this would seem to by the way also indicate that you might be able to tweak a USB wake-up setting somewhere in your BIOS. Maybe that's all you need.

[EDIT] But if it works yet no amount of USB BIOS setting tweaking does, adjusted from the above mentioned sources, create the following as /etc/systemd/system/haltusbpower.service and after doing so run sudo systemctl enable haltusbpower.

rene wrote:
[EDIT] But if it works yet no amount of USB BIOS setting tweaking does, adjusted from the above mentioned sources, create the following as /etc/systemd/system/haltusbpower.service and after doing so run sudo systemctl enable haltusbpower.