Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2022 12:52
What would you like to do?
mkpart primary 2048s 100%
cryptsetup luksFormat /dev/nvme1n1p1
cryptsetup luksOpen /dev/nvme1n1p1 crypted
mkfs.fat -F 32 -n boot /dev/nvme0n1p2
mount /dev/disk/by-label/root /mnt
mkdir -p /mnt/boot
mount /dev/nvme0n1p2 /mnt/boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment