跳转至

Ubuntu 24.04 关机自动重启问题修复

主机信息

项目
主机型号 Lenovo ThinkCentre M73
操作系统 Ubuntu 24.04.4 LTS (桌面版)
内核版本 6.17.0-23-generic (HWE)

问题描述

执行 sudo shutdown -h now 后,系统进入关机流程但最终自动重启,无法正常关机断电。

修复方案

第一步:修改 GRUB 启动参数

编辑 /etc/default/grub,将 GRUB_CMDLINE_LINUX_DEFAULT 修改为:

Bash
GRUB_CMDLINE_LINUX_DEFAULT="nosplash"

原值为 quiet splash,改为 nosplash 移除了 Plymouth 启动画面相关参数。

更新 GRUB 配置:

Bash
sudo update-grub

第二步:安装 laptop-mode-tools

Bash
sudo apt install laptop-mode-tools -y

验证

重启后执行 sudo shutdown -h now,系统正常关机断电,不再自动重启。

备注

  • 该问题为 Ubuntu 24.04 HWE 内核 6.17 与 Lenovo 2015 年老 BIOS ACPI 兼容性导致
  • splash 参数与 Plymouth 启动画面相关,可能与 EFI 关机流程存在冲突
  • laptop-mode-tools 安装了额外的 ACPI 电源管理组件,辅助关机流程正常完成