Step by step NanoBSD tutorial

I am new to FreeBSD, and I want to create an image using NanoBSD. Can anyone help me with a step by step tutorial please?

Thanks.
 
Thanks :)

I have a question, what does for example,
Code:
NO_GAMES=YES
mean? What does CONF_BUILD, CONF_INSTALL and CONF_WORLD mean? What is WORLD?

I've gotten a bit confused.
 
World is the userspace part of the FreeBSD operating system, the system binaries and shared libraries plus a whole bunch of shell scripts and data files. Everything that is not under /usr/local or /boot/kernel is part of the "world".
 
Thank you @kpa :)

I want a light image, what should I set in the configuration file? I mean what should I pass up?

Someone help me please ...
 
Last edited by a moderator:
j4ck said:
I have a question, what does for example, NO_GAMES=YES mean?
See src.conf(5), the NO_* variables are deprecated.

j4ck said:
someone help me please ...
Perhaps you should get some experience building FreeBSD first. Once you get the hang of that move onto nanoBSD.
 
Thanks friends,

What does this error mean?

Code:
/usr/obj/nanobsd.full/_.mnt: write failed, filesystem is full
[root@ /usr/src/tools/tools/nanobsd]#
 
j4ck said:
Thanks friends
What does this error mean ?
Code:
/usr/obj/nanobsd.full/_.mnt: write failed, filesystem is full
[root@ /usr/src/tools/tools/nanobsd]#

Technically what is happening here is that you're receiving ENOSPC signal that the device has run out of available space to write to.
 
There are some things which don't have WITHOUT knobs. How can I control these directories manually?
 
Look in the Makefile. If there are no options, well, there are no options.
 
But WITHOUT_ options are useless when you want to add a package later instead of rebuilding the nanoBSD image. Is there any automatic tool to trim a package (remove its docs, examples, locales, nls, manpages) instead of removing useless files/dirs, then editing +CONTENTS and +MTREE_DIRS?
 
Hi,
I tried to make an image (According to the NanoBSD Howto at 2.2. Building a NanoBSD image) But I didn't find any _.disk.full image! How can I build NanoBSD Image?

Code:
root@bsd /u/s/t/t/nanobsd# sh myconf.nano 
00:00:00 # NanoBSD image full build starting
00:00:00 ## Clean and create object directory (/usr/obj/nanobsd.full/)
00:00:02 ## Construct build make.conf (/usr/obj/nanobsd.full//make.conf.build)
00:00:02 ## run buildworld
00:00:02 ### log: /usr/obj/nanobsd.full//_.bw
root@bsd /u/s/t/t/nanobsd# cd /usr/obj/nanobsd.full/
root@bsd /u/o/nanobsd.full# ls -la
total 104
drwxr-xr-x  3 root  wheel    512 Nov 19 12:46 .
drwxr-xr-x  3 root  wheel    512 Nov 19 12:46 ..
-rw-r--r--  1 root  wheel  83156 Nov 19 12:47 _.bw
-rw-r--r--  1 root  wheel   1606 Nov 19 12:46 _.env
-rw-r--r--  1 root  wheel     22 Nov 19 12:46 make.conf.build
drwxr-xr-x  3 root  wheel    512 Nov 19 12:46 usr
 
I would try reading the log indicated in the messages, it will probably tell you what is not working properly.
Code:
00:00:02 ### log: /usr/obj/nanobsd.full//_.bw
 
Hi there,

I started NanoBSD a week ago. I had this error when i set the default hard disk size during Virtual Machine creation. Make the hard disk size 10+ GB and this wont happen. Do not worry about 10 GB as VirtualBox only fills the hard disk when needed . Otherwise it stays at 3+ GB size.

Hope it helps.
 
Back
Top