小编cor*_*sk1的帖子

cryptsetup:等待加密源设备/swapfile

我知道有人问过这个问题,但我问这个问题是因为我发现的修复不起作用。我遇到了这个人同样的问题:Ubuntu 19.04“等待加密的源设备/交换文件”,然后启动时提示 initramfs :linuxquestions

但我尝试了修复,即在 /etc/crypttab 中添加“size=256”。我这样做了,但它仍然警告我,我没有在 crypttab 中指定大小,并且仍然需要时间来启动。(如果我在提示符下键入 exit,我的计算机仍会启动到工作 GUI)

以下是 /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/nvme0n1p2 during installation
UUID=694b4858-ead8-400d-9406-f9fc45dc71f1 / …
Run Code Online (Sandbox Code Playgroud)

encryption partitioning boot fstab mount

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

boot ×1

encryption ×1

fstab ×1

mount ×1

partitioning ×1