Modifying Bootloader
Dylan700 opened this issue · 0 comments
Hi,
Not sure if this is the right place, but I noticed that the kali image has a file in /config/bootloaders/grub-pc/grub.cfg which contains some variables such as @KERNEL_LIVE@. Is there a way to explicitly set this variable?
I'm trying to explicitly set the kernel that gets used within grub when booting a live system. I have created a chroot hook script to install the kernel I wish to use. It is a t2 kernel that helps with running Linux on a Mac with the t2 security chip.
I can only get the live system using the t2 kernel on my mac when I edit the grub config before boot. I do this by manually entering the name of the t2 kernel. Strangely, it works fine in Virtual box with the t2 kernel being used without needing to edit the config. I think this is due to the differences in the bootloader for BIOS vs EFI.
Any help or suggestions would be greatly appreciated.