Replies: 6 comments 9 replies
-
If the pre-built EFI can boot your system / kernel /initramfs, there's very little that points to this being an issue with your BE's initramfs configuration, so basically all of that configuration (for now) can be ignored. I'd recommand adding One last note, |
Beta Was this translation helpful? Give feedback.
-
Adding I've uploaded my self-compiled EFI image to http://0x0.st/HRhD.tar. It'll extract as a single file named Just for cleanliness I've removed the A bit on the esoteric side of things: since these notices about USB controller teardown are the last thing I see with my own |
Beta Was this translation helpful? Give feedback.
-
Another user on IRC has reported an issue incredibly similar to this. Using a locally built EFI on Void Linux with |
Beta Was this translation helpful? Give feedback.
-
I have also run into this issue. When using a locally built EFI On Void Linux with |
Beta Was this translation helpful? Give feedback.
-
I can reproduce this on my desktop using newer Until we can uncover more information, I advise Void users interested in custom ZBM images to install Kernel:
Version: 5.15.* At least the current version of I'm converting this to a proper issue: #598. |
Beta Was this translation helpful? Give feedback.
-
A fix is in sight: I bisected Linux 6.1 to identify the commit that breaks booting with ZBM, and can confirm that this is the same problem described by others and fixed upstream with a revert. Assuming that my testing confirms that backporting this fix to Void fixes the issue, Void users will once again be able to create custom images with their preferred kernel series. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I have an Arch Linux system with ZFSBootMenu running. It works perfectly fine with the prebuilt EFI release image downloadable at https://get.zfsbootmenu.org/efi. However, I can't get a
generate-zbm
EFI bundle tokexec
into my kernel and initramfs; only the prebuilt image can do that.When I boot into my self-compiled EFI bundle ZFSBootMenu doesn't seem to correctly hand control over to the ZFS dataset's kernel and initramfs and instead reboots the machine. With the prebuilt EFI release image no such reboot happens, that one just works perfectly.
I guess this post boils down to: what makes the prebuilt EFI release image
kexec
into my kernel and initramfs that I can't replicate with the self-built EFI bundle? I'm assuming kernel and initramfs files are perfectly fine since they do work when paired with the prebuilt EFI release image. Even my self-compiled image can see my kernel and initramfs, it just doesn't boot into them. Is there some debugging I can do to better understand what exactly is causing a reboot where the prebuilt EFI release image instead does a cleankexec
?I'd appreciate a second pair of eyes pointing me at what I'm missing. Thanks!
Here's what I have:
mkinitcpio
with dependencies met per docs:/etc/zfsbootmenu/config.yaml
has:/etc/zfsbootmenu/mkinitcpio.conf
has:/efi
where/efi/EFI/ZBM/vmlinuz.EFI
sits next to Windows Boot Manager files:mkinitcpio
preset file at/etc/mkinitcpio.d/linux.preset
has:/etc/mkinitcpio.conf
has:bootfs
property set:zpool/root/archlinux-frn
is currently the only root boot environmentorg.zfsbootmenu:commandline
set like so:keylocation
in myencryptionroot
is set as:mkinitcpio -P
will embed the samezpool.key
file into initramfs via/etc/mkinitcpio.conf
linux
kernel and an initramfs live at/boot
inside the encrypted zpoollsinitcpio
confirms that the key file lands in my initramfs:Beta Was this translation helpful? Give feedback.
All reactions