-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
systemd-boot support #2
Comments
Good news, everyone. I've started reviving the project, and this is next on my TODO list. So maybe tomorrow. |
Bug: #2 Signed-off-by: Michał Górny <mgorny@gentoo.org>
tomorrow, eh? |
Don't you see the commit, though? |
I do, it looks like it's not finding my kernel because it was installed as |
or being placed in a subdir of /boot/<machine_id> like /boot/<machine_id>/<KERNEL_VER> |
|
magic number returned is |
I guess you need to teach it how to find the (compressed?) kernel image. |
Ya, how to read the efi binary to find the kernel image and then from that read the kernel version (as I mentioned on irc last night). |
If you need inspiration for parsing the PE file headers, I threw this together in a hurry - though I did this for self-practice and I don't mean to steal the show from prometheanfire. https://github.com/Jannik2099/eclean-kernel/blob/efistub/ecleankernel/file.py#L169 |
According to https://systemd.io/BOOT_LOADER_SPECIFICATION/ the placeholder file system $BOOT should be mounted on /boot or /efi. Additional locations like /boot/efi might also be supported. This is also what systemd's /usr/bin/kernel-install bash script currently supports. Bug: projg2#2 Signed-off-by: Florian Schmaus <flo@geekplace.eu>
According to https://systemd.io/BOOT_LOADER_SPECIFICATION/ the placeholder file system $BOOT should be mounted on /boot or /efi. Additional locations like /boot/efi might also be supported. This is also what systemd's /usr/bin/kernel-install bash script currently supports. Bug: #2 Signed-off-by: Florian Schmaus <flo@geekplace.eu> Closes: #14 Signed-off-by: Michał Górny <mgorny@gentoo.org>
I can confirm that the the edit seems to work. Jannik2099@32b1a2d |
Oh, I'm positively surprised that this is in working condition, heh - I can't predict when I'll find time to work on this, so anyone may feel free to pick up from here. |
It'd be nice if systemd-boot, former gummiboot, was supported.
The text was updated successfully, but these errors were encountered: