Skip to content

ZFSBootMenu v1.3rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ahesford ahesford released this 07 Jul 18:57
· 845 commits to master since this release

This release features several fixes and new features.

Fixes

  • When creating a boot image, generate-zbm will fail if the EFI System Partition (BootMountPoint in the configuration) is not and cannot be mounted.
  • When generate-zbm creates backup kernels, initramfs images or UEFI bundles, timestamps of the original files will be preserved when possible, which may help boot loaders like rEFInd properly order the images.
  • Some display issues in the boot menu have been fixed.

New features

The following new features should allow ZFSBootMenu to work with distributions such as Arch or Ubuntu:

  • The Dracut module now searches for a much broader range of kernel/initramfs pairs in boot environments, including unversioned kernels with names like linux or vmlinuz.
  • generate-zbm now has a --kver argument that can specify a version number when one cannot be correctly determined from the name of a kernel file, allowing creation of ZFSBootMenu images on systems like Arch that do not encode version information in kernel names.
  • When starting a boot environment, the root= command-line argument is now set with a prefix (e.g., the zfs: part of root=zfs:pool/ROOT/void) that is chosen based on distribution ID in /etc/os-release or /usr/lib/os-release, if available; the default selection can be overridden by setting the org.zfsbootmenu:rootprefix property.

In addition:

  • In the ZFSBootMenu snapshot browser, an option to view a zfs diff between the live boot environment and a selected snapshot allow convenient review of the changes since the snapshot was taken.
  • ZFSBootMenu now attempts to detect an active suspend-to-disk image and prevent any operations on ZFS pools that could lead to corruption on resume.
  • The currently selected boot environment and kernel are displayed throughout submenus.
  • In addition to identifying boot environments by the property mountpoint=/, ZFSBootMenu will also identify boot environments with the properties mountpoint=legacy and org.zfsbootmenu:active=on.
  • Boot environments with mountpoint=/ can be hidden from ZFSBootMenu by setting the property org.zfsbootmenu:active=off.

Significant commits in this release:

7122be9 - Use mountpoint to check for ESP (Zach Dykstra)
315e326 - Check return of mount operation (Zach Dykstra)
8e434b1 - Allow root prefix to be customized for other distributions (Andrew J. Hesford)
fcaba86 - Support unversioned kernel naming in generate-zbm (Andrew J. Hesford)
294a84d - Broaden search for kernels and initramfs images (Andrew J. Hesford)
2263dbe - Handle kernels with multi-part versions (Zach Dykstra)
95f65a6 - Initial support for org.zfsbootmenu:active visibility (Andrew J. Hesford)
69c3d63 - Draw the preview header on kernel, snapshot and diff screens (Zach Dykstra)
83b2cbb - Initial support for resume guard (Andrew J. Hesford)
6828550 - Initial snapshot diff browser (Zach Dykstra)
4c0a968 - Report source size when cloning/duplicating a snapshot (Zach Dykstra)