From fd6d9d2bc2c15e2f28f4fe7b5423f37455693189 Mon Sep 17 00:00:00 2001 From: John-Paul Bader Date: Wed, 3 Aug 2022 08:51:08 +0200 Subject: [PATCH] Added boot environment commands --- commands.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/commands.md b/commands.md index f33f928..8075e68 100644 --- a/commands.md +++ b/commands.md @@ -186,3 +186,16 @@ hw.usb.no_shutdown_wait=1 # don't wait for USB devices when shutti kern.maxfiles=204800 # Increase file descriptor limits kern.maxfilesperproc=200000 ``` + +# Boot Environments +``` +bectl list # List existing boot environments +bectl create # Create a new boot environment e.g. 13_1_RELEASE +bectl mount # Mount boot environment temporary mountpoint like /tmp/be_mount.JO5Y +bectl activate -t # Activate new boot environment for one-time-boot +bectl activate # Activate new boot environment permanently +--- +freebsd-update \ # Example for upgrading FreeBSD to a release in a boot environment +-b /tmp/be_mount.JO5Y \ +-d /tmp/be_mount.JO5Y/var/db/freebsd-update \ +-r 13.1-RELEASE upgrade