LinuxPPC 1999

How to install Linux on your Power Macintosh to gain a robust alternative to the MacOS.

There are some very significant things about LinuxPPC and the Macintosh that make installing LinuxPPC a challenge for Mac users. For one, no matter how hard you look, MacOS (the Macintosh Operating System) does not feature a command line or anything remotely resembling one. Fortunately enough, with this release of LinuxPPC 5.1, LinuxPPC, Inc. has done a great job of making the intrinsically complicated installation process easy with their X-based installer. Although the process is not perfect or free from any defects, it does a good job of bridging the gap between a 100% graphical OS and a 100% fundamentally command-line OS.

About LinuxPPC

LinuxPPC, along with MkLinux and NetBSD, are the three flavors of Linux that can be found for Macintosh computers. LinuxPPC supports some very exotic hardware, with various degrees of functionality: BeBoxes, Motorola Powerstacks (a PowerPC-based machine capable of running a defunct WindowsNT), IBM AIX machines (PowerPC-based, such as the Thinkpad 8x0 series) and Apple's discontinued Network Servers (which ran only AIX). Most users run LinuxPPC on Macintosh hardware, whether from Apple or from the late clonemakers (Umax and PowerComputing). A wide array of platforms are supported from old Performas (6360, 6400 series) to the latest B&W G3, Powerbooks G3 and all iMac flavors.

The name LinuxPPC 1999 refers to the most recent version of LinuxPPC, in this case version 5.1, which is a minor update to v5.0. Thus, the name LinuxPPC 1999 and LinuxPPC R5.1 may be used interchangeably.

Essentially, LinuxPPC R5.1 is based on Red Hat 6. This may sound like old news for x86 users, but LinuxPPC was almost an entire year in gestation. On June 10, 1999, the CDs shipped out to patient users. LinuxPPC 1999 follows from LinuxPPC 1998, another Red Hat-based distribution (Red Hat 5). This last release brings some very significant improvements over the previous version, including XFree86, glibc 2.1-based, USB support with 2.2 kernels, a wider array of window managers (WindowMaker, Enlightenment), linuxconf support and Netscape Communicator 4.6 to name a few. Furthermore, switching from the MacOS to LinuxPPC has never been easier, due to the introduction of Benjamin Herrenschmidt's BootX 1.1, a utility that makes flirting with the buggy OpenFirmware settings a thing of the past.

I have successfully installed LinuxPPC on a variety of platforms I have owned over the past years: a Performa 6360 (PPC 603ev, 160 MHz), a PowerMacintosh 6500/275 (PPC 603ev 275 MHz, ATI RageII), a Powerbook G3/3500 (PPC 750 250 MHz, Chips and Technologies 65554) and on my latest acquisition, a Powerbook G3/266 (PPC 750 266 MHz, ATI Rage Pro LT).

Installing LinuxPPC 1999

Installation has never been so straightforward: there's the choice of an X-based installer, running on a minimum live file system (with shells and WindowMaker), and for more confident users, the Red Hat installer.

The most difficult step to be carried out during the installation process is partitioning the hard drive. Although this is by no means a complicated operation, it has to be carried out cautiously to prevent any loss of data on MacOS partitions. It should be noted that, although LinuxPPC is becoming a mature distribution, users are expected (read required) to polish the edges by manually tuning their installation and resolving some minor problems. First-time users are often frustrated at this point: between the use of vi and the large number of configuration files to be edited, their MacOS experience falls short of helping them conquer the final hurdles.

LinuxPPC, however, and for that matter most Linux distributions, are built on the premise of experience capitalization: from the resolution of a problem, so much is learned of the system itself that the next problem is tackled efficiently.

Installing with the X-based Installer

The installation process starts by launching the LinuxPPC 1999 Installer, having the live file system on a local volume and rebooting the machine into LinuxPPC (using BootX). The installation can access the distribution whether it is located on a CD-ROM, HTTP, FTP or NFS. An excellent 68-page installation guide is provided to cover the common pitfalls, and prospective users should consider reading it several times before attempting the installation.

By far, the simplest and safest installation process is with the $40 CD-ROM sold by LinuxPPC (or any custom-made CD-ROM with long file name support). Although the FTP installation is equally easy, it requires a relatively fast and reliable Internet connection and support present in the kernel for the Ethernet hardware. The local installation, which involves downloading the RPM files from one of the FTP sites to a MacOS volume, can be equally challenging: MacOS does not support long file names (in excess of 32 characters) and the name truncation is often FTP client-dependent. Furthermore, HFS+, the updated version of the MacOS file system HFS, is not supported in LinuxPPC. Hence, a local distribution should be on an HFS volume only. A custom CD-ROM can be recorded on any PC in the ISO9660/HFS Format with Rock Ridge Extensions (with long file name support). The DOS version of mkhybrid can be used to generate the ISO image file supported by most CD mastering software.

Nevertheless, once the source installation issue is addressed, the installation process involves six steps:

  1. Partition the hard drive (1GB as root and 200MB as swap are recommended).

  2. Choose and configure the installation method.

  3. Choose the packages to be installed (minimum installation is 400MB).

  4. Enter the root password.

  5. Configure the network.

  6. Reboot the machine.

Although there aren't any major issues to be resolved during the installation, I noticed the output shell is overly verbose. It reports errors which appear to be are serious, but which do not prevent the installation process from concluding successfully.

Once the machine is restarted, the user may be faced with the first problem as the screen cycles a number of times displaying a hieroglyphic message stating that a process is respawning too fast, and as a result, another process was murdered mysteriously. Fortunately, the cycling pauses for five minutes after a number of attempts, which is enough time to log in as root and solve the problem. The resolution is described at the LinuxPPC web site, under the updates section. Once this problem is resolved, the system boots in runlevel 5, and it presents us with GNOME and Enlightenment and an Xlogin screen. From there, customization of the environment and installation of new packages are simple matters common to most other Linux systems.

______________________

Webinar
One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Webinar
Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix