Updating to latest zfsbootmenu #30
Replies: 2 comments 7 replies
-
Hi skinlayers, Running compile_zbm_git and then config_zbm should work. You shouldn't need to reconfigure or reinstall rEFInd. It should pickup the new files automatically. Alternatively, you could try downloading one of the pre-compiled zbm binaries from the zfsbootmenu git and drop it into the /boot/efi/EFI/ubuntu directory. rEFInd should pickup the new zfsbootmenu EFI file automatically. That will take a bit of experimenting to see what, if anything you need to alter to make that work. Regardless of which approach you take, I recommend testing in a virtual machine first. "Should work in theory" has a way of all too frequently not working in practice. You don't want to end up with an unbootable machine. If you are using remote access (or possibly also multiple ESPs) then there will be more steps required. Please report back on your testing. It would make a good answer in the FAQ section of the readme. |
Beta Was this translation helpful? Give feedback.
-
I've also looked into the following as solutions to the script upgrade issue. Upstreaming zfsbootmenu and pyznap to debian is the best solution, but the most work. Flathub is the next best solution but there is currently a bug in flatpak that has prevented me from creating the flatpaks. I've put more detail below. Snap: Snaps do not work in a chroot environment, which is how the install script works. So creating a pyznap and/or zfsbootmenu snap and switching the script over to using snaps will not work. Flatpak: Flatpaks are designed to work in chroot but there is a bug that currently prevents installation of the required freedesktop environment. Launchpad PPA: I could create deb files and host on a ppa on launchpad. The ppa would need to be added to the apt sources file. The script uses open source sources where the user can verify the content of what is used. Using a third party ppa would require trust of my ppa, which I would like to avoid. Become a debian package maintainer: This option is the best for the user from an ease of use and trust stanpoint. But becoming a Debian package maintainer is not something I want to undertake at this time. |
Beta Was this translation helpful? Give feedback.
-
Hello!
What is the best way of upgrading to the latest zfsbootmenu after installing?
I was digging through the script it looks like
systemsetupFunc_part4()
contains most of the relevant parts, particularly incompile_zbm_git()
andconfig_zbm()
. Would it be enough to run those function, followed byupdate-initramfs -c -k all && generate-zbm --debug
? Wouldupdate_boot_manager()
also be required?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions