Installare Ubuntu su na root ZFS encrypted
Jump to navigation
Jump to search
- Boot the Ubuntu 20.04 Desktop installer/live CD.
- Click the “Try Ubuntu” button.
- Open a terminal and edit
vi /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 MYPASSWORD |
- Before the last line of the command insert these lines:
-O recordsize=1M \ -O encryption=aes-256-gcm \ -O keylocation=prompt \ -O keyformat=passphrase \
- Run
ubiquity
- to start the installer and install as normal, selecting “Use entire disk” and the option to use ZFS.