无法创建密钥文件。 ubuntu安装错误

无法创建密钥文件。 ubuntu安装错误

我正在尝试生成一个预置文件来自动执行 Ubuntu 安装过程。我希望借助预种子的帮助进行全盘加密,预种子中包含密码短语。

我写了这个:

d-i partman-auto/method string crypto
d-i partman-crypto/passphrase password helloworld
d-i partman-crypto/passphrase-again password helloworld

它给了我错误:

unable to generate key file.

我尝试了很多链接,但没有一个有帮助:
https://askubuntu.com/questions/24079/full-disk-encryption-with-preseed
https://askubuntu.com/questions/305176/preseed-with-lvm-and-crypto-fails-with-an-error-occurred-while-creating-the-keyf?rq=1

但每次我都会遇到同样的错误。

问题是,当我在没有任何预置帮助的情况下做到这一点时,一切都工作正常。我想知道如何编写全盘加密的预置种子。我还提到了Ubuntu 文档,但这也没有帮助。本指南没有提供太多关于编写加密预置的信息

相关内容