重新启动(18.04)时,我的屏幕保持黑屏,直到出现实际登录信息。
看来:
GRUB_GFXMODE=640x480
行/etc/default/grub
已恢复为注释掉的行。
该文件的日期是 8 月 4 日 8:11:32,根据/varlog/dpkg/log
该时间可知软件更新的时间:
…
2020-08-04 08:11:32 configure ubuntu-release-upgrader-gtk:all 1:18.04.38 <none>
2020-08-04 08:11:32 status unpacked ubuntu-release-upgrader-gtk:all 1:18.04.38
2020-08-04 08:11:32 status half-configured ubuntu-release-upgrader-gtk:all 1:18.04.38
2020-08-04 08:11:32 status installed ubuntu-release-upgrader-gtk:all 1:18.04.38
2020-08-04 08:11:32 configure grub-pc:amd64 2.02-2ubuntu8.17 <none>
2020-08-04 08:11:32 status unpacked grub-pc:amd64 2.02-2ubuntu8.17
2020-08-04 08:11:32 status unpacked grub-pc:amd64 2.02-2ubuntu8.17
2020-08-04 08:11:32 status unpacked grub-pc:amd64 2.02-2ubuntu8.17
2020-08-04 08:11:32 status half-configured grub-pc:amd64 2.02-2ubuntu8.17
2020-08-04 08:11:34 status installed grub-pc:amd64 2.02-2ubuntu8.17
2020-08-04 08:11:34 configure grub-efi-amd64-signed:amd64 1.93.19+2.02-2ubuntu8.17 <none>
2020-08-04 08:11:34 status unpacked grub-efi-amd64-signed:amd64 1.93.19+2.02-2ubuntu8.17
2020-08-04 08:11:34 status half-configured grub-efi-amd64-signed:amd64 1.93.19+2.02-2ubuntu8.17
2020-08-04 08:11:35 status installed grub-efi-amd64-signed:amd64 1.93.19+2.02-2ubuntu8.17
2020-08-04 08:11:35 trigproc systemd:amd64 237-3ubuntu10.41 <none>
…
更新会覆盖此文件,这是没有意义的,该文件旨在包含本地编辑的配置。
这是一次性的错误吗,或者我应该做些什么来防止这种情况再次发生,或者怎么样?