Encrypted ZFS Root When Installing Ubuntu 20.04

Опубликовано: 31 Октябрь 2024
на канале: Chris McDonough
1,833
21

Open a terminal and edit “/usr/share/ubiquity/zsys-setup”:

Search for “zpool create”, and make sure you have found the create command that has “rpool” on the last line.

Before the “zpool create” insert:

echo "mypassphrase" |

In other words, pipe the passphrase to "zpool create".

Before the last line of the command insert these lines:
-O encryption=aes-256-gcm \
-O keylocation=prompt \
-O keyformat=passphrase \