README: Add UEFI installation instructions
This commit is contained in:
parent
8bf63db6e5
commit
00ac4f251c
15
README.md
15
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
|
||||
|
|
Loading…
Reference in a new issue