Re: nanobsd / dd problem?

From: freebsdonline <lists2_at_freebsdonline.com>
Date: Fri, 10 Jan 2014 12:48:10 +0200
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
Received on Fri Jan 10 2014 - 10:59:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC