-
Notifications
You must be signed in to change notification settings - Fork 22
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
Loading files on other devices? #8
Comments
Hi, Thanks! |
Did you manage to resolve this issue? I have My disk layout:
Do you have a tip, how to load kernel from different partition? I can see that SELoader tries to read from different partition already, but fails. Thanks a lot. |
No, I reworked my A/B update scheme to include logic to update the ESP contents after flashing before rebooting. Given your layout @phatina you may need to do the same. That also means going with a larger ESP :) |
Hi, thank you for a quick reply. I am using Mender for OTA updates which puts kernel and initramfs into separate partitions so that I can update also those. What do you suggest to do with EFI partition? Since Thanks. |
I was also using Mender in that case and went with (I can't go check the details easily atm) the supported post-install pre-reboot hooks to copy what I needed around and have corresponding changes so it would use the kernel+initramfs from the ESP and not A/B directly. |
Aha, okay. So you mimicked A/B interface in ESP, say we have As per Thank a lot Tom. |
I can't dig at the details, sorry, but in short, yes, I mimicked A/b under EFI/ on the ESP and then used some of the supported spots in Mender to copy the contents and overwrote the grub.cfg logic to know to use that location instead of A/B rootfs itself. I only needed to modify one hook I recall. |
@trini Do you have a clue if I can use this SELoader to boot from PXE? |
@phatina Did not do anything with PXE, sorry. |
i have basically the same question - opened a bug here: jiazhang0/meta-secure-core#155 |
Does this support opening files in locations other than where the module itself resides? For example, if I have (hd0,gpt1) as where SELoader (and shim and everything else reside) and wish to have GRUB load from a FAT partition that's on (hd0,gpt2) instead AFAICT SELoader (and Mok2Verify) is passing back FILE_NOT_FOUND even if yes, the file really does exist. Any pointers greatly appreciated, thanks!
The text was updated successfully, but these errors were encountered: