5 ms·
Does Arch Linux have boot environments (or equivalent)? Boot Environments allows the system to be upgraded, while preserving the old system environme
by throw0101b 4y ago
Does Arch Linux have boot environments (or equivalent)?
Boot Environments allows the system to be upgraded, while preserving the
old system environment in a separate ZFS dataset.
* https://man.freebsd.org/cgi/man.cgi?beadm https://man.freebsd.org/cgi/man.cgi?beadm
The beadm command is the user interface for managing ZFS Boot Environments
(BEs). This utility is intended to be used by system administrators who want
to manage multiple Oracle Solaris instances on a single system.
* https://docs.oracle.com/cd/E86824_01/html/E54764/beadm-1m.html https://docs.oracle.com/cd/E86824_01/html/E54764/beadm-1m.ht...
> A ZFS boot environment is a bootable clone of the datasets needed to boot the operating system. Creating a BE before performing an upgrade provides a low-cost safeguard: if there is a problem with the update, the system can be rebooted back to the point in time before the upgrade.
* https://klarasystems.com/articles/managing-boot-environments/ https://klarasystems.com/articles/managing-boot-environments...
Or perhaps:
> In essence, ZFSBootMenu is a small, self-contained Linux system that knows how to find other Linux kernels and initramfs images within ZFS filesystems. When a suitable kernel and initramfs are identified (either through an automatic process or direct user selection), ZFSBootMenu launches that kernel using the kexec command.
* https://github.com/zbm-dev/zfsbootmenu https://github.com/zbm-dev/zfsbootmenu
- boomboomsubban 4y agoYes, but like every part of ZFS on Arch, not by default. https://aur.archlinux.org/packages/zfsbootmenu https://aur.archlinux.org/packages/zfsbootmenu
- drewg123 4y agoIndeed. In fact, my main reason for ZFS on root is boot environments. If something breaks, its trivial to roll back the rootfs as it was in the old BE, before the upgrade. And I run ZFS on FreeBSD.
- nubinetwork 4y agoI believe only ubuntu half-supported boot environments. I don't know of any other distro that even bothered to support zfs outside of supplying the package for users to install.