Package Details: zfsbootmenu 2.3.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: 6
Popularity: 0.26
First Submitted: 2022-08-01 12:41 (UTC)
Last Updated: 2024-02-04 02:17 (UTC)

Latest Comments

1 2 Next › Last »

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

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

Dracul commented on 2024-03-06 00:29 (UTC)

Hi, with update zfsbootmenu to 2.3.0-1 I've this error: ==> Creazione del pacchetto: zfsbootmenu 2.3.0-1 (mer 6 mar 2024, 01:28:27) ==> Controllo delle dipendenze durante l'avvio in corso... ==> Controllo delle dipendenze durante la compilazione in corso... ==> Download dei sorgenti in corso... -> È stato trovato zfsbootmenu-v2.3.0.tar.gz ==> Validazione di source file con sha512sums... zfsbootmenu-v2.3.0.tar.gz ... Verificato ==> Estrazione dei sorgenti in corso... -> Estrazione di zfsbootmenu-v2.3.0.tar.gz usando bsdtar in corso... ==> Rimozione dell'esistente directory $pkgdir/ in corso... ==> Entro nell'ambiente fakeroot... ==> Avvio di package() in corso... ./releng/version.sh -u Updating zfsbootmenu/zbm-release Updating bin/generate-zbm sed: espressione -e #1, carattere 45: comando `s' non terminato make: *** [Makefile:36: zbm-release] Error 1

arichiardi commented on 2024-02-15 17:49 (UTC)

Would you consider adding pacman hooks to this package? It would make things very easy for us newbies :)

ScottE commented on 2024-02-04 17:32 (UTC)

Note that in the latest version [2.3.0-1 as of this comment], there's an issue with version parsing in the zfsbootmenu release process, which will cause the build to fail. It can be worked around when building manually with makepkg, by removing .git from the cloned AUR, but not via helpers such as yay etc.

See https://github.com/zbm-dev/zfsbootmenu/issues/588 for more details.

Snowstorm64 commented on 2023-10-22 10:00 (UTC)

For what's worth, I have always managed to generate a working EFI image, even without the workaround in 2.2.1-2. My config.yaml:

Global:
  ManageImages: true
  BootMountPoint: /boot/efi
  DracutConfDir: /etc/zfsbootmenu/dracut.conf.d
  PreHooksDir: /etc/zfsbootmenu/generate-zbm.pre.d
  PostHooksDir: /etc/zfsbootmenu/generate-zbm.post.d
  InitCPIO: true
  InitCPIOConfig: /etc/zfsbootmenu/mkinitcpio.conf
Components:
  ImageDir: /boot/efi/EFI/zbm
  Versions: 3
  Enabled: false
  syslinux:
    Config: /boot/syslinux/syslinux.cfg
    Enabled: false
EFI:
  ImageDir: /boot/efi/EFI/zbm
  Versions: false
  Enabled: true
Kernel:
  CommandLine: ro quiet loglevel=0
  Path: /boot/vmlinuz-linux

gardar commented on 2023-10-22 03:45 (UTC) (edited on 2023-10-22 03:46 (UTC) by gardar)

zfsbootmenu v2.2.1 with initcpio does not generate a working EFI image out of the box on Arch, but to generate working image there are two options.

Adding the --uki flag to mkinitcpio like this:

Global:
  InitCPIOFlags: ['--uki /boot/esp/EFI/zbm/vmlinuz-linux.EFI']
Kernel:
  Prefix: dummy

Or using a non-archlinux EFI stub.

EFI:
  Stub: /usr/share/zfsbootmenu/stubs/linuxx64.efi.stub 

I've chosen to add the latter workaround to the package.
Further discussion on the subject can be found here: https://github.com/zbm-dev/zfsbootmenu/discussions/501

gardar commented on 2023-10-18 19:21 (UTC) (edited on 2023-10-19 02:15 (UTC) by gardar)

endre commented on 2023-09-16 00:03 (UTC)

Please add less as a dependency, or building an image with mkinitcpio will fail to build with a blatant ==> ERROR: file not found: '' message. This is suspected to behave like this because of this: https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/blob/master/functions#L748

Shouldn't be needed from v2.2.1 onwards https://github.com/zbm-dev/zfsbootmenu/commit/bf207286269335b416278b37baa88229c27d9cfb

darkbasic commented on 2023-09-30 20:27 (UTC)

I've generated an EFI image following the istructions at https://wiki.archlinux.org/title/Install_Arch_Linux_on_ZFS#Generate_a_ZFSBootMenu_image but the resulting image does not boot. zfsbootmenu-efi-bin works but I need zfs-2.2 from zfs-dkms-rc. I've tried to add zfs to the MODULES at /etc/zfsbootmenu/mkinitcpio.conf but it didn't help. When launching the image there is are no error logs whatsoever, it just returns to the boot menu.

zfsbootmenu doesn't support pre-releases so zfsbootmenu v2.2.0 didn't support zfs-2.2 but v2.2.1 does. Do you still encounter this issue with v2.2.1?
EDIT: I seem to be facing the same issue, I've opened up a discussion here: https://github.com/zbm-dev/zfsbootmenu/discussions/501

darkbasic commented on 2023-09-30 20:27 (UTC)

I've generated an EFI image following the istructions at https://wiki.archlinux.org/title/Install_Arch_Linux_on_ZFS#Generate_a_ZFSBootMenu_image but the resulting image does not boot. zfsbootmenu-efi-bin works but I need zfs-2.2 from zfs-dkms-rc. I've tried to add zfs to the MODULES at /etc/zfsbootmenu/mkinitcpio.conf but it didn't help. When launching the image there is are no error logs whatsoever, it just returns to the boot menu.

endre commented on 2023-09-16 00:03 (UTC)

Please add less as a dependency, or building an image with mkinitcpio will fail to build with a blatant ==> ERROR: file not found: '' message.

This is suspected to behave like this because of this:

https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/blob/master/functions#L748

gardar commented on 2022-09-05 23:53 (UTC)

@ReneHollander

Should be fixed now, thanks for the heads up.