r/obarun • • Aug 04 '21
Full Disk Encryption and Obarun
Hello to all
I would like to pose the following question:
"Is there any (preferably detailed) guide on how to install Obarun with full disk encryption (note: either with or without root on ZFS) ?"
Please note that I have already tried the following procedure:
1) preparing the system according to the scenario(s) from here
https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system
2) running the Obarun installer afterwards
WITHOUT any success though (i.e., I ended up with an non boot-able system).
Thank you all in advance.
4
Upvotes
4
u/gsax Aug 04 '21 edited Aug 04 '21
I mostly followed this guide:
https://wiki.obarun.org/doku.php?id=uefi
efibootmgr -c -d /dev/sda -p 1 -L "Obarun" -l \vmlinuz-linux -u "cryptdevice=UUID=YOUR-UUID-OF-YOUR-CRYPTOVOLUME:cryptroot root=/dev/mapper/cryptroot rootfstype=btrfs rootflags=subvol=system/obarun ro initrd=\intel-ucode.img initrd=\initramfs-linux.img"
As I said, I used btrfs as filesystem, so I don't know if this works with ZFS and I have done the encryption with passphrase only.