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