1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-12-22 12:51:34 -05:00
This commit is contained in:
Tommy 2023-07-28 15:46:58 -07:00
parent 52ee35ffa7
commit 3add3400a6

View File

@ -242,3 +242,27 @@ dropbear_ecdsa_key=/etc/dropbear/ssh_host_ecdsa_key
dropbear_acl=/home/zbmuser/.ssh/authorized_keys dropbear_acl=/home/zbmuser/.ssh/authorized_keys
EOF 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
```