various questions about booting and recovery
dch at skunkwerks.at
Sun Jun 4 21:44:27 UTC 2017
On Sun, 4 Jun 2017, at 23:33, Polytropon wrote:
> On Sun, 4 Jun 2017 13:02:59 -0400, Littlefield, Tyler wrote:
> > My biggest problem is that I always end up somehow breaking things and
> > then need to get eyeballs (I'm totally blind) to help me
> > recover/reinstall. Both systems are using zfs. I've tried to figure out
> > the multiboot environment, but not having much luck. I can force my
> > systme to reboot, but I'm curious if there's an easy way to set up
> > multiboot environments so I can boot configurations to test. If so, are
> > there some clear instructions somewhere on how to do so?
> Given that you're already using ZFS, Boot Environments (BEs)
> seems to be what you are looking for. There is a tool to
> easily do the "housekeeping", like creating snapshots, editing
> the boot attribues, and switching what to boot: beadm.
> Here are a few resources that will help you discover BEs:
> Manual page for beadm:
> HOWTO for beadm:
> How To Use beadm to Upgrade FreeBSD installed in a ZFS Boot Environment,
> with minimal downtime:
> > Finally, can I have it boot to an environment once and if it reboots
> > swap back to the old one?
> Yes, that's the exact purpose of ZFS+BEs in a nutshell. ;-)
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
http://www.callfortesting.org/bhyve-boot-environments/ so you can test
your new BE in a VM before actually rebooting.
and https://svnweb.freebsd.org/base/head/tools/build/beinstall.sh for
your future install-from-source needds.
More information about the freebsd-questions