Created
January 26, 2022 15:37
-
-
Save irgendwr/1accd3f7bf0fb002b4caf03f9da0b3fb to your computer and use it in GitHub Desktop.
Partial install script for my Arch setup. Still unfinished and experimental.
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 | |
# Print commands (x) and stop on error (e) | |
set -ex | |
# Set the console keyboard layout | |
loadkeys de-latin1 | |
# Update the system clock | |
timedatectl set-ntp true | |
timedatectl status | |
# TODO: | |
# Verify if we're using UEFI: | |
# ls /sys/firmware/efi/efivars | |
# Partition the disks | |
echo "Identify the devices usind `fdisk -l | less` or `lsblk`" | |
echo "Use `fdisk`, `parted` or `cfdisk` to partition the disks" | |
echo "Create a boot EFI partition and a root partition" | |
echo "(use a GPT partition table)" | |
# Prepare for LUKS encryption | |
modprobe dm-crypt | |
modprobe dm-mod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment