Table of Contents

Open Firmware

Both desktops have Open Firmware version 4 installed, which I haven't seen any docs that support booting BSD from there. They all focus on version 3.

However, here's some commands you can use to look around:

List files on CD
dir cd:,\
Boot from CD
setenv boot-device cd
mac-boot
Boot from USB

Find the device name:

dev / ls
dev /pci/path/to/usb ls

Boot:

setenv boot-device /path/to/usb/install
mac-boot
Get OpenFirmware details
dev /openprom
List device aliases
devalias
Get boot details
printenv boot-device

Set boot device:

setenv boot-device foo
Reboot
reset-all
Shutdown
shut-down
Display environment variables
printenv
Disable auto-boot
setenv auto-boot? false
words

Look for boot in this directory so you can know it can boot

words
Reset nvram

Use this to completely reset the nvram back to defaults, and then reboot:

reset-nvram
reset-all

FreeBSD

This is the commands I patched together, but I can't get it working. It will throw a memory error.

boot cd:,\BOOT\LOADER cd:0
Notes

FreeBSD-9.0-CURRENT-powerpc64-20110707.nwhitehorn CD

Attempt #1: boot cd:,\ppc\loader cd:0 - boots kernel, yay! - has errors reading CD - eventually gets to mounting CD and continues from there (I wonder if OpenBSD was having CD issues and that's why it choked)

FreeBSD-9.0-CURRENT-powerpc64-20110707.nwhitehorn USB

NetBSD

Notes

OpenBSD

Same as FreeBSD, haven't had success booting.

boot cd:,\ofwboot /5.2/macppc/bsd.rd
Notes

Gentoo Linux

Boot from the PPC 2008.0 CD. It works great. Use the G5 kernel and these boot options:

G5 doscsi docache sleep=10

The kernel has a special default make option:

make g5_defconfig

Getting a working kernel was difficult on here. Use gentoo-sources-3.7.10. I've posted the kernel config here.

There were a couple of problems to start with: the server would hang on a reboot with SMP setup. The filesystem was sometimes slow / unresponsive. This kernel config, with some extra debugging checks turned on, seems to have fixed them. It runs fine and stable now.

Monit

I can get Monit (5.5 or 5.5.1) to run just fine, but it won't let me run status or summary for some reason.

Hardware

Some hardware specs: