- 1 Vapor IO Brings OpenDCRE to General Availability
- 2 VMware Takes the Wraps Off vRealize Automation and vRealize Business
- 3 Microsoft Previews Hyper-V Containers for Windows Server 2016
- 4 Mirantis Led FUEL Project Gets Installed Under OpenStack Big Tent
- 5 Red Hat Enterprise Linux 7.2 Adds Security, DR Features
Making Old Hardware New Again
If you've run older PowerPC-based Macs in your businesses you may be wondering what to do with them now that Apple has made the transition to Intel, and the G3, G4 and G5 processors are beginning to show their age. Repurposing old computers instead of buying new machines can make sound financial sense, especially when trading conditions are tough and the economy is in a bad way.
One possibility is to scrap OS X, and turn the machines into servers (or workstations) running Linux. Several distros run on PowerPC Macs, including familiar names like Ubuntu and OpenSUSE, as well as one that is probably less familiar: Yellow Dog Linux (YDL).
YDL is a distro based on the Red Hat Enterprise Linux/CentOS core. Fixstars Solutions (formerly Terra Soft), based in California, maintains it. Terra Soft started making a Linux for Apple's hardware as long ago as 1999. In addition to currently supporting G4- and G5-based Macs, YDL runs on machines that run on IBM's Cell processor, which has a PowerPC processor at its heart. This means YDL can be run on a Sony PlayStation3, a games console that can also be used as an inexpensive general-purpose computer, or a component in a more specialized one. For example, Fixstars sells a 32-node PS3 cluster, a collection of 32 PS3s linked together running YDL for the development of parallel, Cell-optimized code. Such a system, however, is beyond the scope of this article.
Getting back to repurposing old hardware, what are the benefits of putting Linux on old PowerPC based Macs? "Linux has always offered a lighter, faster, more flexible OS alternative to OSX for the older Macs," said Kai Staats, Fixstars' COO. "For both desktops and servers, the footprint is smaller than OS X, offering a 'snappier' user experience. For servers in particular, Linux offers a server history and foundation that extends well beyond that of OS X, with a myriad of industry standard code development, database, application server and web tools available for free."
In businesses in certain sectors it's probably not that uncommon to have a PS3 lying around somewhere. If it's not in use any more, or cash is tight, a strong argument could be made for putting it to productive use. (In fact Sony envisaged that buyers might want to run an alternative OS on the PS3 when it was released, and it's actually trivial to dual-boot the hardware into a games machine or a Linux system.)
Installing Linux on a PowerPC-Based Mac
Getting hold of Linux distros for old Macs is a simple matter of downloading the appropriate ISO image and burning it to a CD or DVD:
- Ubuntu 8.10 Server for G3, G4 and G5 (Intrepid Ibex)
- Ubuntu 8.10 Alternate Install for G3, G4 and G5
- OpenSUSE 11.1 for G3, G4 and G5
- YDL for G4 and G5
YDL DVDs are also available with installation support from the Fixstars store.
Once you've burned your ISO image on to a DVD, the next step is to boot the machine from the DVD by inserting the disk and holding the C key. If this doesn't work, hold the Option key while booting to start the boot manager, and then click on the penguin icon that should appear after a few seconds, followed by the right arrow icon.
Once the installer starts, you may get the following error in Ubuntu:
No common CD-ROM drive was detected
Shortly after this point, the Mac I was using for this test installation - a PowerMac G4 Quicksilver - froze, while attempting to install Ubuntu 8.10. The same thing happened with OpenSUSE 11.1, and with Yellow Dog Linux 6.1. Co-incidence? It seems unlikely, meaning that the problem is probably hardware rather than software based.
After some lengthy troubleshooting with the technical support staff at Fixstars, the conclusion was this: "...you may have a bad CPU for which OS X compensates with error correctly checksums where Linux does not."
In fact it turned out that no version of Linux would install on this system, until I went right back to Ubuntu 5.10 Breezy Badger, which installed without a hitch. The result was a Linux installation running on Mac hardware that appeared speedy and responsive (although not noticeably any more so than the same hardware running OS X.) The problem is that Breezy is no longer supported or updated, so the ability to run Breezy has no real value. The upshot of this is that Linux may or may not run on an old Mac you have the only way to find out is to try.
Despite my experience, Staats said there are plenty of Macs running YDL and successfully deployed in enterprise environments. "We find a number of G5-based Xserves and PowerMacs running YDL in high performance computing clusters or for back-end application services, even supporting older and modern OSX systems via NFS or data storage. "
Linux on a PS3
So, how about doing the same thing with a PS3?
Installing YDL 6.1
You can download YDL install images for PS3 from:
The PS3's GameOS allows you to partition the hard drive and create a system that can boot into either GameOS (to run as a games console) or "Other OS" (to run Linux).
- The first step after connecting a USB keyboard and mouse is to upgrade the PS3's firmware to the latest version (from the Settings menu) and backup any saved game data you want to keep (also from the Settings menu)
- Partition the drive by selecting Settings > System Settings > Format Utility > Format Hard Disk > Yes, and choosing Custom
Annoyingly, the PS3 will allow you to split the hard drive into only two partitions, one of which must be 10Gb, regardless of the overall size of the PS3's hard drive. This means you are faced with a choice of running a 10GB Linux system which may be too small to be useful or restricting your GameOS partition to 10Gb, which is probably a more sensible option.
- To begin installation, insert an installation DVD, and select Install Other OS from the Settings - Systems Settings menu. Once the PS3 locates the boot loader on the DVD, follow the prompts to boot the system to a kboot: prompt, and then type the appropriate command:
and follow the instructions.
install_ps3_1080i - for TVs and monitors capable of 1080i install_ps3_1080p - for TVs and monitors capable of 1080p install_ps3_720p - for TVs and monitors capable of 720p install_ps3_480i - for monitors with composite cable connections
Once installation has completed, remove the DVD and reboot to start Linux.