Last active
August 3, 2021 05:39
-
-
Save shotasenga/0f38633bcf3471107bd7629e53fd47dc to your computer and use it in GitHub Desktop.
Template for installing Arch Linux
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
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 |
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
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