NanoBSD Image

David N davidn04 at gmail.com
Wed Apr 25 09:19:17 UTC 2007


On 25/04/07, David N <davidn04 at gmail.com> wrote:
> On 24/04/07, Mathieu Arnold <mat at mat.cc> wrote:
> > +-Le 24/04/07 14:17 +1000, David N a dit :
> > | Hi,
> > |
> > | I'm just wondering if its possible to mount the _.disk.full or
> > | _.disk.image?
> >
> > Yes, just use mdconfig, something like mdconfig -a -t vnode -f _.disk.full,
> > you'll have a /dev/mdX with it in.
> >
> > | Also, is it possible to dd the images to a slice or partition on a HDD
> > | as i dont have any Memory Cards to test it on at the moment.
> > |
> > | such as
> > | dd if=_.disk.image of=/dev/ads2 bs=64k
> >
> > You can, but you'll loose a lot of space :)
> >
> > --
> > Mathieu Arnold
> >
>
> Thanks Mathieu, the mdconfig worked =)
>
> For the hdd
> dd if=_.disk.image of=/dev/ad0s2 bs=64k worked but had to modify the
> /etc/fstab of the image and create a /dev/ad0s3 and newfs it for the
> /cfg. But works great =)
>
> David
>
Hello again,

I've got the thing running, but the images are 256MB but I've only
managed to get the "used" space down to around 80MB.

I was hoping is there anything in the configuration file to get it
down to bare bones and slowly add things in. Is it possible to get it
down to pretty much a kernel + shell?

My config file is

NANO_NAME=custom
NANO_SRC=/usr/src
NANO_KERNEL=GENERIC
NANO_IMAGES=2

CONF_BUILD='
NO_KLDLOAD=YES
NO_NETGRAPH=YES
NO_BIND_LIBS_LWRES=YES
'

CONF_INSTALL='
NO_ATM=YES
NO_BLUETOOTH=YES
NO_FORTH=YES
NO_GDB=YES
NO_INFO=YES
NO_MAILWRAPPER=YES
NO_MAN=YES
NO_NLS=YES
NO_NLS_CATALOGS=YES
NO_RCS=YES
NO_SENDMAIL=YES
NO_TOOLCHAIN=YES
'

CONF_WORLD='
NO_ACPI=YES
NO_AUDIT=YES
NO_AUTHPF=YES
NO_BIND=YES
NO_BIND_DNSSEC=YES
NO_BIND_ETC=YES
NO_BIND_NAMED=YES
NO_CALENDAR=YES
NO_CPP=YES
NO_CRYPT=YES
NO_CVS=YES
NO_CXX=YES
NO_DICT=YES
NO_DYNAMICROOT=YES
NO_EXAMPLES=YES
NO_FORTRAN=YES
NO_FP_LIBC=YES
NO_GAMES=YES
NO_GCOV=YES
NO_GNU=YES
NO_GNU_SUPPORT=YES
NO_GPIB=YES
NO_GROFF=YES
NO_HTML=YES
NO_I4B=YES
NO_INET6=YES
NO_INET6_SUPPORT=YES
NO_IPFILTER=YES
NO_IPX=YES
NO_IPX_SUPPORT=YES
NO_KERBEROS=YES
NO_KERBEROS_SUPPORT=YES
NO_LOCALES=YES
NO_LPR=YES
NO_MODULES=YES
NO_NCP=YES
NO_NETCAT=YES
NO_NIS=YES
NO_OBJC=YES
NO_OPENSSH=YES
NO_OPENSSL=YES
NO_PAM=YES
NO_PAM_SUPPORT=YES
NO_PCVT=YES
NO_PF=YES
NO_RESCUE=YES
NO_SYSCONS=YES
NO_WPA_SUPPLICANT_EAPOL=YES
'

Cheers
David


More information about the freebsd-small mailing list