Releases: zbm-dev/zfsbootmenu
ZFSBootMenu v1.0rc2
This release contains all of the fixes and features from 1.0rc1, as well as the following:
- Add support for reading the kernel commandline from the ZFS property
org.zfsbootmenu:commandline
. This property takes precedence over/etc/default/grub
and/etc/default/zfsbootmenu
- Clean up or whitelist all issues in
zfsbootmenu-lib.sh
,zfsbootmenu-preview.sh
andzfsbootmenu.sh
noted by shellcheck.
A big thank you to @ahesford for his code contributions and testing leading up to this release candidate. It is very much appreciated!
ZFSBootMenu 1.0rc1
This release has been a long time coming. In no particular order, it contains the following:
- Set the kernel log level to 0 when in the menu system, then restore it to the original value on boot
- Reverse sort the kernel list, so the most recent is always first
- Add an initial chroot helper script for the recovery shell
- Set the default config path in
generate-zbm
to/etc/zfsbootmenu/conf.d
- Allow the EFI stub file to be defined in config.ini
- Support entering a custom kernel command line via
alt-c
on the main menu. The input line is pre-filled with the command line that would have been used on the next boot, for that environment. This command line is NOT persisted between reboots, it's simply here to let you recover an unbootable system.
ZFSBootMenu 0.8.1
This release adds a few improvements to generate-zbm.
- When finding kernels in /boot to use as the base for zfsbootmenu, the list is properly sorted so something like 5.4.11 is now a higher version than 5.3.18.
- Output files now have
_1
appended to them (both kernel and initramfs) to workaround a gotcha with Petitboots' syslinux.cfg parser ignoring files ending in.0
. - If the bootloader partition is defined in config.ini, generate-zbm will now mount it and unmount it for you. If it's already mounted, it's left alone.
- Syslinux mode now builds off of [Components] mode, instead of adding yet another code path for generating the initramfs. This makes syslinux mode simply a syslinux.cfg renderer.
ZFSBootMenu 0.8.0
This release adds a preview function to the primary menu screen. Two lines are shown at the top of the display.
Line 1: Selected boot environment (if it's the bootfs) - and the default kernel
Line 2: The discovered kernel arguments for the kernel in that boot environment
Additional features added in include:
- Set bootfs for a pool via
alt+d
on the main menu screen - Ability to clone the same snapshot up to 1000 times. After cloning a snapshot, it can be set as the bootfs in the menu.
- Reduce the helper text to one line on all screens, to make it not as visually cluttered
- Finding kernel arguments has now been moved to a function, which can be extended to support multiple OS's as the need arises
ZFSBootMenu 0.7.7
This release adds support for generating a syslinux/extlinux-compatible configuration file. This can be used both with Petitboot on POWER hardware and with extlinux on x86_64.
ZFS Boot Menu 0.7.6
This is a fairly minor release, with the removal of an external VERSION file and the inclusion of a basic Makefile being the major impacting changes.
ZFSBootMenu 0.7.5
A previous release defaulted pool imports to read-only mode. Because of this, cloning a snapshot would fail. This release fixes that by detecting if a pool is imported as read-only, exporting it and re-importing it read-write. If the snapshot being cloned is encrypted, keys will be loaded again (from file or via prompt).
To control read-write behavior, the command line argument read_write
has been added. If unset, this option defaults to 0, importing the pool in read-only mode. Set to 1 to enable read-write on imported pools by default.
ZFSBootMenu 0.7.4.1
Point release to fix issues on a fresh installation with missing target paths.
ZFSBootMenu 0.7.4
This release fixes a glaring integration issue with rEFInd. Unified EFI files now use the platform kernel base (vmlinux, vmlinuz, etc), with the version and EFI appended. This allows them to integrate nicely with rEFInd's boot options and kernel roll-up features.
ZFSBootMenu 0.7.3
This release adds the helper bin/generate-zbm which can help control the lifecycle of a the components needed to boot a system. It can generate a versioned kernel and initramfs, and/or a combined kernel/initramfs/commandline EFI executable. The helper script is able to able to do un-versioned files as well, creating initramfs-zfsbootmenu.img and then rotating that into initramfs-zfsbootmenu-backup.img when a new initramfs is created.
To better integrate with boot loaders like rEFInd, the option 'timeout' can be set on the command line when booting into the bootmenu.
A value of 0 will bypass the countdown timer and menu screens, attempting to boot the environment set by bootfs.
A value of -1 will force you into the menu system, where you can pick a boot environment, kernel, snapshot etc.
Any positive integer value will enable the countdown timer, where the system will then attempt to boot the environment set by bootfs.
The default timeout value remains at 10 seconds, consistent with previous behavior.