GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
BEINSTALL.SH(8) FreeBSD System Manager's Manual BEINSTALL.SH(8)

beinstall.sh
install a boot environment using the current FreeBSD source tree

beinstall.sh [options ...]

beinstall.sh installs a boot environment using the current FreeBSD source tree. beinstall.sh also automatically performs /etc updates (using either etcupdate(8) or mergemaster(8)) and package updates using pkg-upgrade(8) automatically in the new boot environment sandbox.

Upon successful completion, the system will be ready to boot into the new boot environment. Upon failure, the target boot environment will be destroyed. In all cases, the running system is left untouched and a reboot into a partially updated system (due to install or hardware failure) cannot happen. Additionally, the full installation process requires only one reboot as it is performed in a new boot environment.

beinstall.sh requires a fully built world and kernel. It also requires pkg(8), which is not present in the base system and has to be installed manually.

The options provided to beinstall.sh are world and kernel flags like KERNCONF as described in build(7).

User modifiable variables. Set these in the environment if desired:
(default: “bectl”)
Utility to manage ZFS boot environments. This can be either bectl(8) from the base system or beadm(1) from ports (sysutils/beadm).
(default: “etcupdate”)
Config updater: etcupdate(8) and mergemaster(8) are supported. Set to an empty string to skip.
(default: “-F”)
Flags for etcupdate(8) if used.
(default: “-iFU”)
Flags for mergemaster(8) if used.
(default: “”)
If not empty, “pkg upgrade” will be skipped.

src/tools/build/beinstall.sh
Place where beinstall.sh lives in the src tree.

build(7), development(7), bectl(8), etcupdate(8), mergemaster(8), pkg(8)

beinstall.sh is inspired by and similar in function to Solaris/illumos-style upgrades.

The beinstall.sh manual page first appeared in FreeBSD 12.0.

The beinstall.sh script was implemented by Will Andrews <will@FreeBSD.org>. This manual page was written by
Mateusz Piotrowski <0mp@FreeBSD.org>.
October 30, 2020 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.