Osteffen's Projects

osteffen/Grub2-BootLoaderSpec

Grub2 with some additions to make it more compatible with: the Boot Loader Specification, most notably scanning for unified kernel images (UKI) in the EFI System Partition and /boot, the Boot Loader Interface, providing basic support for systemd-gpt-auto-generator and the Discoverable Partitions Specification. Additions: In EFI Mode Searches ESP and $root for unified kernel images (UKI) in \EFI\Linux and adds them to the menu. Set LoaderDevicePartUUID to the GPT partition GUID of the ESP. Can be used by systemd to discover and auto-mount partitions. Set LoaderInfo to indicate Grub as the boot loader. In BIOS Mode (i386-pc) Ability to load UKIs via the linux and initrd commands. Discovery of ESP partition (in case running form a device with a GPT). Scanning of the ESP and $root for UKIs (in the usual locations: /EFI/Linux and /boot/EFI/Linux) Auto-discovery of the root partition via partition type GUID in case the embedded cmdline of the UKI does not contain root=.... root=PARTUUID=.... is appended in that case. Source Dist-Git: https://src.fedoraproject.org/fork/osteffen/rpms/grub2 Source: https://github.com/osteffenrh/grub2-blscfg Boot Loader Interface patches on the upstream mailing list: https://mail.gnu.org/archive/html/grub-devel/2023-01/msg00104.html Current Status It works, but needs cleanup. Notes Loading of UKI in EFI mode can be done with the chainloader command. In BIOS mode, use the normal linux and initrd commads on the (same) UKI file. I am thinking about unifying this by introducing a new command, let's say load_uki for both EFI and BIOS mode.
  • Fedora 39 : aarch64, x86_64
  • Fedora 40 : aarch64, x86_64
  • Fedora 41 : aarch64, x86_64
  • Fedora rawhide : aarch64, x86_64

@virtmaint-sig/sev-snp-coconut

virt packages with coconut-svsm enablement patches
  • Fedora 40 : x86_64
  • Fedora 41 : x86_64
  • Fedora rawhide : x86_64