Can any one give advice for the best operating system suites on Power Mac G5 A1117. This is gift received from the friend in new year,which has no hard drive and power cable,is it possible to install Windows 8 on power Mac G5. I used Disc Tools to adjust the partition to 1 TB (which you can do starting in 10.5.8 and up), and installed the Ubuntu PowerPC 12.04.01 version along side OS X in the remaining 1 TB partition. I tried PowerPC Lubuntu (note the 'L' in Lubuntu) 12.10 with miserable results. What you need to get started depends on what type of optical drive you have in your G4- or G5-based PowerBook or Mac. If you have a DVD drive, you can simply burn the ISO image of Lubuntu 16.04 to.
Ubuntu For Power Mac G5
Recently, I had a craving for some PowerPC action, so I dug up an old PPC970-based machine and had some considerable fun playing with it. The machine in question is an early model of double-processor PowerMac G5, version 7.2 to be exact:
I've decided to write this post because these machines are getting old and any sort of info on how to boot GNU/Linux on them is getting sparser by the year. Especially the correct sort. Surprisingly enough, even though Ubuntu has dropped the official support for PowerPC quite early (since 7.04), there's a strong community still maintaining PowerPC ports of the distro & various packages. In fact, you can download a live ISO image of the most recent version (16.10 at the time of writing this post) right off the official Ubuntu downloads page. Pretty neat!
Here's what you're going to need:
- PowerPC-flavored GNU/Linux distribution image of your choice (I used Ubunt 16.04 LTS but these instructions should apply equally to any other distribution),
- a USB pendrive, at least 8 GB in size (more on that later),
- PowerMac G5,
- preferably wired preferably Apple keyboard,
- a compatible display.
dd
to do that:The /dev/sdX
is the block device assigned to your USB pendrive. You can check which one it is by using lsblk
. Be sure to use the correct block device, as Disk Destroyer is named so for a reason. After the image has been burned onto the USB drive, be sure to flush any kernel IO buffers:
Now you can plug your USB drive in the PowerMac and proceed to the next section.
Now here's the fun part - we'll need to boot into the Open Firmware in order to change the boot sequence. This process might be quite random and nerve-racking unless you own an Apple-issued wired keyboard.
For Apple keyboards:
- Boot your machine while holding Command + Option + o + f keys.
- Release the keys once you see the Open Firmware screen.
For non-Apple, non-wired keyboards:
- Boot your machine while holding Windows + Alt + o + f keys.
- Fail to reach the Open Firmware screen several times.
- Try harder.
- Fail to reach the Open Firmware screen.
- Try pressing the combination right after you hear the initial boot up sound.
- Fail to reach the Open Firmware screen a few more times.
- Get awfully discouraged with the whole enterprise.
- Try one last time.
- Try several more times while swearing a lot and randomly pressing and releasing the key combination.
- Release the keys once you see the Open Firmware screen.
If you fall into the first category - congratulations, you can now wear your smug smile until the end of time, otherwise - don't get discouraged too quickly thanks to the following instructions you'll only have to do this once - for me it was more like five or six times.
Ubuntu For Power Mac G5 Specs
If you still didn't manage to boot into the Open Firmware consult the Troubleshooting section, otherwise make sure your machine always boots into the Open Firmware:
Verify that you actually set it correctly:
Proceed to the next section once you've made sure it prints false
.
In order to boot from the live ISO image, we'll need to find the device access path of the USB drive and set it up as the main boot device. That's the part in which most of the articles on the web are wrong.
List the device tree of the machine:
This will print a rather long device tree of your machine. What your looking for may differ from machine to machine, but in general, scroll with enter
until you see an entry with usb
string in it. This is the section you're interested in. It list your machine's USB hubs and connected devices - try looking for any name that might represent your USB pendrive, say disk@1
or something similar. In my case it was disk@2
under usb@b,1
, in the pci@4
section, so the whole device path is /ht/pci@4/usb@b,1/disk@2
. You can verify that this path is correct by issuing the following command:
It should print out your USB drive's name you found earlier. Now, set up an alias for this device:
Next, configure & verify the main boot device of your machine:
And finally, try booting from the USB drive:
...aaaand if your luck is anything like mine, it won't work. Proceed to the next section.
(In the rare event it actually did work - you're done. You can set auto-boot?
back to true
now.)
If you did not reach the Open Firmware step - tough luck. Try getting another keyboard and verifying that your machine is actually working correctly - if there's a red led lit (or flashing) on the main board you might have a hardware issue... Unless you left your machine's mainboard compartment open (without the translucent polycarb air guide). It won't boot without it. You did know that, didn't you?
If you did reach the Open Firmware step... Congratulations! You're doing good - you've managed to boot into the Open Firmware and set up the boot device, but it appears not to be working. The fix is surprisingly simple - try swapping the USB port you plug your USB drive into and updating the devalias ud
accordingly until it works. For me, the final working path was /ht/pci@4/usb@b/disk@1
. If it still doesn't work make sure your USB pendrive is at least 8 GB in size - I didn't manage to boot from any device smaller than that - as Open Firmware appears to require that. It might as well be USB manufacturer related.
¯_(ツ)_/¯
So now that we finally booted GNU/Linux on the PowerMac G5, we can do some apples to oranges [pun intended] benchmark comparisons between:
- PowerMac - 2 GHz, 2-core PowerPC 970 made in 2003,
- RaspberryPi 2 model B - 4-core 0.9 GHz BCM2709 made in 2015,
- ASUS UX501V - 3.5 GHz, 8-thread, 4-core i7-6700HQ made in 2015.
(All collected data is available here.)
Here are some results - bogo-operations per second normalized against the most performant machine:
Surprisingly enough, the PowerMac G5 holds up pretty well even though it's nearing its fifteenth birthday. It beats the Raspberry Pi 2 in most of the benchmarks being twice as fast even though it only has two processor cores, as compared to four on the Raspberry Pi. Obviously neither Raspberry Pi 2 nor the PowerMac G5 are a match for the i7 processor, but on some of the benchmarks (queens
and fft
) the i7 is merely 6-8 times faster than the PowerPC 970. Pretty decent performance.
A PowerPC edition of Ubuntu MATE 14.04 is ready for testing thanks toAdam Smith from the UbuntuMATE community!
Adam has uploaded the .iso image to OneDrive and it is available from the linkbelow.
Adam says:
Those familiar with PowerPC will know that yaboot is the default bootloader,and that remains so here, but I’ve also added grub to make booting directlyfrom an iso file easier. There is no need to burn a DVD!
You can use the following hashes to confirm the integrity of theubuntu-mate-14.04.1-dev.34508-desktop-powerpc.iso
download.
- md5sum
2bb57b2bbf87b668a94c38dd0393b263
- sha1sum
9fe995a2832e2c0bcce5604b08095fb7217882ac
- sha256sum
b53d2836c00a2f9180353e908f09ee9eb4b17138dcc72bf692c6bd68b2756032
You can find Adam’s announcement on Ubuntu MATE Google+ community. So, if youhave any questions or feedback I suggest you contact Adam here.
Thanks very much to Adam for taking this on and well done on bringing UbuntuMATE to another platform!