no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | powermac_g5 [2014/04/07 16:57] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Open Firmware ==== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | Both desktops have Open Firmware version 4 installed, which I haven' | ||
+ | |||
+ | 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 / | ||
+ | </ | ||
+ | |||
+ | Boot: | ||
+ | |||
+ | < | ||
+ | setenv boot-device / | ||
+ | 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 '' | ||
+ | |||
+ | < | ||
+ | words | ||
+ | </ | ||
+ | |||
+ | == Reset nvram == | ||
+ | |||
+ | Use this to completely reset the nvram back to defaults, and then reboot: | ||
+ | |||
+ | < | ||
+ | reset-nvram | ||
+ | reset-all | ||
+ | </ | ||
+ | ==== FreeBSD ==== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | |||
+ | This is the commands I patched together, but I can't get it working. | ||
+ | |||
+ | < | ||
+ | boot cd:, | ||
+ | </ | ||
+ | |||
+ | == Notes == | ||
+ | |||
+ | * Use '' | ||
+ | * Instead of using '' | ||
+ | * Some G5s boot with half-CPU. | ||
+ | * Try '' | ||
+ | * Alternate install sources ([[http:// | ||
+ | * FreeBSD 9.1 powerpc64 will boot into FreeBSD' | ||
+ | |||
+ | FreeBSD-9.0-CURRENT-powerpc64-20110707.nwhitehorn CD | ||
+ | |||
+ | Attempt #1: boot cd:, | ||
+ | - 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 ==== | ||
+ | |||
+ | * [[ftp:// | ||
+ | * [[ftp:// | ||
+ | * [[ftp:// | ||
+ | * [[ftp:// | ||
+ | * [[ftp:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | == Notes == | ||
+ | |||
+ | * "G5 models are supported as a 32-bit port in bridge mode only." ([[ftp:// | ||
+ | * Unsupported: | ||
+ | * I can view the CD just fine from Open Firmware on the " | ||
+ | |||
+ | ==== OpenBSD ==== | ||
+ | |||
+ | |||
+ | * [[http:// | ||
+ | * [[ftp:// | ||
+ | * [[http:// | ||
+ | |||
+ | |||
+ | Same as FreeBSD, haven' | ||
+ | |||
+ | < | ||
+ | boot cd:, | ||
+ | </ | ||
+ | |||
+ | == Notes == | ||
+ | |||
+ | * Maybe try a 5.3 snapshot? | ||
+ | * " | ||
+ | * Booting OpenBSD 5.2 on the " | ||
+ | * OpenBSD does *not* support PowerPC 11,2 (donated) tech | ||
+ | * You can boot from CD holding down ' | ||
+ | ==== Gentoo Linux ==== | ||
+ | |||
+ | Boot from the PPC 2008.0 CD. It works great. | ||
+ | |||
+ | < | ||
+ | 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. | ||
+ | |||
+ | There were a couple of problems to start with: the server would hang on a reboot with SMP setup. | ||
+ | |||
+ | == Monit == | ||
+ | |||
+ | I can get Monit (5.5 or 5.5.1) to run just fine, but it won't let me run '' | ||
+ | |||
+ | == Hardware == | ||
+ | |||
+ | Some hardware specs: | ||
+ | |||
+ | * sata_svw |