Friday, November 9, 2012

OpenBSD 5.2 MacPPC install

Installing OpenBSD 5.2 on an older Lombard PowerBook G3 is fairly easy. And these steps translate well for other older G3 and G4 Macs.  First you will need to get a copy OpenBSD for macppc. Either buy a CD set or download it from ftp.openbsd.org.

Insert the CD and boot your mac while holding down the "C" key on the keyboard. This will tell Open Firmware to boot from the cdrom instead of the hard drive.

I always use the MBR option when installing OpenBSD as OSX will never run on this G3 laptop again.  I also use the whole disk and auto-layout options. The auto layout option will install a small i partition with the boot loader, but other than that it is a normal install.

When it is finished installing, reboot your computer with
# reboot

After you reboot you will need to enter Open Firmware and set up the boot environment. To enter open firmware press the key combination cmd-opt-O-F just as you power on your Mac.

Type the following in.
0> setenv auto-boot? true
0> setenv boot-device hd:,ofwboot

0> reset-all

At this point the computer will reset. After logging in you can get your CD out using the following command:
$ eject /dev/rcd0c

You can also eject the CD from inside Open Firmware using this command:
0 > eject cd

Enjoy your Mac running OpenBSD!

2 comments:

Anonymous said...

ty!

Anonymous said...

Thank you!