From 00ac4f251c6ce0e598880d5b9ed4a83b34d7036c Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 5 Oct 2021 19:16:39 +0200 Subject: [PATCH] README: Add UEFI installation instructions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 3c0a12e..8ccb196 100644 --- a/README.md +++ b/README.md @@ -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