首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >启动时dmcrypt / encrypt钩子没有请求LUKS密码

启动时dmcrypt / encrypt钩子没有请求LUKS密码
EN

Unix & Linux用户
提问于 2017-02-02 04:01:14
回答 1查看 4.9K关注 0票数 5

在靴子上我看到:

代码语言:javascript
复制
:: running hook [encrypt]

A password is required to access the  volume:
Command requires device and mapped name as arguments
Command requires device and mapped name as arguments
Command requires device and mapped name as arguments

最后的消息每秒钟重复一次。

我没有机会输入密码。

我在管理Manjaro,以Arch为基础。

我做错了什么?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2017-02-02 04:01:14

您可能忘了在内核命令行参数中包含所需的加密设备映射名称。

我有:

cryptdevice=/dev/sdaX

但是,第二个冒号分隔字段是强制性的,例如:

cryptdevice=/dev/sdaX:root

如果您正在使用SSD,并且已经理解了含意,那么您可能需要使用以下方法来提高性能:

cryptdevice=/dev/sdaX:root:allow-discards

票数 5
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/341910

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档