Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request for DevicePath parse to support sub type 0x03 #342

Open
nkraetzschmar opened this issue Jul 24, 2024 · 0 comments
Open

feature request for DevicePath parse to support sub type 0x03 #342

nkraetzschmar opened this issue Jul 24, 2024 · 0 comments

Comments

@nkraetzschmar
Copy link

Currently the DevicePath parse function only supports TYPE_MEDIA sub type 0x04 (MEDIA_FILEPATH_DP)1, however, booting with systemd boot stub requires sub type 0x03 (MEDIA_VENDOR_DP) with LoadImage2.

At the moment this causes boot with a UKI using the systemd boot stub to fail with:

[ERROR] Unexpected end of device path
Error loading kernel image: Unsupported
PANIC: panicked at src/main.rs:290:5:
Unable to boot from any virtio-blk device

It would be great if this sub type could be supported to allow UKI booting.

Footnotes

  1. https://github.com/cloud-hypervisor/rust-hypervisor-firmware/blob/bd9d7dc0e7f78b9627988a22f08f086424d54226/src/efi/device_path.rs#L27

  2. https://github.com/systemd/systemd/blob/11d5e2b5fbf9f6bfa5763fd45b56829ad4f0777f/src/boot/efi/linux.c#L58

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

No branches or pull requests

1 participant