Last active
December 5, 2017 17:02
-
-
Save corburn/b7c02d01d5756dcb6fffb87481b4e51f to your computer and use it in GitHub Desktop.
Installing Arch Linux with an encrypted btrfs root, GPT, and UEFI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# UEFI Shell | |
mount fs01 usb | |
usb: | |
shell.x64.efi | |
# LUKS | |
dd if=/dev/urandom of=/dev/nvme0n1 | |
# cgdisk /dev/nvme0n1 | |
# | |
# size: 512M | |
# type: EF00 (EFI Partition) | |
# name: esp (EFI System Partition) | |
# | |
# size: (remaining disk) | |
# type: 8300 (linux) | |
# name: root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment