Skip to content

Instantly share code, notes, and snippets.

@sneak
Last active April 18, 2020 13:46
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 sneak/2c76c8a06b4514dd284d7540430a2138 to your computer and use it in GitHub Desktop.
Save sneak/2c76c8a06b4514dd284d7540430a2138 to your computer and use it in GitHub Desktop.
/boot/efi/EFI/grub/grub.conf
set timeout=1
set default=0
insmod part_gpt
insmod fat
insmod efi_gop
insmod efi_uga
insmod cryptodisk
insmod luks
insmod zfs
# make sure boot filesystem has compression off!
menuentry "Gentoo 5.4.28" {
cryptomount -u e7991358c6794c099a7affb6c4a1922d
linux (crypto0)/gentoo/os/boot/@/5.4.28-gentoo/vmlinuz root=zfs:AUTO rd.luks.uuid=e79913 rd.luks.allow-discards rd.luks.crypttab=0 rd.info rd.debug rd.shell
initrd (crypto0)/gentoo/os/boot/@/5.4.28-gentoo/initrd.dracut
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment