Skip to content

Conversation

@m-iwanicki
Copy link
Contributor

@m-iwanicki m-iwanicki commented Feb 3, 2025

@macpijan What do you think about this PR?
We could use it as a first step to creating SB capable image (built from kas.yml not separate one).
To enable SB when booting via USB we would need couple more changes (add at least shim + sbat section to grub)
From my testing grub.cfg file is used only on EFI platform. When booting on legacy BIOS, old config is used.
This PR creates 2 files:

  • dts.efi - UKI containing linux stub and kernel. It's in target image under /boot/EFI/DTS/dts.efi and booted via chainloader command
  • ipxe_dts.efi - UKI containing linux stub, kernel and rootfs (as initrd). It can be booted via iPXE (e.g. by chain command).
    It can be signed and deployed to boot.dasharo.com via our CI. It would allow booting DTS via iPXE with secure boot enabled (after couple changes in dts.ipxe script).

@m-iwanicki m-iwanicki requested a review from macpijan February 3, 2025 13:23
@m-iwanicki m-iwanicki self-assigned this Feb 3, 2025
@m-iwanicki
Copy link
Contributor Author

Related to: Dasharo/dasharo-issues#1218 (comment)

@m-iwanicki
Copy link
Contributor Author

m-iwanicki commented Sep 30, 2025

Possible fix for Dasharo/dasharo-issues#1085

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant