GRUB EFI should have a 'chainloader' option

  • Open
  • quality assurance status badge
Details
2 participants
  • Bengt Richter
  • symphonia
Owner
unassigned
Submitted by
symphonia
Severity
normal
S
S
symphonia wrote on 12 Jan 2020 13:08
(address . bug-guix@gnu.org)
3def06d55cde9f831d7dea84c1b94155@disroot.org
To dual boot with NixOS and other operating systems it would be nice to have 'chainloader' so that this configuration would work:
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(target "/boot/efi")
(menu-entries
(menu-entry
(label "systemd-boot")
(chainloader "/EFI/Boot/bootx64.efi")))
B
B
Bengt Richter wrote on 12 Jan 2020 15:55
(address . symphonia@disroot.org)(address . 39095@debbugs.gnu.org)
20200112145528.GA34843@Evo25c2ArchGx4.localdomain
Hi symphonia,

On +2020-01-12 12:08:08 +0000, symphonia@disroot.org wrote:
Toggle quote (13 lines)
> To dual boot with NixOS and other operating systems it would be nice to have 'chainloader' so that this configuration would work:
> (bootloader
> (bootloader-configuration
> (bootloader grub-efi-bootloader)
> (target "/boot/efi")
> (menu-entries
> (menu-entry
> (label "systemd-boot")
> (chainloader "/EFI/Boot/bootx64.efi")))
>
>
>

I just got a librem13v4 with PureOS installed booting via Coreboot amd grub,
and found that it will boot legacy mbr usbs, but would not boot a UEFI-bootable
USB or system on external USB SSD, though it shows up in a list of bootables.
(I've seen a reference to some kind of tool that converts a GPT partition to MBR style,
but I don't want to do that).

Does anyone know if efibootmgr and coreboot see bios nvram compatibly?
Or a workaround?

I saw your post and am hoping to find a possibly similar 'chainloader'
solution, but worry that the second loader may mess incompatibly with bios nvram.
--
Regards,
Bengt Richter
?