Notes from installing OpenBSD ----------------------------- Deepak N Sets: If you forgot to install a set, you can get it from an OpenBSD mirror site which has the 4.1 release tree for your processor architecture (for Intel x86 and compatibles, the OpenBSD/4.1/i386/ directory). Download the .tgz that corresponds to your set and install it with: tar -C / -zxvpf filename.tgz The root directory also contains kernel sources as sys.tar.gz and userland sources as src.tar.gz. If you download them, do NOT use the same command as above. Files from src.tar.gz can overwrite the executables in /bin and /sbin, leaving directories in their place. Executing "ls" will then give you "ls: Is a directory"; on reboot, the kernel will panic because it cannot find init. The suggested command is: tar -C /usr/src -zxvpf src.tar.gz * * * To download and install packages from a mirror site, set the PKG_PATH environment variable. For example: export PKG_PATH=http://spargel.kd85.com/ftp/pub/OpenBSD/4.1/packages/i386/ After this, you can install a package and its dependencies by this command: pkg_add pkgname Such as, pkg_add emacs * * * When you attempt to start X for the first time, you may get this error message: xauth: can't load library 'libXau.so.9.0' It occurs because the linker does not attempt to look in /usr/X11R6/lib/ directory, which houses this and other X-related libraries. To fix this problem, run this command as root: ldconfig -m /usr/X11R6/lib/ If you get an error like this: X: priv_init: open /dev/pci: Operation not permitted uncomment this line in /etc/sysctl.conf: machdep.allowaperture=2 and restart your system. However, on exiting X I get a blank screen with only a blinking cursor. Commands still work -- but I don't see any output. Googling revealed that there are other people with similar issues. I don't know of any fix, but it's benign and I've let it lie. * * * Networking did not work under Parallels the first time. Although ifconfig showed the device as up, ping would fail, returning "Host is down". I then right-clicked on the network icon in Parallels OS Window and changed device from "Default Adapter" to "en0: Ethernet Adapter". After this change, networking was no issue at all.