Subject: Re: New user looking for install first steps
To: Trey Sizemore <trey@thesizemores.net>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: netbsd-help
Date: 07/09/2004 09:01:09
Trey Sizemore wrote:

> Install a minimal base system and the ports collection.

First of all, I'd install NetBSD 2.0_BETA instead of 1.6.2.
Get the installation files from
ftp://releng.netbsd.org/pub/NetBSD-daily/netbsd-2-0/200407030000/i386/

You can simply fetch the boot1.fs and boot2.fs images, dd them
to a floppy, boot from the floppies and install over network
from the releng.netbsd.org URL (add binary/sets to the above URL).

Or get everything under the above URL into your local disk's i386
directory (e.g. /var/tmp/installationfiles/i386) and burn your own CD.
In this case use boot-big.fs as the boot image.

# ls /var/tmp/installationfiles/i386/
binary
installation

# mkisofs -o /var/tmp/netbsd.iso -b i386/installation/floppy/boot-big.fs \
   -c boot.catalog -l -J -R -L /var/tmp/installationfiles

For a normal desktop PC, I'd install everything except the games.
This will give you the basic operating system and XFree86 but no
additional 3rd party applications. These 3rd party applications
(from pkgsrc ~ "FreeBSD ports" ) can be installed later.

> Install and configure cvsup and portupgrade.

cd /usr/pkgsrc
cvs update -dPA

cd pkgtools/pkglint
make update

> Update your source tree and ports tree.

cd /usr/src
cvs update -dPA -r netbsd-2-0

cd /usr/pkgsrc
cvs update -dPA

> Make buildworld, kernel, installworld. Run 'portupgrade -a'

# kernel
cd /usr/src/sys/arch/i386/conf
config GENERIC
cd ../compile/GENERIC
make dependall install

# userland
cd /usr/src
./build.sh -uE -D / build
sh /usr/src/etc/postinstall fix
etcupdate

# packages
lintpkgsrc -i
cd /usr/pkgsrc/*/pkgname
make && make update

 > Reboot your nice, clean, up-to-date system and start installing apps you
 > want to use.

cd /usr/pkgsrc/meta-pkgs/xfce4
make install
make clean clean-depends

> I think I'd want to run -CURRENT for the apps to use (understanding it
> may not be the stablest environment, but it won't be used in
> production).

Try first 2.0_BETA (from the netbsd-2-0 branch). You can later switch
to -current (by updating the sources without "-r netbsd-2-0").

Hope this helps.

Martti