I am using installkernel togerther with GRUB and dracut to install and update my kernel. I use custom location for grub.cfg per Handbook and want to set GRUB_CFG. However after setiing env config, running emerge --config gentoo-kernel still uses default /boot/grub/grub.cfg
Code: Select all
alwaid3 ~ # cat /etc/env.d/99grub
GRUB_CFG="/boot/EFI/gentoo/grub.cfg"Code: Select all
alwaid3 ~ # env | grep GRUB_CFG
GRUB_CFG=/boot/EFI/gentoo/grub.cfgCode: Select all
Running /usr/lib/kernel/postinst.d/91-grub-mkconfig.install 6.19.6-gentoo-dist /boot/EFI/Linux/gentoo-6.19.6-gentoo-dist.efi...
Backing up existing grub config as /boot/grub/grub.cfg~...
Generating new GRUB config as /boot/grub/grub.cfg...
Generating grub configuration file ...
Found theme: /boot/grub/themes/breeze/theme.txt
Found unified kernel image: /boot/EFI/Linux/gentoo-6.19.6-gentoo-dist.efi
Found unified kernel image: /boot/EFI/Linux/gentoo-6.19.6-gentoo-dist-old.efi
Found unified kernel image: /boot/EFI/Linux/gentoo-6.17.10-x86_64.efi
Found unified kernel image: /boot/EFI/Linux/gentoo-6.17.10-x86_64-old.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
mount: /var/lib/os-prober/mount: fsconfig() failed: No such file or directory.
dmesg(1) may have more information after failed mount system call.
Found Windows Boot Manager on /dev/nvme0n1p5@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
