View previous topic :: View next topic |
Author |
Message |
equaeghe l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 22 Feb 2005 Posts: 657
|
Posted: Tue May 07, 2024 8:07 am Post subject: ukis generated by installkernel are not proper ukis? |
|
|
I use installkernel with as use flags systemd, systemd-boot, uki, and ukify. This works well when booting (using systemd-boot as bootloader). However, bootctl thinks that my ukis are not ukis:
Code: | $ bootctl list
Parsed PE file '/boot/EFI/Linux/<machine-id>-6.6.21-gentoo-g.efi' is not a UKI.
Parsed PE file '/boot/EFI/Linux/<machine-id>-6.6.30-gentoo-a.efi' is not a UKI.
Parsed PE file '/boot/EFI/Linux/<machine-id>-6.6.30-gentoo-b.efi' is not a UKI. |
What could be the matter? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xgivolari Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Jul 2021 Posts: 102
|
Posted: Thu May 09, 2024 10:00 pm Post subject: |
|
|
systemd only recognizes UKIs as such if they contain an initrd, wether it is actually needed or not. You can enable automatic initrd generation by building installkernel with USE=dracut. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
equaeghe l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 22 Feb 2005 Posts: 657
|
Posted: Fri May 10, 2024 7:54 am Post subject: |
|
|
xgivolari wrote: | systemd only recognizes UKIs as such if they contain an initrd, wether it is actually needed or not. You can enable automatic initrd generation by building installkernel with USE=dracut. |
Thank you for the information. Indeed, I do not use an initrd. (And I do not want to use one.) Is this bug/disfunctionality described or reported somewhere? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xgivolari Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Jul 2021 Posts: 102
|
Posted: Fri May 10, 2024 8:09 am Post subject: |
|
|
There's in fact an upstream bug about that, which has been addressed already. Seems like the initrd requirement for UKIs is no longer present: (commit)
I think this should be solved with the release of systemd-256 at the latest. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
equaeghe l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 22 Feb 2005 Posts: 657
|
Posted: Fri May 10, 2024 1:31 pm Post subject: |
|
|
xgivolari wrote: | There's in fact an upstream bug about that, which has been addressed already. Seems like the initrd requirement for UKIs is no longer present: (commit)
I think this should be solved with the release of systemd-256 at the latest. |
This seems positive. However, the commit is for the specification, not for bootctl code. There may be changes to bootctl code, but that is not clear to me. I've suggested a further fix to the specifications, but they may still (think they) require a kernel boot line (mine is embedded in the kernel itself). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
equaeghe l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 22 Feb 2005 Posts: 657
|
Posted: Thu May 16, 2024 4:45 am Post subject: |
|
|
There wasn't yet any change in systemd code. However, I asked nicely, and now it seems a change fixing this will be included in v256. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|