关机后Ubuntu 16.04重启

我有一台双启动配置的Windows 10和Ubuntu 14.04笔记本电脑(HP Probook 450 G0)。 最近我使用do-release-upgrade将Ubuntu升级到16.04。 在升级之后,当我关闭Ubuntu时,笔记本电脑会在几秒钟后自动打开(非常类似于此线程中的问题Ubuntu 16在关机后重新启动几秒钟 )。 Windows 10仍然可以正常工作。 我读了很多寻找答案的板子,并尝试了一些解决方案,它们是:

  • 在BIOS设置中关闭LAN唤醒和USB唤醒。
  • 运行apt updateapt upgrade
  • 在关机前拔掉所有USB设备。
  • 使用GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" acpi=force apm=power_off编辑grub文件GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" acpi=force apm=power_off
  • 尝试其他方式关闭像sudo shutdown -h nowsudo poweroff -f等…
  • 重新安装Ubuntu 16.04(从Live USB擦除并安装)。

以上解决方案均不适合我。 唯一有效的解决方案是使用快捷按钮关闭WiFi,然后只有关机后计算机才会自动启动。 一些旁注:

  • 有时登录后我无法使用任何USB端口(我尝试使用鼠标和USB闪存棒)。
  • 即使我使用以太网电缆连接到互联网,它仍然会通知/提示我连接到可用的WiFi连接。

有人可以帮我解决这个问题。 非常感谢!

试试这个家伙吧。

 Type in terminal sudo nano /etc/default/grub then find a line 

GRUB_CMDLINE_LINUX_DEFAULT =“安静的飞溅”

 Modify it to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" acpi=force apm=power_off Type in terminal sudo nano /etc/grub/modules then add apm power_off=1 under line lp. Save and close the terminal. Update the GRUB sudo update-grub 

来源: 关机后重启(Ubuntu 14.04(也是12.04);戴尔纬度E7440)

它对我有用