Package Details: zfsbootmenu 3.1.0-1

Git Clone URL: https://aur.archlinux.org/zfsbootmenu.git (read-only, click to copy)
Package Base: zfsbootmenu
Description: ZFS bootloader for root-on-ZFS systems
Upstream URL: https://github.com/zbm-dev/zfsbootmenu
Licenses: MIT
Submitter: gardar
Maintainer: gardar
Last Packager: gardar
Votes: 13
Popularity: 0.57
First Submitted: 2022-08-01 12:41 (UTC)
Last Updated: 2026-01-02 05:10 (UTC)

Latest Comments

1 2 Next › Last »

gardar commented on 2026-01-02 05:17 (UTC)

@RodoMa92

Thanks! That’s a great idea.

I’ve added an improved example pacman hook in the package (v3.1.0), installed at: /usr/share/doc/zfsbootmenu/hooks/99-zfsbootmenu.hook

It triggers on zfs-dkms and zfs-linux upgrades and runs PostTransaction. To enable it, copy it to /etc/pacman.d/hooks/99-zfsbootmenu.hook

Once /etc/zfsbootmenu/config.yaml is set up, it should regenerate automatically.

RodoMa92 commented on 2025-12-21 19:28 (UTC) (edited on 2025-12-21 19:29 (UTC) by RodoMa92)

In case someone else needs it, or if the mantainer want to add this to the PKGCONF, I've added a hook that fires on a zfs-dkms package update from pacman. Add this to /etc/pacman.d/hooks/zzz-update-zfsbootmenu.hook (the zzz- part forces this to fire at the end of all previous post transaction hooks, since otherwise the new zfsbootmenu image will use the old driver/initramfs image from the previous build):

[Trigger]
Operation = Upgrade
Type = Package
Target = zfs-dkms

[Action]
Description = Automatically regenerate the bootloader image on zfs-dkms updates
When = PostTransaction
Exec = /usr/bin/generate-zbm

This will automatically regenerate it and avoid a manual run after a zfs flags update (otherwise zfs will refuse to mount it and you will have a broken bootloader image).

Just configure /etc/zfsbootmenu/config.yaml properly and calling generate-zbm will take care of the rest.

HTH.

nomoreusernames commented on 2024-05-28 15:26 (UTC) (edited on 2024-06-03 13:42 (UTC) by nomoreusernames)

Why is this using OpenSSL-1.1, which was EOL on 2023-09-11?

Can this be bumped to 3.x?

EDIT 2024-06-03: Wow that was quick. Thanks!

andreas303 commented on 2024-05-27 13:29 (UTC)

@ScottE: I think I managed to install this package with aurutils by deleting the package's .git directory when aurutils' "package tree viewer" pops up. Though, maybe there are better workarounds.

ScottE commented on 2024-05-21 14:58 (UTC)

I tried to use aurutils to install zfsbootmenu, but got the following error. Any ideas?

@andreas303 it's usually a good idea to look through past comments - the solution to this is there, likely resolved in an upcoming ZBM release.

andreas303 commented on 2024-05-21 14:51 (UTC)

I tried to use aurutils to install zfsbootmenu, but got the following error. Any ideas?


==> Using [aur] repository
  -> zfsbootmenu (none) -> 2.3.0-1
==> Retrieving package files
fetch: zfsbootmenu: already up to date
==> Making package: zfsbootmenu 2.3.0-1 (Tue 21 May 2024 04:46:42 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found zfsbootmenu-v2.3.0.tar.gz
==> Validating source files with sha512sums...
    zfsbootmenu-v2.3.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting zfsbootmenu-v2.3.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
./releng/version.sh -u
Updating zfsbootmenu/zbm-release
Updating bin/generate-zbm
sed: -e expression #1, char 45: unterminated `s' command
make: *** [Makefile:36: zbm-release] Error 1
==> ERROR: A failure occurred in package().
    Aborting...

Erus_Iluvatar commented on 2024-05-19 16:58 (UTC)

Hi,

Until upstream makes a new release, can you pick the fix from https://github.com/zbm-dev/zfsbootmenu/commit/dae859df631bf994fb412e2b6d46b1179e02e2a5 to allow this to build?

ScottE commented on 2024-03-06 22:30 (UTC)

@Dracul see workaround in 2024-02-04 comment.