diff --git a/content/posts/linux/Root ZFS Encryption, Mirroring, and Remote Unlocking with Ubuntu.md b/content/posts/linux/Root ZFS Encryption, Mirroring, and Remote Unlocking with Ubuntu.md index ef4e07e..c412d02 100644 --- a/content/posts/linux/Root ZFS Encryption, Mirroring, and Remote Unlocking with Ubuntu.md +++ b/content/posts/linux/Root ZFS Encryption, Mirroring, and Remote Unlocking with Ubuntu.md @@ -241,4 +241,28 @@ dropbear_ecdsa_key=/etc/dropbear/ssh_host_ecdsa_key # User zbmuser is the authorized unlocker here dropbear_acl=/home/zbmuser/.ssh/authorized_keys EOF +``` + +### Configure EFI boot entries + +```bash +apt install efibootmgr -y + +efibootmgr -c -d /dev/nvme0n1 -p 1 \ + -L "ZFSBootMenu (Backup)" \ + -l \\EFI\\ZBM\\VMLINUZ-BACKUP.EFI + +efibootmgr -c -d "/dev/nvme0n1" -p 1 \ + -L "ZFSBootMenu" \ + -l \\EFI\\ZBM\\VMLINUZ.EFI + +### Skip this section if you are not doing mirroring +efibootmgr -c -d /dev/nvme0n2 -p 1 \ + -L "ZFSBootMenu (Backup)" \ + -l \\EFI\\ZBM\\VMLINUZ-BACKUP.EFI + +efibootmgr -c -d "/dev/nvme0n2" -p 1 \ + -L "ZFSBootMenu" \ + -l \\EFI\\ZBM\\VMLINUZ.EFI + ``` \ No newline at end of file