@darkcyberman You could be missing dependencies; compare your kernel with GENERIC, LINT, & NOTES.

There is "/boot/kernel.old/kernel" to boot previous kernel (would be useful only if that was the working version & had not installed your non-working version more than once). It can be loaded during boot (do not remember the process).

If you are using #ZFS on root, you may have the option to choose previous "#BootEnvironment" -- option is available from the boot menu.

#FreeBSD #customKernel

...
2- not putting everything of "/var" under "zroot/var" dataset (with "canmount=on" of course)?

One of the reasons offered, on IRC, was that other datasets would cause churn in boot environment.
-- so does installation|upgrade of packages in boot environment.

#FreeBSD #var_strewn_about #bootEnvironment #boot_env

3/4

...
- 5 datasets & related mountpoints as children of "zroot/var" dataset (mounted under "/var" as expected; https://wiki.freebsd.org/BootEnvironments#Pool_Layout.2FDesign ).

(Observe different source datasets yourself if installed with ZFS options as mentioned: df -h /var/* | sort -u )

❔What is the justification for ...

1- putting some parts of "/var" in a root directory (boot environment);

#FreeBSD #var_strewn_about #bootEnvironment #boot_env
2/4

BootEnvironments - FreeBSD Wiki

High-level overview of ZFS Boot Environment setup

Going from #FreeBSD 13.2 to 14.0 on a laptop in a #BootEnvironment using packages from my own #poudriere repo with one simple reboot and running into just one small hiccup.
Having a box that even I can understand quite a bit of is worth so much.
Thank you, #FreeBSD community for building all this. <3 #runbsd
ZFSBootMenu

I wanted to try #Gnome3 on my #ThinkPadT43p 2005 - I know I know... too much for the old loyal servant...
I created a #bootenvironment as described by @mwlucas and installed the packages as per the #freeBSDhandbook. The old servant couldn't handle it... so I wanted to restore my system from the boot environment. After beadm activate and reboot everything went back to the previous state... except hidden files in my home directory...
Is this some kind of a setting in the #ZFS #bootenvironment ???

zectl ZFS Boot Environment Manager for Linux https://hackeroo.co/344093

#ZFS #BootEnvironment #Linux

zectl ZFS Boot Environment Manager for Linux

I’m happy to announce a new ZFS boot environment manager written completely from scratch in C - zectl.