-
Notifications
You must be signed in to change notification settings - Fork 84
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
ZFSBootMenu does not boot #510
Comments
Here's the qemu script and the accompanying output, the final error I'll share here as well:
|
Can you boot the separate kernel and initramfs corresponding to the release that's causing you trouble? |
@ahesford I haven't tried that and don't quite know how, but happy to give it a shot if you can point me in the right direction. I did confirm that the latest void Linux live boots without issue (glibc, musl, xfce variants) and I also confirmed that zbm 1.10 efi fails to boot. |
You can grab a tarball of the release components with
Because you mentioned trying systemd-boot, you can just unpack the tarball (which should contain a kernel and initramfs image) to your EFI System Partition and configure systemd-boot to use them. |
@ahesford ah, OK. I can try that on my physical machine, but won't get any firmware logs (don't have the hardware). Maybe I can also clone my ESP to get systemd-boot to run in qemu with logging as well |
@ahesford hey, that works! I was able to boot into zbm via systemd-boot by creating an entry as follows:
Chain loading the efi still not working, though now I at least get an error message from systemd-boot about it rather than qemu firmware logs.
Here's the loader entry for failed efi:
|
@ahesford also FWIW my machines run Pop!_OS which currently packages Linux 6.6.6 generic and of course has no trouble booting.
|
Unfortunately, there seems to be some incompatibility with the UEFI stub that we use to build EFI bundles and certain hardware or firmware. Your best bet for now is to continue using the separate components, which you can boot with systemd-boot or rEFInd. In these kinds of situtations, it's often convenient to create two menu entries: a default one that passes If you are adventurous, you could try building a custom EFI bundle using a different UEFI stub (e.g., a more recent version that comes with Arch Linux) to see if this problem persists. If not, we can investigate switching to a more compatible stub. |
For others running Pop! and interested in moving to root on ZFS, I took notes for how I migrated an existing Pop! install and in particular, these notes for how to get ZFSBootMenu chainloaded via systemd-boot. It's basically a modified version of the ZFSBootMenu guide for Ubuntu install from scratch. |
Cannot boot into the portable ZFSBootMenu EFI
Steps to reproduce
Expected behavior
A bootloader UI should load
Actual behavior
Black screen indefinitely, CPU seems to get warm
Notes
May relate to zbm-dev/zfsbootmenu#431
The text was updated successfully, but these errors were encountered: