Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jan 2011 10:38:55 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Robert Boyer <rwboyer@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help with nanobsd.sh??
Message-ID:  <4D29D68F.8070309@sentex.net>
In-Reply-To: <46BAC315-34E3-4D1B-A276-81BFE52C290D@mac.com>
References:  <46BAC315-34E3-4D1B-A276-81BFE52C290D@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D29D68F.8070309>