README: Add UEFI installation instructions

neomutt
Simon Bruder 2021-10-05 19:16:39 +02:00
parent 8bf63db6e5
commit 00ac4f251c
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 15 additions and 0 deletions

View File

@ -48,6 +48,15 @@ Create the partition table (enter the indented lines in the repl):
disk_toggle pmbr_boot
quit
On UEFI:
parted /dev/nvmeXnY
mktable GPT
mkpart ESP 1MiB 512MiB
mkpart root 512MiB 100%
set 1 esp on
quit
Format encrypted partition and open it:
cryptsetup luksFormat --type luks2 /dev/sdX3
@ -70,6 +79,12 @@ Create filesystems:
mkfs.btrfs -L root /dev/HOSTNAME-vg/root
mkswap -L swap /dev/HOSTNAME-vg/swap
On UEFI:
mkfs.fat -F 32 -n boot /dev/nvmeXnYpZ
mkfs.btrfs -L root /dev/HOSTNAME-vg/root
mkswap -L swap /dev/HOSTNAME-vg/swap
Mount the file systems and activate swap:
mount /dev/HOSTNAME-vg/root /mnt