我在重启时遇到了非常慢的启动时间,我必须手动重启 2-3 次才能正常启动。这种情况是某一天才出现的,从那时起就一直存在(在出现此问题之前,系统从屏幕上出现 Ubuntu 徽标开始需要 5 秒才能启动)。我在开始时收到“正在为 /boot/efi 运行启动作业”,然后是几行日志检查等信息。
我查看了其他帖子,人们报告了同样的问题,这似乎是由 /etc/fstab 错误的 uuid 引起的。但我检查了 sudo blkid 和 /etc/fstab 输出,它们似乎匹配。
sudo blkid 输出:
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/nvme0n1p1: LABEL="SYSTEM" UUID="40F6-B9B6" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="96888f3a-32b4-4c29-a97a-0a2752032570"
/dev/nvme0n1p3: LABEL="Windows" UUID="AEB4F937B4F9029F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="69a69e0a-938c-42ce-9226-be4c125ee402"
/dev/nvme0n1p4: LABEL="WinRE_DRV" UUID="E0B4F9BEB4F9976E" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8c6c7f7d-4df1-40cc-a2b1-f0dc3013f00a"
/dev/nvme0n1p5: UUID="d4d0677a-3d4f-4c7c-96f4-66ed734a5a3d" TYPE="ext4" PARTUUID="4452c614-1e43-4141-91f7-46c009f9f177"
/dev/nvme0n1p6: UUID="a718d4e2-923d-4377-ad85-99693a258718" TYPE="swap" PARTUUID="9d01bb23-5e03-4854-802d-de338d04a749"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/loop18: TYPE="squashfs"
/dev/loop19: TYPE="squashfs"
/dev/loop20: TYPE="squashfs"
/dev/loop21: TYPE="squashfs"
/dev/loop22: TYPE="squashfs"
/dev/loop23: TYPE="squashfs"
/dev/loop24: TYPE="squashfs"
/dev/loop25: TYPE="squashfs"
/dev/loop26: TYPE="squashfs"
/dev/loop27: TYPE="squashfs"
/dev/loop28: TYPE="squashfs"
/dev/loop29: TYPE="squashfs"
/dev/loop30: TYPE="squashfs"
/dev/loop31: TYPE="squashfs"
/dev/loop32: TYPE="squashfs"
/dev/loop33: TYPE="squashfs"
/dev/loop34: TYPE="squashfs"
/dev/loop35: TYPE="squashfs"
/dev/loop36: TYPE="squashfs"
/dev/loop37: TYPE="squashfs"
/dev/loop38: TYPE="squashfs"
/dev/loop39: TYPE="squashfs"
/dev/loop40: TYPE="squashfs"
/dev/loop41: TYPE="squashfs"
/dev/loop42: TYPE="squashfs"
/dev/loop43: TYPE="squashfs"
/dev/loop44: TYPE="squashfs"
/dev/loop45: TYPE="squashfs"
/dev/loop46: TYPE="squashfs"
/dev/loop47: TYPE="squashfs"
/dev/loop48: TYPE="squashfs"
/dev/loop49: TYPE="squashfs"
/dev/loop50: TYPE="squashfs"
/dev/nvme0n1: PTUUID="6b27bf65-2dd5-46ec-aaa7-7a757af74c48" PTTYPE="gpt"
/dev/nvme0n1p2: PARTLABEL="Microsoft reserved partition" PARTUUID="c8291373-5fbb-4874-b897-fc75feb2b9f6"
在 /etc/fstab 中:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=d4d0677a-3d4f-4c7c-96f4-66ed734a5a3d / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=40F6-B9B6 /boot/efi vfat umask=0077 0 1
# swap was on /dev/nvme0n1p6 during installation
UUID=a718d4e2-923d-4377-ad85-99693a258718 none swap sw 0 0
有人知道这是什么原因造成的吗?编辑:我在 Ubuntu 18.04 上