LinuxPPC Chronicles, Part 1
Installing LinuxPPC 2000
Low End Mac Reader Specials
Memory To Go Special: MacPro 8 Core Memory 4GB kit $154 / 2GB kit $94, New 2008 iMac 2GB $46. MacBook Pro / MacMini / iMac Intel Core2 DUO 2GB $44 / 1GB $23--Free shipping available.
Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
LA Computer Company: Specials on AppleCare, iMac's, Apple Batteries and Apple A/C Adapters. Also Great prices on Used Apple Computers. Call 1-800-941-7654 Click Here.
OWC: NewerTech miniStack FireWire/USB 2.0 HD & Hub Up to 1.0TB of Performance Storage + FW/USB2 Powered Hubs - convenient & sleek 6.5" x 6.5" x 1.5" Featured: 500GB $169.99; 750GB $209.99; 1.0TB $339.99
Mac users can finally play Party Poker for Mac. Not only that, they can also learn how to play PokerStars for Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, laptops, and LCD TVs side by side! All the information and reviews to make the best purchasing decision for a new cell phone GPS products or MP3 players. The Ciao network makes searching products easy for you.
MacPro Memory 667Mhz With Apple Spec Heat Sink 2GB $90 / 4GB $134 / 8GB $264. Click to Maximize your Macs...
- 2000.12.14
Since I have been banging away at LinuxPPC like a madman day and night for the last few weeks, I thought it would be nice to share how to actually get a LinuxPPC system up and running. It is unclear how many articles I am going to do in this series, but there are too many topics to cover that will not fit into one article. My original goal was to just build a LinuxPPC based router, but as usual I also found a bunch of side projects to embark on.
The system I used for the installation covered in this article
is my Umax SuperMac S900 with
dual
200 MHz 604e CPUs. It can't run Mac OS
very fast these days, and it makes an even worse Mac OS-based file
server. Sure, I could spend some money on a G3 upgrade, but I think
it will be more cost effective to run Linux until it finally
decides to die on me.
I said before (Linux for PowerPC) that LinuxPPC 2000 is my distribution of choice, and I still stand by that. You can grab the CD image from www.linuxiso.org, which is by far the fastest place to download Linux CD images. After downloading, use Toast or another CD burning program that is capable writing ISO format images.
That being said, let's get started.
Before getting to the actual installation of LinuxPPC, the first thing to think about is how the hard drive is going to be partitioned. This is very important if you are using one hard drive, because if you don't do it right and want to increase or decrease a partition, you have to start from scratch. LinuxPPC has issues with resizing drive partitions that have HFS on them; it will not allow you to do so. I don't recommend installing to your Mac OS hard drive, because you may back yourself into a corner later on. For my installation I am using one drive.
Using Drive Setup, I created four partitions on my 2.1 GB hard drive, and this is the sizes/types of partitions I created.
- 400 MB HFS for Mac OS
- 50 MB HFS
- 1.5 GB A/UX Root
- 125 MB A/UX Swap
There are many ways to get around having to use the Mac OS, but I have found that it is very useful to keep a copy on the hard drive just in case I need to get to it. 400 MB is more than enough to keep Mac OS happy and be able to store a few files here and there should I need to move any to that system. I am not using HFS Extended (HFS+), because stock LinuxPPC 2000 does not allow me to write to HFS Extended partitions.
The 50 MB HFS partition is used for booting. LinuxPPC includes BootX, which allows you to boot into Linux from the Mac OS, and if you are using a single processor system I recommend that you use BootX. For those of you who may use multiprocessor systems, you will want to put a program called miBoot on the 50 MB partition. This program allows you to boot directly into Linux from the Mac OS. I will cover the specifics in my next article, but multiprocessor users want to use miBoot and not BootX so you have the use of both processors.
The 1.5 GB A/UX root partition is going to be my root (/) drive in Linux. I am using an A/UX partition because Drive Setup cannot create Linux partitions, and the LinuxPPC 2000 partitioning utility cannot modify HFS partitions. Using A/UX I can change the type of partition it is during the LinuxPPC install to a native Linux file system, format it, and install to that.
Same thing goes for the A/UX swap partition, which is the equivalent of Mac OS virtual memory. Despite how fast your system is, always use swap because you will run into performance issues down the line when running Linux.
Once all that is done, you can move onto doing the Mac OS 9 installation. You may also use Mac OS 8.5, so long as Drive Setup supports creating A/UX partitions. I do not own a copy of 8.5, so I am not sure. Being that the Mac OS is more of a backup system, I moved straight onto the LinuxPPC installation after the Mac OS installation was done. All that needs to be done is drop in the LinuxPPC 2000 CD, run the installer, and double click the "Boot LinuxPPC" Icon that gets put on your desktop.
When BootX starts after double clicking "Boot LinuxPPC," you have a choice of kernels. On my FireWire PowerBook this would be important, because the stock kernel doesn't work. Since this is a very generic system in the eyes of LinuxPPC, just clicking the "Linux" button and leaving everything else alone will do just fine for now.
LinuxPPC will attempt to load a graphical installation program that makes life a lot easier. The only reason the graphical install won't load is if you are using some weird video card that hasn't had a driver written for it.
Once the X Linux Installer GUI loads, you are presented with these options: Instructions, Partition Drives, and Select Partitions. The first step is to partition the drives, which you already did using Drive Setup. You are not really partitioning at all - you are just changing the type of the A/UX Root & A/UX Swap partitions. The partition utility will identify the type of those partitions as Apple_UNIX_SVR2. Clicking the "Convert Type" button once will change the type to Linux_PPC, which is what you want. A window will pop up after clicking Quit displaying a warning. Two options are then given "Destructive Save" and Safely Exit." Destructive Save is the option that will make the changes to the disks partition table. Safely Exit will make no changes.
A reboot is required to save the changes, and the LinuxPPC installer will load again. It is now time to move onto "Select Partitions," where the partitions will be formatted and be given mount points. The root (/) drive's name will be A/UX Root, and it's mount point will be "/". Since this is a brand new file system, the format button needs to be checked.
Before proceeding, what partition the root drive is needs to be remembered for BootX after the installation is complete. BootX needs to be told what the root partition is in order to boot LinuxPPC. SCSI devices will always be /dev/sda*, and IDE will be /dev/had*. For me, my root partition is going to be /dev/sda9.
I do wish to have my other HFS partitions mounted, which show up as untitled, and untitled 2. I can tell the difference between the partitions by their reported size. The 400 MB HFS partition will be given a mount point of /macos. The 50 MB HFS partition will be given a mount point of /boot for use with miBoot later on.
All that is left to finish the installation is click "Format & Mount" and select the packages you want installed. There is nothing that really needs to be removed from the default selections, but a few things need to be added for my purposes.
For routing, I require the package "ipchains," which is in the Network Applications & Utilities category. Another package is "netatalk," which allows Linux to act as an AppleShare file server - that can come in quite handy. Finally, I need a portion of the Development category for compiling, and such.
After all packages are selected, just click "Install" and kick back. Once the packages are done installing, a root password window will appear for you to pick what the root password is going to be.
The last thing that needs to be done after rebooting is to tell BootX not to use a RAM drive, which is located under the "Options" button. The RAM drive actually contains the LinuxPPC installer, which you no longer have use for. After unchecking and exiting, there will be a line that says "Root device : /dev/", and a blank space. Since my root drive is /dev/sda9 that is what I will put in, then click "Save to prefs," and finally click the "Linux" button.
You should now have a working LinuxPPC 2000 system. In upcoming articles I will cover multiprocessing, Xwindows, routing, firewalls, kernel hacking, and a few other things.
Links for the Day
- Mac of the Day: Quadra 700, Oct. 1991 - The successor to the Mac IIci ran a 'wicked fast' 25 MHz 68040 processor.
- List of the Day: Apple TV List The Apple TV List is a forum to discuss the Apple TV.
Recent Content on Low End Mac
- Looking for a Content Management System That's as Easy as Mac, Dan Knight, Mac Musings, 08.29. Low End Mac needs to move to a content management system, but the few we've tried just don't cut it for people used to the simple elegance of the Mac.
- First 3 Million Mac Quarter, Skinny on Mac mini Pricing, Mac-like gOS, and More, Mac News Review, 08.29. More plan to buy Apple products than ever before, complete reset can fix MobileMac synch problems, Apple boosting computer and smartphone share, and more.
- New 'Books Likely in September, 17" PowerBook Display Fault Site, SSD Security, and More, The 'Book Review, 08.29. Also 6 ways to speed up your MacBook, next generation MacBook Air CPU, MacBook Air Update, LapStrap carrying solution, rise and fall of ultraportables, bargains from $220 to $2,699, and more.
- iPhone 3G Reception 'Completely Normal', AT&T International Data Plans for iPhone, and More, iNews Review, 08.29. Also longer life for iPod earbuds, an alternative to MobileMe, new cases and apps for iPhone, AppStoreGems website launched, and more.
- Best Power Mac G4 Deals, Low End Mac Deals, 08.29. Used 450 MHz AGP, $75; 500, $99; 800 QS, $199; 1.25 GHz MDD, $375; 450 MHz dual, $179; 867 dual, $300; 1 GHz dual, $395; 1.42 dual, $575.
- Best iBook G3 Deals, Low End Mac Deals, 08.29. Used 300 MHz clamshell, $150; 500 CD, $150; 800, $200; 600 CD-RW, $240; 900 Combo, $300; 14" 600, $360; 900, $400.
- Best iPod nano Deals, Low End Mac Deals, 08.29. Used 2 GB iPod nano, $89; refurb 3G 4 GB, $99; new, $140; refurb 8 GB, $149; new, $179.
- 10 Mac Browsers Compared, Simon Royal, Mac Spectrum, 08.28. A look at Internet Explorer, Radon, Opera, Safari, Shiira, iCab, Firefox, Netscape Navigator, Flock, and Camino running in Leopard.
- Clone and Boot: Another Advantage of the Mac OS, Kev Kitchens, Kitchens Sync, 08.28. Unlike Windows, Apple makes it possible to clone a bootable drive (Classic Mac OS or OS X) and use it with another supported Mac.
- Best MacBook Deals, Low End Mac Deals, 08.28. Used 1.83 GHz, $799; 2.0 black, $875; refurb 2.1 GHz, $899; 2.4, $1,099; black, $1,299; new 2.1, $1,019 after rebate; 22, $1,094; 2.4, $1,219 a/r; black, $1,394 a/r.
- Best iMac G5 Deals, Low End Mac Deals, 08.28. Used 17" 1.6 GHz Combo, $499; 1.8 SuperDrive, $530; 2.0, $600; 1.9 iSight, $625; 20" 1.8 GHz, $580; 2.0, $650; 2.1 iSight, $700.
- Best classic Mac OS Deals, Low End Mac Deals, 08.28. System 6, $10; 7.1, $12; 7.5.1, $4; Mac OS 7.6, $13; 8.0, $13; 8.1, $48; 8.5, $25; 8.6, $20; 9.0, $20; 9.2.2, $20; more.
- CrossOver Strikes Out, Frank Fox, Stop the Noiz, 08.27. Running Windows apps on a Mac without paying for Windows is great in theory, but actually getting Windows software working is another story.
- MacDrought: 4 Months with No New Macs, Dan Knight, Mac Musings, 08.27. The most recent Mac update was over four months ago, and the Mac mini has been unchanged for over a year.
- Resurrecting a Dead Pismo, Spotlight Search Tip, and EasyFind a Good File Finder, Charles W. Moore, Miscellaneous Ramblings, 08.27. Lots of tips on bringing a comatose Pismo back to life, a Spotlight file name search tip, and EasyFind as an alternative to Spotlight.
- Best Intel iMac Deals, Low End Mac Deals, 08.27. Used 17" 1.83 GHz, $625; 20", $599; 2.16, $749; 24", $950; refurb 20" 2.4, $999; 2.66, $1,299; 24" 2.4, $1,299; 2.8, $1,549; new 3.06, $2,094 after rebate; more.
- Best 15" PowerBook G4 Deals, Low End Mac Deals, 08.27. Used 1.25 GHz Combo, $600; SuperDrive, $650; 1.33 Combo, $640; 1.5, $680; SD, $725; 1.67, $730; hi-res, $800.
- Best Time Capsule and AirPort Deals, Low End Mac Deals, 08.27. 500 GB Time Capsule, $294; 1 TB, $468; AirPort Extreme Card, $39; 802.11n Base Station, $166; 802.11g AirPort Express, $60; 802.11n, $98.
- More links in our archive.
About LEM | Support | Usage | Privacy | Contacts

