Skip to content

Instantly share code, notes, and snippets.

### Steps for an encrypted ZFS root installation on Linux Mint 20.x & Ubuntu 20.04
01. Boot from an Ubuntu based installer/Live CD - Linux Mint 20.x or Ubuntu Desktop 20.04
02. Open a terminal
03. Run: `sudo apt -y install zfs-zed` - **!IMPORTANT!** - Ensure the ZFS pre-requisites installed!
04. Run: `sudo vi /usr/share/ubiquity/zsys-setup`
- find the right section with `/^init_zfs`
- prepend the `zpool create` for `rpool` with `echo MYPASSWORD | ` - `MYPASSWORD` **MUST** be 8 characters or more!
eg. `echo MYPASSWORD | zpool create -f \` - **DO NOT FORGET THIS!**
05. Above the last line of the `zpool create` command, insert these lines:

Keybase proof

I hereby claim:

  • I am danielabelski on github.
  • I am daniel_abelski (https://keybase.io/daniel_abelski) on keybase.
  • I have a public key ASCYxa6VRtQwm34p4zS6VuhmIxP2Nefu0xWhLXbtlJUVego

To claim this, I am signing this object: