Skip to content

Instantly share code, notes, and snippets.

@ivankovnatsky
Last active August 29, 2022 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivankovnatsky/c5c1030e2131194d6f2909b760d97f67 to your computer and use it in GitHub Desktop.
Save ivankovnatsky/c5c1030e2131194d6f2909b760d97f67 to your computer and use it in GitHub Desktop.
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