Skip to content

Instantly share code, notes, and snippets.

@shotasenga
Last active August 3, 2021 05:39
Show Gist options
  • Save shotasenga/0f38633bcf3471107bd7629e53fd47dc to your computer and use it in GitHub Desktop.
Save shotasenga/0f38633bcf3471107bd7629e53fd47dc to your computer and use it in GitHub Desktop.
Template for installing Arch Linux
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options cryptdevice=UUID=<BLOCK ID>:arch root=/dev/mapper/arch-root resume=/dev/mapper/arch-swap rw intel_pstate=no_hwp
id=$(blkid|grep -i 'label="arch"' | cut -d '"' -f 2)
curl -L https://git.io/JBNbE 2>/dev/null | sed -e "s/<BLOCK ID>/$id/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment