/etc/fstab 的磁盘驱动器尚未准备好

/etc/fstab 的磁盘驱动器尚未准备好

当我启动机器时,出现错误:

The disk drive for /etc/fstab: is not ready yet or not present.
Continue to wait, or Press S to skip mounting or M for manual recovery.

每次启动计算机时都会提示此错误。当我按下 s 时,它允许我登录我的帐户。

/etc/fstab内容:

UUID="9dd9d9a0-79f1-4fed-86ba-9a1b1ea3f1cc"# /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/sdb5 during installation
UUID=05429edb-2387-4c86-9759-98bea3878533 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sdb1 during installation
UUID=0a96120f-3def-43b0-a41d-f9b7bf5fc920 /boot           ext4    defaults        0       2
UUID=9dd9d9a0-79f1-4fed-86ba-9a1b1ea3f1cc       none            swap    sw,nobootwait              0       0
UUID=722a20c4-2fcc-461a-8b70-2ec521039ddc       none            swap    sw,nobootwait              0       0
UUID=0aeac269-3265-4dea-af0f-087e800a1429       none            swap    sw,nobootwait              0       0
UUID=059f3c8a-bca9-4abb-b86a-dfb842a0b24c       none            swap    sw,nobootwait              0       0

答案1

我犯了一个疯狂的错误!当我编辑时fstab,我错误地将 粘贴UUID在 之前的第一行# /etc/fstab

错误的:

UUID="9dd9d9a0-79f1-4fed-86ba-9a1b1ea3f1cc"# /etc/fstab: static file system information.

正确的:

# /etc/fstab: static file system information.

相关内容