This is all done on my powerbook for the sake of updating my
Soekris
Prework and List of Software
- Figure out your filesystem type
- Use system_profiler under the apple menu
- Or this command: system_profiler |grep -i 'file system'
- Mine is Case-sensitive Journaled HFS+
- Download and install Apple's Developer Tools
- Get comfortable with using 'cvs' in the Terminal. It's included on OS X.
- Join the current-users mailing list for NetBSD
Getting and Updating NetBSD
- Create a directory called netbsd.
- To Get a fresh copy of netbsd, run the following command from that directory:
- cvs -d :pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src
- This downloads the source for netbsd and everything you need to install it
- To update your copy of NetBSD, cd into the downloaded 'src' directory and run the following:
- cvs update -dP
- This updates you to the current source tree
Building NetBSD
- I use the following command to do a full build:
- ./build.sh -U -M ~/Documents/netbsd/obj/ -T ~/Documents/netbsd/tools/ -N0 -r -m i386 release
When things don't work
- Try a different version of gcc with the following command:
sudo gcc_select 3.3
- If you have a case-insensitive filesystem, send a Bug Report to NetBSD
- Send an email to netbsd-current@netbsd.org with a clear description of the bug and your environment.
- Update and try again.
- You'll need to get nbinstallboot from your tools directory.
- Then get pxeboot_ia32.bin from $OBJDIR/destdir.i386/usr/mdec/pxeboot_ia32.bin or $OBJDIR/sys/arch/i386/stand/pxeboot/pxeboot_ia32.bin
- And run ./nbinstallboot -e -o console=com0 -o speed=9600 -m i386 ./pxeboot_ia32.bin to get it using com0 at 9600 baud