NanoBSD build issues
Phill Hocking
phocking at no-wire.net
Wed Jul 26 15:53:31 UTC 2006
On Tuesday 25 July 2006 17:27, Phill Hocking wrote:
> Sorry to switch up emails on you Robert; My mail volume has gotten high
> enough I need a traditional mail server. Check the output of _.bk and _.iw
> and _.ik if you have them. Past that, the script might be passing bogus
> arguments to the cf, or maybe even the cf cart is faulty. Is your cart one
> listed in FlashDevice.sub?
>
Roger Miranda (Digital Relay) wrote:
> First of all thanks for you help, I really do appreciate it.
> I do think i got futher yesterday.
>
> I sure hope this post does not get to large, But I believe if we get some good
> documentation for even someone like me to build this than anyone else can :)
>
> 1) I got a _.disk.full and _.disk.image file yesterday. But the directory
> still had the following files in the directory:
> ---
> file:///usr/obj/nanobsd.full/usr
> file:///usr/obj/nanobsd.full/_.w
> file:///usr/obj/nanobsd.full/_.mnt
> file:///usr/obj/nanobsd.full/make.conf
> file:///usr/obj/nanobsd.full/_.mtree
> file:///usr/obj/nanobsd.full/_.iw
> file:///usr/obj/nanobsd.full/_.ik
> file:///usr/obj/nanobsd.full/_.fdisk
> file:///usr/obj/nanobsd.full/_.etc
> file:///usr/obj/nanobsd.full/_.env
> file:///usr/obj/nanobsd.full/_.du
> file:///usr/obj/nanobsd.full/_.dl
> file:///usr/obj/nanobsd.full/_.disk.image
> file:///usr/obj/nanobsd.full/_.disk.full
> file:///usr/obj/nanobsd.full/_.di
> file:///usr/obj/nanobsd.full/_.bw
> file:///usr/obj/nanobsd.full/_.bk
> ---
> Are these error logs of some sort? Is this normal?
>
> 2) I'm using a kingston 256Mb CF, I really haven't gotten to the stage of
> writing to the card yet. I'm still trying to shrink down nanobsd to fit on
> 256mb.
>
> 3) I created a seperate config file (Look Below). Would this shrink down
> nanobsd enough? is there more documentation regarding building config files?
> --------
> NANO_NAME=custom
> NANO_SRC=/usr/src
> NANO_KERNEL=MYKERNEL
> NANO_IMAGES=2
>
> CONF_BUILD='
> NO_KLDLOAD=YES
> NO_NETGRAPH=YES
> NO_PAM=YES
> '
>
> CONF_INSTALL='
> NO_ACPI=YES
> NO_BLUETOOTH=YES
> NO_CVS=YES
> NO_FORTRAN=YES
> NO_HTML=YES
> NO_LPR=YES
> NO_MAN=YES
> NO_SENDMAIL=YES
> NO_SHAREDOCS=YES
> NO_EXAMPLES=YES
> NO_INSTALLLIB=YES
> NO_CALENDAR=YES
> NO_MISC=YES
> NO_SHARE=YES
> '
>
> CONF_WORLD='
> NO_BIND=YES
> NO_MODULES=YES
> NO_KERBEROS=YES
> NO_GAMES=YES
> NO_RESCUE=YES
> NO_LOCALES=YES
> NO_SYSCONS=YES
> NO_INFO=YES
> '
>
> FlashDevice SanDisk 256
>
> cust_nobeastie() (
> touch ${NANO_WORLDDIR}/boot/loader.conf
> echo "beastie_disable=\"YES\"" >> ${NANO_WORLDDIR}/boot/loader.conf
> )
>
> customize_cmd cust_comconsole
> customize_cmd cust_install_files
> customize_cmd cust_allow_ssh_root
> customize_cmd cust_nobeastie
> -----------------
>
>
That is normal. Those are the output files from the script. Maybe
reading nanobsd.sh would help you out. Also, I doubt you have a MYKERNEL
kernel conf file. Tailing _.bk is the buildkernel step, and _.ik is the
installkernel step. If you are not familiar with configuring BSD
kernels, check out
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
Also, this is what my successful build tree looks like
[phocking at www /usr/obj/nanobsd.230_0621200603]$ ls -lh
total 759386
-rw-r--r-- 1 root wheel 575K Jun 22 03:16 _.bk
-rw-r--r-- 1 root wheel 7.6M Jun 22 03:09 _.bw
-rw-r--r-- 1 root wheel 0B Jun 22 03:18 _.cust.cust_allow_ssh_root
-rw-r--r-- 1 root wheel 0B Jun 22 03:18 _.cust.cust_comconsole
-rw-r--r-- 1 root wheel 277B Jun 22 03:18 _.cust.cust_install_files
-rw-r--r-- 1 root wheel 0B Jun 22 03:18 _.cust.cust_nobeastie
-rw-r--r-- 1 root wheel 2.5K Jun 22 03:23 _.di
-rw-r--r-- 1 root wheel 489M Jun 22 03:22 _.disk.full
-rw-r--r-- 1 root wheel 244M Jun 22 03:23 _.disk.image
-rw-r--r-- 1 root wheel 53B Jun 22 03:18 _.dl
-rw-r--r-- 1 root wheel 8.2K Jun 22 03:20 _.du
-rw-r--r-- 1 root wheel 1.1K Jun 22 01:46 _.env
-rw-r--r-- 1 root wheel 8.1K Jun 22 03:18 _.etc
-rw-r--r-- 1 root wheel 102B Jun 22 03:18 _.fdisk
-rw-r--r-- 1 root wheel 1.9K Jun 22 03:18 _.ik
-rw-r--r-- 1 root wheel 300K Jun 22 03:18 _.iw
drwxr-xr-x 2 root wheel 512B Jun 22 03:18 _.mnt
-rw-r--r-- 1 root wheel 254K Jun 22 03:20 _.mtree
drwxr-xr-x 18 root wheel 512B Jun 22 03:18 _.w
-rw-r--r-- 1 root wheel 251B Jun 22 03:16 make.conf
drwxr-xr-x 3 root wheel 512B Jun 22 01:46 usr
Hopefully that helps.
--
Phillip Hocking
Director of Operations /
Network Engineer
No-Wire Communications
phocking at no-wire.net
www.no-wire.net
More information about the freebsd-small
mailing list