This file contains 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
########################################### | |
We will use GPT and grub as the bootloader. | |
# First Hard drive (nvme0n1) | |
The ESP will reside in the first partition mounted to /efi. | |
The kernel and initramfs will be the second partition and will be mounted to /boot | |
The third partition on nvme0n1 will be encrypted with Luks with a password. | |
The encrypted partition on the first drive will always require a password to be manually entered on boot. | |
# Second Hard drive (sda) |
This file contains 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
# Download and verify iso | |
gpg --verify archlinux-2017.01.01-dual.iso.sig | |
# Burn iso to USB | |
dd if=archlinux-*.iso of=/dev/sdX bs=16M && sync | |
# Boot usb image and set root passwd (this is a temp password used for install only) | |
passwd | |
# Ensure time is correct |
This file contains 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
# Shows progress indicator and ETA for dd | |
sudo dd if=/dev/zero | pv -s 4T | sudo dd iflag=fullblock of=/dev/sdc oflag=direct bs=4096 |
This file contains 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
# Download and verify iso | |
gpg --verify archlinux-2017.01.01-dual.iso.sig | |
# Burn iso to USB | |
dd if=archlinux-*.iso of=/dev/sdX bs=16M && sync | |
# Boot usb image and set root passwd (this is a temp password used for install only) | |
passwd | |
# Ensure time is correct |