当我关闭 Ubuntu 时,它显示黑屏,但不会关机

当我关闭 Ubuntu 时,它显示黑屏,但不会关机

当我尝试关闭笔记本电脑时,一切正常,屏幕显示黑屏,但无法关机,我唯一能做的就是手动关机。我尝试使用poweroff -f或关闭shutdown -h now,但没有任何变化。

这个问题首次出现在 Ubuntu 20.04 LTS 上。然后我尝试重新安装相同版本的 Ubuntu,但问题仍然存在。我尝试安装 Ubuntu 21.10,但没有任何变化。最后我尝试了不同的发行版(Pop!_OS),它正常关机。我使用的是 Acer Aspire 3 A315-21-92HJ,配备 AMD A9-9420、8 GB RAM 和 250GB SSD。

编辑 - -

我包含了通过以下方式获取的日志文件tac /var/log/syslog > ~/log.txt

Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Hold until boot process finishes up.
Jan  5 17:56:36 Gallimimus systemd[1]: plymouth-quit-wait.service: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping PackageKit Daemon...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped OpenVPN service.
Jan  5 17:56:36 Gallimimus systemd[1]: openvpn.service: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Dispatcher daemon for systemd-networkd...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Tool to automatically collect and submit kernel crash signatures...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping irqbalance daemon...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping GNOME Display Manager...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Make remote CUPS printers available locally...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Regular background program processing daemon...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Manage, Install and Generate Color Profiles...
Jan  5 17:56:36 Gallimimus kernel: [ 1444.798835] audit: type=1400 audit(1641401796.100:118): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/proc/cmdline" pid=700 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Jan  5 17:56:36 Gallimimus kernel: [ 1444.798776] audit: type=1400 audit(1641401796.100:117): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/proc/1/environ" pid=700 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Jan  5 17:56:36 Gallimimus kernel: [ 1444.798678] audit: type=1400 audit(1641401796.100:116): apparmor="DENIED" operation="open" profile="/usr/sbin/cupsd" name="/proc/sys/kernel/osrelease" pid=700 comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Jan  5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Jan  5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Jan  5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Jan  5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Jan  5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Jan  5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Jan  5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSource/sbc
Jan  5 17:56:36 Gallimimus bluetoothd[606]: Endpoint unregistered: sender=:1.77 path=/MediaEndpoint/A2DPSink/sbc
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Bluetooth service...
Jan  5 17:56:36 Gallimimus bluetoothd[606]: Terminating
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping LSB: automatic crash report generation...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Save/Restore Sound Card State...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping ACPI event daemon...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Accounts Service...
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Modem Manager...
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was state-changed on NMDeviceWifi 0x55d645ff4390.
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was state-changed on NMDeviceEthernet 0x55d645fee250.
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was notify on NMActiveConnection 0x55d645ffd180.
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was notify on NMDeviceWifi 0x55d645ff4390.
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: message repeated 4 times: [ == Stack trace for context 0x55d643bdd1c0 ==]
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: == Stack trace for context 0x55d643bdd1c0 ==
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: The offending signal was notify on NMDeviceEthernet 0x55d645fee250.
Jan  5 17:56:36 Gallimimus gnome-shell[1412]: Attempting to call back into JSAPI during the sweeping phase of GC. This is most likely caused by not destroying a Clutter actor or Gtk+ widget with ::destroy signals connected, but can also be caused by using the destroy(), dispose(), or remove() vfuncs. Because it would crash the application, it has been blocked and the JS callback not invoked.
Jan  5 17:56:36 Gallimimus ModemManager[714]: <info>  ModemManager is shut down
Jan  5 17:56:36 Gallimimus NetworkManager[610]: <info>  [1641401796.0767] modem-manager: ModemManager no longer available
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped Monitor Session leader for GNOME Session.
Jan  5 17:56:36 Gallimimus systemd[1293]: gnome-session-monitor.service: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Jan  5 17:56:36 Gallimimus ModemManager[714]: <info>  caught signal, shutting down...
Jan  5 17:56:36 Gallimimus systemd[1]: systemd-rfkill.socket: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped target System Time Set.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Check to see whether there is a new version of Ubuntu available.
Jan  5 17:56:36 Gallimimus systemd[1]: update-notifier-motd.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Download data for packages that failed at package install time.
Jan  5 17:56:36 Gallimimus systemd[1]: update-notifier-download.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Ubuntu Advantage Timer for running repeated jobs.
Jan  5 17:56:36 Gallimimus systemd[1]: ua-timer.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Jan  5 17:56:36 Gallimimus systemd[1]: systemd-tmpfiles-clean.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Message of the Day.
Jan  5 17:56:36 Gallimimus systemd[1]: motd-news.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Daily man-db regeneration.
Jan  5 17:56:36 Gallimimus systemd[1]: man-db.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Daily rotation of log files.
Jan  5 17:56:36 Gallimimus systemd[1]: logrotate.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Refresh fwupd metadata regularly.
Jan  5 17:56:36 Gallimimus systemd[1]: fwupd-refresh.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Discard unused blocks once a week.
Jan  5 17:56:36 Gallimimus systemd[1]: fstrim.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Periodic ext4 Online Metadata Check for All Filesystems.
Jan  5 17:56:36 Gallimimus systemd[1]: e2scrub_all.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Daily apt download activities.
Jan  5 17:56:36 Gallimimus systemd[1]: apt-daily.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Daily apt upgrade and clean activities.
Jan  5 17:56:36 Gallimimus systemd[1]: apt-daily-upgrade.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped Trigger anacron every hour.
Jan  5 17:56:36 Gallimimus systemd[1]: anacron.timer: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped target Timers.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped target Sound Card.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped target Login Prompts.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped target Multi-User System.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped target Graphical Interface.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopped target Bluetooth.
Jan  5 17:56:36 Gallimimus systemd[1]: Removed slice system-systemd\x2dbacklight.slice.
Jan  5 17:56:36 Gallimimus systemd[1]: Removed slice system-modprobe.slice.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped GNOME Session Manager (session: ubuntu).
Jan  5 17:56:36 Gallimimus systemd[1]: Removed slice system-getty.slice.
Jan  5 17:56:36 Gallimimus systemd[1293]: [email protected]: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1]: Stopping Session 2 of user cosimo.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME Wacom tablet support service...
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME power management service...
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME keyboard shortcuts service...
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME keyboard configuration service...
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopping GNOME color management service...
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME XSettings target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Wacom tablet support target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME sound sample caching target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME smartcard target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME file sharing target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME FreeDesktop screensaver target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME RFKill support target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME printer notifications target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME power management target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME keyboard shortcuts target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME keyboard configuration target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME maintenance of expirable data target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME date & time target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME color management target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME accessibility target.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Session (session: ubuntu).
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Wayland Session.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Session.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped Path trigger for new release of Ubuntu notifications.
Jan  5 17:56:36 Gallimimus systemd[1293]: update-notifier-release.path: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped Path trigger for Apport crash notifications.
Jan  5 17:56:36 Gallimimus systemd[1293]: update-notifier-crash.path: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target Current graphical user session.
Jan  5 17:56:36 Gallimimus systemd[1293]: Stopped target GNOME Wayland Session (session: ubuntu).
Jan  5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.ScreensaverProxy.service: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.PrintNotifications.service: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Housekeeping.service: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Datetime.service: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Sound.service: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Sharing.service: Deactivated successfully.
Jan  5 17:56:36 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.A11ySettings.service: Deactivated successfully.
Jan  5 17:56:35 Gallimimus systemd[1]: unattended-upgrades.service: Deactivated successfully.
Jan  5 17:56:35 Gallimimus gnome-shell[1412]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:#012  _seekStatusNotifierItems/<@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:141:1#012  _seekStatusNotifierItems@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:141:21#012  async*AppIndicatorsStatusNotifierWatcher@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:57:14#012  maybeEnableAfterNameAvailable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:54:33#012  enable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:59:5#012  _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:168:32#012  loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:351:26#012  _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:597:18#012  collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:28#012  _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:572:19#012  _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:606:18#012  _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:637:18#012  init@resource:///org/gnome/shell/ui/extensionSystem.js:57:14#012  _initializeUI@resource:///org/gnome/shell/ui/main.js:278:22#012  start@resource:///org/gnome/shell/ui/main.js:175:5#012  @<main>:1:47
Jan  5 17:56:35 Gallimimus gnome-shell[1412]: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:#012  _seekStatusNotifierItems/<@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:141:1#012  _seekStatusNotifierItems@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:141:21#012  async*AppIndicatorsStatusNotifierWatcher@/usr/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:57:14#012  maybeEnableAfterNameAvailable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:54:33#012  enable@/usr/share/gnome-shell/extensions/[email protected]/extension.js:59:5#012  _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:168:32#012  loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:351:26#012  _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:597:18#012  collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:28#012  _loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:572:19#012  _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:606:18#012  _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:637:18#012  init@resource:///org/gnome/shell/ui/extensionSystem.js:57:14#012  _initializeUI@resource:///org/gnome/shell/ui/main.js:278:22#012  start@resource:///org/gnome/shell/ui/main.js:175:5#012  @<main>:1:47
Jan  5 17:56:35 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Smartcard.service: Deactivated successfully.
Jan  5 17:56:35 Gallimimus systemd[1293]: org.gnome.SettingsDaemon.Rfkill.service: Deactivated successfully.
Jan  5 17:56:35 Gallimimus kernel: [ 1444.612640] rfkill: input handler enabled

我于 17:56:35 关闭了电脑,并等到 17:37:35 强制关机。

编辑2---

我包括了以下输出ls -al /usr/share/gnome-shell/extensions

total 20
drwxr-xr-x 5 root root 4096 ago 19 12:35 .
drwxr-xr-x 7 root root 4096 ago 19 12:40 ..
drwxr-xr-x 2 root root 4096 ago 19 12:35 desktop-icons@csoriano
drwxr-xr-x 3 root root 4096 ago 19 12:35 [email protected]
drwxr-xr-x 3 root root 4096 ago 19 12:35 [email protected]

编辑 3 --- 我尝试了很多不同的事情,并且可能发现了一些东西:

从 GRUB 菜单中,选择Advanced options for Ubuntu,我发现 4 个元素(正常和恢复模式下的 2 个内核):

Ubuntu,使用 Linux 5.11.0-46-generic

Ubuntu,带有 Linux 5.11.0-46-generic(恢复模式)

Ubuntu,使用 Linux 5.11.0-27-generic

Ubuntu,带有 Linux 5.11.0-27-generic(恢复模式)

如果我选择第三个选项,并正常启动,我的电脑就会成功关机。如果我为两个内核选择恢复模式,并在下一个窗口中选择resume正常启动,它就会成功关机。如果我选​​择第一个选项(我假设是默认内核),并正常启动,我的电脑就不会关机。

答案1

BIOS

宏碁 Aspire 3 A315-21-92HJ

BIOS 已更新至最新 1.25 版。但问题仍未解决。

关机/断电

由于问题出现在 20.04 和 21.10 上,并且登录到不同的用户帐户时也会发生该问题,但在启动到 Ubuntu Live USB 或 Pop!_OS 时不会发生该问题,因此问题仅限于磁盘上的 Ubuntu 安装。

备份重要数据,然后重新安装 Ubuntu。仔细观察,如果看到一个小的“格式化”复选框,请确保它未被选中,这样你的 /home 文件夹就不会被影响。

如果直接重新安装不能解决问题,我们将不得不这样做全新安装,通过清除现有的 Ubuntu,然后进行全新安装...但现在不要这么做...只需重新安装并重新测试。

更新#1:

A全新安装UEFI 模式下的 Ubuntu 并没有修复该问题。

更新 #2:

笔记:在您的 BIOS 中,检查“快速启动”或“快速启动”的设置。将其禁用。

在 Windows 中检查这些设置。

  • 启动进入 Windows
  • 打开电源控制面板
  • 选择change what the power buttons do
  • 选择change options that are unavailable
  • 取消选中fast startup
  • 关闭电源控制面板
  • 打开管理命令提示符窗口
  • 类型powercfg /h off

答案2

正如我在我的答案的编辑3中所写:

从 GRUB 菜单中,选择 Ubuntu 的高级选项,我发现 4 个元素(正常和恢复模式下的 2 个内核):

Ubuntu,使用 Linux 5.11.0-46-generic

Ubuntu,带有 Linux 5.11.0-46-generic(恢复模式)

Ubuntu,使用 Linux 5.11.0-27-generic

Ubuntu,带有 Linux 5.11.0-27-generic(恢复模式)

如果我选择第三个选项,即不同的内核,我的电脑就可以成功关闭。

由于我的 Acer 电脑与特定内核(Ubuntu,Linux 5.11.0-46-generic)存在问题,所以我只是按照以下方法更改了默认内核这个答案

就我的具体情况来说:

  • 制作了以下备份/etc/default/grub
sudo cp /etc/default/grub /etc/default/grub.bak
  • 编辑文件
sudo -H gedit /etc/default/grub
  • 将行GRUB_DEFAULT从更改GRUB_DEFAULT=0为:
GRUB_DEFAULT='Advanced options for Ubuntu>Ubuntu, with Linux 5.11.0-27-generic'
  • 更新的 grub 菜单:
sudo update-grub

相关内容