On Fri, Feb 17, 2023 at 7:32 PM Michael Lipp <mnl(a)mnl.de> wrote:
Hi,
I hope, this is the right place. "rpm -qf 92-crashkernel.install" led to
"kexec-tools", google led to
https://github.com/jesa7955/kexec-tools-fedora which led to this
mailinglist.
Hi Michael,
Yes, this is the right place to discuss it.
I've moved to systemd-boot. The instructions that I've used included
removing grubby. This might be excessive, but from the description
("grubby - command line tool for configuring grub, lilo, and elilo")
it's quite logical to do so.
However, the kernel-install plugin referenced above invokes "kdumpctl"
which depends on grubby (without an explicit package dependency).
Actually, systemd-boot isn't fully supported by kexec-tools now, so you
may get some error messages.
After Coiby's patch[1], 92-crashkernel.install will not do anything if grub
(zipl for s390) related configuration file doesn't exist. This patch is merged
but it is not included in the package released for f35/f36 now.
The grubby is required before this patch[2], we changed it to recommend
because some fedora variants do not use grubby.
From what I can see in kdumpctl, grubby seems to be used to obtain
information which is available in the loader directory of the
boot-partition. This information is generated on a system that boots
with grub2 as well. So maybe this should be changed from invoking grubby
to reading the information from the boot partition (/efi or /boot).
- Michael
In most scenarios, grubby is a good tool to read/write bootloader
entries'
information, I don't think it will be replaced in a short time. But I think we
can add a fallback mechanism that reads the information of the bootloader
entries directly from $BOOT/loader/entries/ that is defined by BLS[3].
Thanks for your feedback!
Lichen
[1]
https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.o...
[2]
https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.o...
[3]
https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/#:~:text=T...
_______________________________________________
kexec mailing list -- kexec(a)lists.fedoraproject.org
To unsubscribe send an email to kexec-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue