Help with nanobsd.sh??

Mike Tancsa mike at sentex.net
Sun Jan 9 15:38:59 UTC 2011


On 1/8/2011 7:27 PM, Robert Boyer wrote:
> I am trying nanobsd for the first time under 8.1 and have two fairly basic questions before I go about solving a few issues in my usual brute-force and wrong way.
> 
> 1)Using a box stock system with a fresh install and the default nanobsd.sh with default configuration everything looks like it builds fine right up until.... 
> 
> 02:11:50 ## build diskimage
> 02:11:50 ### log: /usr/obj/nanobsd.full//_.di
> 
> /usr/obj/nanobsd.full/_.mnt: write failed, filesystem is full

Hi,
	I usually create a .conf file to override some of the defaults,
including making a larger media size to match my CF as well as larger
image size.

eg. some of the options I have in base.conf

BOOT_COMCONSOLE_SPEED=115200
BOOT_PXELDR_ALWAYS_SERIAL=1
NANO_DATASIZE=80960
NANO_PMAKE="make -j 5"
NANO_KERNEL=nano5501
NANO_MEDIASIZE=1800000
NANO_NAME=alix
NANO_SRC=/usr/src
NANO_IMAGES=2

CONF_BUILD='
NO_PAM=YES
'

then to build, I will do a
sh ./nanobsd.sh -c base.conf







> 
> 2)Is there an option to run nanobsd.sh without cleaning the obj directories? Really don't want to rebuild world and kernel from scratch for a couple of different packages in custom configs - let alone do it for solving build issues.

Yes
-b
or
-n

just less the file to see the other options. Its just a giant shell script

	---Mike


More information about the freebsd-questions mailing list