![重启后挂起,黑屏且下划线闪烁](https://linux22.com/image/150005/%E9%87%8D%E5%90%AF%E5%90%8E%E6%8C%82%E8%B5%B7%EF%BC%8C%E9%BB%91%E5%B1%8F%E4%B8%94%E4%B8%8B%E5%88%92%E7%BA%BF%E9%97%AA%E7%83%81.png)
一切正常,但是当我通过“systemctl restart”或通过 GNOME 重新启动时,它永远不会真正重新启动,而是卡在黑屏中,下划线光标闪烁,我被迫进行硬重置。
这些是 Journalctl -r 中的最后条目:
Mar 14 23:07:29 Desktop systemd-journald[417]: Journal stopped
Mar 14 23:07:29 Desktop systemd-shutdown[1]: Sending SIGTERM to remaining processes...
Mar 14 23:07:29 Desktop systemd-shutdown[1]: Syncing filesystems and block devices.
Mar 14 23:07:29 Desktop kernel: printk: systemd-shutdow: 50 output lines suppressed due to ratelimiting
Mar 14 23:07:29 Desktop systemd[1]: Shutting down.
Mar 14 23:07:29 Desktop systemd[1]: Reached target Reboot.
Mar 14 23:07:29 Desktop audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-reboot comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 14 23:07:29 Desktop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-reboot comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 14 23:07:29 Desktop systemd[1]: Started Reboot.
Mar 14 23:07:29 Desktop systemd[1]: systemd-reboot.service: Succeeded.
Mar 14 23:07:29 Desktop systemd[1]: Reached target Final Step.
Mar 14 23:07:29 Desktop systemd[1]: Reached target Shutdown.
Mar 14 23:07:29 Desktop systemd[1]: Removed slice system-systemd\x2dfsck.slice.
知道为什么会发生这种情况吗?
编辑:看起来它实际上每次都会在 2 分钟后重新启动。所以我认为它可能正在等待某个进程结束?这种情况每次都会发生,即使是在启动到 DM 后立即重新启动时也是如此。可能与X11有关吗?
这是journalctl -r:
Mar 16 20:53:23 Desktop kernel: Linux version 5.0.2-arch1-1-ARCH (builduser@heftig-15298) (gcc version 8.2.1 20181127 (GCC)) #1 SMP PREEMPT Thu Mar 14 18:47:49 UTC 2019
-- Reboot --
Mar 16 20:51:24 Desktop systemd-journald[419]: Journal stopped
答案1
我遇到了同样的问题,我通过更改解决了它
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
到
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
在
/etc/default/grub
然后运行
# grub-mkconfig -o /boot/grub/grub.cfg