migrating from proxmox to freebsd (part 06): beadm
since i have to wait to put disks in i think i can work on some things in the meantime on the freebsd server. first things first. i want to set up boot environments on the freebsd server to make sure i can roll back in case things really come off the rails with updates or if i really screw up the host. it seems like this is still done with beadm.
so lets start with the simple stuff. installing beadm…just a note… # = root, $ = user. i doubt i’ll be using a user much on the host though.
# pkg install beadm
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
beadm: 1.3.5_1
Number of packages to be installed: 1
11 KiB to be downloaded.
Proceed with this action? [y/N]: y
[1/1] Fetching beadm-1.3.5_1.pkg: 100% 11 KiB 10.9kB/s 00:01
Checking integrity... done (0 conflicting)
[1/1] Installing beadm-1.3.5_1...
[1/1] Extracting beadm-1.3.5_1: 100%
so this is pretty straight forward. you install it and either use beadm or bectl to create a boot environment. you then activate it, then reboot. if you wind up going down the rabbit hole (which i have already trying to get this nonsene working;more later) then you can just activate the older one, reboot, and destroy the chaotic one. it’s a definite must because i seriously don’t want to have to re-install freebsd (again). my suggestion is to get it into the most barebones state you can with your networking working and any host tools that are absolutely essential installed. then work off boot environments after that. if you actually wind up getting to where you want things to be and feel comfortable with the setup of your jails and vms management… then destroy the old ones.