Install
The install works as follows:
You use xstreamtodev to install a mini NetBSD system containing the install script onto the swap partition as described in the INSTALL.html .
Then you have to boot from this swap partition. Therefore you have to enable the 16 block custom boot blocks and 'automount' in HDToolBox.
After the install is done you can turn Automount and custom boot code for this partition off.
When you already have an 'a' (/) partition (upgrade?) NetBSD will automatically select this one to boot from. You will have to use the '-b' option to make NetBSD explicitly ask which partition to use as root - / device (Check the boot(8) manpage on how to behave at the boot prompt).
So enter your swap device as root device and 'none' as dump (swap) device.
X Server
Surpisingly you dont need to have a '/etc/XF86Config' or '/etc/xorg.conf' to run X11 on NetBSD/Amiga. If you check you will see that:
/usr/X11R6/bin/X is just a symbolic link to /usr/X11R6/bin/Xamiga so that solves the question of selecting a diver.
Now how do you select color depth and resolution?
Check iteconfig(8) for that and then run Xamiga with matching options.
To have this automated you do as I do and create a ~/.xserverr which would looks like this for AGA:
/usr/sbin/iteconfig -d 8 # enable 8 bitplanes
/usr/X11R6/bin/Xamiga -useHWC -dev /dev/grf0 -width 640 -height 480 -depth 8 :0 #run X
/usr/sbin/iteconfig -d 2 # restore 2 bitplanes (faster than 8!)
echo "X terminated" # paint something
pkgsrc
The nice thing about NetBSD is the pkgsrc system which allows one to build tons of apps for the Amiga. Before you unpack pkgsrc.tar.bz2 make sure you have enabled softupdates on your filesystem. Doing so is easy, just change the options in /etc/fstab to 'rw,softdep' for the volume (& reboot). This will greatly improve performance especially for extracting pkgsrc.
The first thing you should do after extracting is running /usr/pkgsrc/bootstrap/bootstrap. Then install and customize your mk.conf.
For installing I usually use 'make update' instead of the obvious 'make install'.
If you're interested in my dmesg here it is.
Ok, thats it for now, if you have questions, suggestions or corrections feel free to drop me a mail at: nagilum@nagilum.org .
Home