Skip to content

Instantly share code, notes, and snippets.

@ghfields
Last active January 7, 2022 22:44
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghfields/b9d070e4e4a3f9e29f03634ac05b5b36 to your computer and use it in GitHub Desktop.
Save ghfields/b9d070e4e4a3f9e29f03634ac05b5b36 to your computer and use it in GitHub Desktop.
Fix Ubuntu 19.10 zfs installer /usr/share/ubiquity/zsys-setup (encryption)
1) Start in uefi mode.
At Line 216 use:
echo password | zpool create -f \
-o ashift=12 \
-O compression=lz4 \
-O acltype=posixacl \
-O xattr=sa \
-O relatime=on \
-O normalization=formD \
-O mountpoint=/ \
-O canmount=off \
-O dnodesize=auto \
-O sync=disabled \
-O recordsize=1M \
-O encryption=aes-256-gcm \
-O keylocation=prompt \
-O keyformat=passphrase \
-O mountpoint=/ -R "${target}" rpool "${partrpool}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment