Remote Building of FreeBSD

Martin McCormick martin at
Mon Mar 1 17:19:58 UTC 2010

One can almost but not quite remotely build a FreeBSD system
using mfsbsd. The problem is that in order to install the
mfsboot.img data on the main boot drive, it is necessary to use
dd to write it there and a working system already has mounted
all partitions in the main drive. 

	The systems I will be upgrading have 1 or more gigabytes
of RAM available so a memory disk could conceivably hold the
roughly 40-meg image that must be written to the boot sector of
the main drive.

	For this to work, one must unmount all main drive
partitions and still be able to do something like:

dd if=mfsboot.img of=/dev/ad0

	After that, the reboot will launch mfsbsd and the rest
appears to be manageable.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group

More information about the freebsd-questions mailing list