FreeBSD update from sources : single user mode useless to installword?

Alexandre Labarre alexandre_ml at outlook.fr
Tue Jun 27 10:07:51 UTC 2017


Hi,

I am using 11/Stable on a server built a few month ago, and I checked the handbook to verify steps https://www.freebsd.org/doc/handbook/makeworld.html
I noticed that there is no mention about booting into single user mode to execute « # make installworld ».

Is it not necessary anymore and all steps can be safely done from multi user mode, or this is a mistake and steps has not changed?

In /usr/src/Makefile steps are:
# For individuals wanting to upgrade their sources (even if only a
# delta of a few days):
#
#  1.  `cd /usr/src'       (or to the directory containing your source tree).
#  2.  `make buildworld'
#  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE'     (default is GENERIC).
#  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
#       [steps 3. & 4. can be combined by using the "kernel" target]
#  5.  `reboot'        (in single user mode: boot -s from the loader prompt).
#  6.  `mergemaster -p'
#  7.  `make installworld'
#  8.  `mergemaster'            (you may wish to use -i, along with -U or -F).
#  9.  `make delete-old'
# 10.  `reboot'
# 11.  `make delete-old-libs' (in case no 3rd party program uses them anymore)

Thank you for your clarification.
Alexandre



More information about the freebsd-questions mailing list