Claude/ai says that a program such as refind can use the EFI LoadOptions mechanism to specify a grub.cfg file, as shown below. It seems that refind maybe could do this, and specify the (EFIpartitionspec)/boot/grub/grub/cfg file that is on the partition that is to be booted. If there is no grub.cfg, fall back to whatever grub itself finds by searching disks according to its normal heuristic. EFI_HANDLE ImageHandle; EFI_LOADED_IMAGE_PROTOCOL *LoadedImage; // Load the image BS->LoadImage(FALSE, ParentImageHandle,...
After digging around some more, it seems that what I am really asking for is for refind to behave differently: When refind finds a bootable linux partition, I think it should look for ($root)/boot/grub//grub.cfg, and if it exists, use it!! How to pass that file path into grubx64.efi then becomes the next task, which a requires a bit of a workaround, because apparently grubx64.efi does not accept a grub.cfg file path as command line parameter (actually grubx64.efi does not seem to accept any command...
After digging around some more, it seems that what I am really asking for is for refind to behave differently: When refind finds a bootable linux partition, I think it should look for ($root)/boot/grub//grub.cfg, and if it exists, use it!! How to pass that file path into grubx64.efi then becomes the next task, which a requires a bit of a workaround, because apparently grubx64.efi does not accept a grub.cfg file path as command line parameter (actually grubx64.efi does not seem to accept any command...
After digging around some more, it seems that what I am really asking for is for refind to behave differently: When refind finds a bootable linux partition, I think it should look for ($root)/boot/grub//grub.cfg, and if it exists, use it!! How to pass that file path into grubx64.efi then becomes the next task, which a requires a bit of a workaround, because apparently grubx64.efi does not accept a grub.cfg file path as command line parameter (actually grubx64.efi does not seem to accept any command...
After digging around some more, it seems that what I am really asking for is for refind to behave differently: When refind finds a bootable linux partition, I think it should look for ($root)/boot/grub//grub.cfg, and if it exists, use it!! How to pass that file path into grubx64.efi then becomes the next task, which a requires a bit of a workaround, because apparently grubx64.efi does not accept a grub.cfg file path as command line parameter (actually grubx64.efi does not seem to accept any command...
I have a bunch of linux root file systems (partitions) with different versions of linux/ubuntu. I would like to boot from refind into grub (and not just directly into linux) using the /boot/grub/grub.cfg that is native to each specific partition. How do I set this up without having to write a lot of partition-specific stanzas and .conf files manually? I tried the following: -# added line in file /boot/efi/EFI/refind.conf also_scan_dirs +,/boot/grub/x86_64-efi This does cause a number of additional...
I have a bunch of linux root file systems (partitions) with different versions of linux/ubuntu. I would like to boot from refind into grub (and not just directly into linux) using the /boot/grub/grub.cfg that is native to each specific partition. How do I set this up without having to write a lot of partition-specific stanzas and .conf files manually? I tried the following: -#add in file /boot/efi/EFI/refind.conf also_scan_dirs +,/boot/grub/x86_64-efi This does cause a number of additional penguin...
I have a bunch of linux root file systems (partitions) with different versions of linux/ubuntu. I would like to boot from refind into grub (and not just directly into linux) using the /boot/grub/grub.cfg that is native to each specific partition. How do I set this up without having to write a lot of partition-specific stanzas and .conf files manually? I tried the following: add in file /boot/efi/EFI/refind.conf also_scan_dirs +,/boot/grub/x86_64-efi This does cause a number of additional penguin...