logo

grub-nomagic-scripts

Automagic-free replacement scripts for GRUB grub-mkconfig and grub-install.git clone https://anongit.hacktivis.me/git/grub-nomagic-scripts.git/

example.env (816B)


  1. # ~/.config/grub-nomagic/env
  2. # Copyright ⓒ 2024 Haelwenn (lanodan) Monnier <contact+grub-nomagic-scripts@hacktivis.me>
  3. # SPDX-License-Identifier: MIT
  4. # On gentoo this is provided by sys-kernel/linux-firmware[initramfs]
  5. MICROCODE="amd-uc.img"
  6. # boottime grub root relative to the boot disk
  7. #GRUB_ROOT="/ROOT/gentoo/@/boot"
  8. # grub modules required to decrypt /boot
  9. #GRUB_CORE_MODULES="zfs cryptodisk luks luks2 gcry_rijndael gcry_sha512 part_msdos part_gpt biosdisk"
  10. # Kernel command line
  11. #CMDLINE="iommu=soft amdgpu.gpu_recovery=1 nopti root=NightmareMoon/ROOT/gentoo rd.luks.uuid=a11ed797-cb45-496e-967d-a625b28740b6 crypt_root=UUID=a11ed797-cb45-496e-967d-a625b28740b6 rootfstype=zfs dozfs=cache apparmor=1"
  12. # Kernel initramfs, ONLY if you have an universal/multi-version one
  13. #INITRD="initramfs-all.cpio.xz"