Skip to content

Instantly share code, notes, and snippets.

@ivyl
Created June 2, 2018 09:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivyl/4d6e3c1c13df4cc2658d0786482474c0 to your computer and use it in GitHub Desktop.
Save ivyl/4d6e3c1c13df4cc2658d0786482474c0 to your computer and use it in GitHub Desktop.
insmod part_gpt
insmod luks
insmod gcry_sha1
insmod gcry_rijndael
set timeout_style=hidden
set timeout=1
menuentry 'Arch' {
cryptomount (ahci0,gpt2)
linux (crypto0)/vmlinuz-linux iomem=relaxed init=/usr/lib/systemd/systemd root=/dev/mapper/root rw rootflags=subvol=rootvol cryptdevice=/dev/sda3:root:allow-discards cryptkey=rootfs:/etc/root.keyfile quiet
initrd (crypto0)/initramfs-linux.img
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment