[ #170 ] NetBSD 5.0.1 on Mac Mini G4 (PPC) Permalink

NetBSD, OSX Added less than a year ago and last edited less than a year ago

Here are my notes from installation. I used these resources: NetBSD on a Mac Mini, Notes from installing on a G4 Mac Mini and the INSTALL.html from the ISO.

I will clean these up shortly (hopefully.)

  1. Use the OSX CD to boot the OSX installation program on your Mac Mini hold down C while booting)
  2. Use Disk Utility to create two partitions: HFS named Boot; UFS named BSD
  3. quit Disk Utility
  4. On other computer, copy ofwboot.xcf and netbsd kernels (netbsd-GENERIC.gz) to USB stick
  5. Insert USB stick in Mac Mini
  6. Open Terminal
  7. In shell:
    1. cp ofwboot.xcf and netbsd kernels to /Volumes/Boot
  8. Quit Terminal
  9. Reboot Mac Mini
  10. Start up to openfirmware
  11. Eject OSX CD
  12. Insert NetBSD installation CD in Mac Mini
  13. In Open Firmware:
    1. boot cd:,ofwboot.xcf netbsd.macppc
  14. Start in shell (not install)
  15. In shell:
    1. pdisk /dev/wd0c
      1. leave apple partition map
      2. leave hfs 'boot'
      3. delete ufs 'netbsd'
      4. create new partition as / type (a)
      5. create new partition as swap type (b)
      6. write, exit
  16. In shell:
    1. newfs /dev/rwd0a (yes, note the r)
    2. mount /dev/wd0a /mnt
    3. cd /mnt/
    4. mkdir etc
    5. cat > etc/fstab
      • /dev/wd0a / ffs rw 1 1
      • /dev/wd0b none swap sw 0 0
      • ^D
    6. cd /
    7. umount /mnt
    8. sysinstall
  17. Select 're-install sets...' from sysinstall menu
  18. Reboot Mac Mini
  19. In Open Firmware:
    1. boot hd:,ofwboot.xcf netbsd-GENERIC.gz
  20. In shell: passwd adduser -m you passwd you
  21. Reboot
  22. In Open Firmware:
    1. setenv auto-boot? false
    2. setenv boot-device hd:,ofwboot.xcf
    3. setenv boot-file netbsd-GENERIC.gz
    4. reset-all
  23. Now when you start your mac mini you will always go to openfirmware - just type 'boot' to start

Colophon

Django Python 960.gs Git Vim NetBSD Nginx

The Author

This is the blog of Brad Willis, a software engineer living in Brisbane.

Meta

Help
Latest entries

*BSD Agile Apache Apple apt Athletics Best-Practice Censorship Comedy Cool Crosswords Deployment Django English Exim Firefox Git Hardcore Health irssi Javascript Jira Languages Linux Makefile Mathematics Mobile Broadband Mutt MySQL NetBSD nginx Nokia OpenVZ OSX Perl Privacy Python Rant Requirements rsync Ruby Shell Slackware SQL SQLite SSH Standards Subversion Television Testing ThisBlog Vim VMWare (Fusion) VPN X zsh

Recent Entries

Checking for exceptions in doctests
Homer's Curling Speech
retry in Python
Vim Makefile tabs
Centos (or RH) IPTables
Converting ssh2 public keys to openssh
Vim comment hints
Context managers in Perl
Dish rotation
Git - fixing commit user
apt stuff
Using shell variables in AWK
Linux - Too many open files
Tell gvim to save and quit... remotely
Vim - automatically remove whitespace at EOL
Python - relative paths from within modules
TV Aspect Ratios
Git - Which commits are in your branch only?
Subversion setup cheat sheet
Force detach a screen session
Modify sudo's use of environment variables
Install all Perl modules
Mutt - delete old messages
OpenVZ VPS and swap space
fail2ban on NetBSD for ssh
NetBSD - Using sup
Python - testing for a sys.exit
Python Best Practice Link Dump
Python script names
Perl - Using an expensive module
Speed of git clone
Perl Modules with Custom Prefix
Perl: tr vs. s
Brilliant sysadmin Reference
Why is GRUB better than LILO?
Why is swap space important?
Perldoc Output
Git's Index
Jira Project Keys
Git GUI

Links

ChoppingBoard, DaveMisc, Project365, RageQuit