nanobsd / dd problem?

freebsdonline lists2 at freebsdonline.com
Fri Jan 10 11:59:49 UTC 2014


mike wrote:
> Hi,
>
> On Mon, 9 Dec 2013, freebsdonline wrote:
> ...
>> Theres also an issue with package management, the nanobsd script 
>> still uses pkg_add instead of pkg.
>>
>
> for -current I've added cust_pkgng() to nanobsd.sh
> It needs to get called manually instead of cust_pkg() though.
> ( customize_cmd cust_pkgng )
>
> Greetings
> ---
> Michael Reifenberger
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe at freebsd.org"
>
Still the nanobsd.sh script is building a broken image on FreeBSD 10.0 RC4:

After booting the image in a VirtualBox machine:

Trying to mount root from ufs:/dev/ada0s1a [ro]...
mount: /dev/ada0s3: Invalid argument
mount -o ro /dev/ada0s3 /conf/default/etc failed: dropping into /bin/sh

It seems the third partition (the one that holds the data for config 
files) has errors on it:

# disklabel /dev/ada0s3
disklabel /dev/ada0s3
disklabel: /dev/ada0s3: no valid label found

In my nanobsd.conf I have (20MB for data partition):

NANO_MEDIASIZE=2097152
NANO_DATASIZE=40960
NANO_IMAGES=2



More information about the freebsd-current mailing list