Linux on the Low End
Preparing Your Mac's Hard Drive for Linux
- 2006.08.09
Low End Mac Reader Specials
TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
OWC: Mercury On-The-Go FW800+USB2 up to 1.0TB. Bus Powered, no external power supply needed. Macworld Editors Choice, CNET Very Good Starting from $99.97, 500GB $159.99. Click here
Don't install Parallels to play poker online! Poker Mac will show you how
to download and install a native Mac poker application such as Full
Tilt Poker Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.
I had hoped to start going over the actual Linux install, but then realized that I needed to go over some more things before we start. Next time I will start the installation. Promise.
There are three main ways (but many more possibilities) to prepare your "Old World" Power Mac for Linux.
- The first is with a single hard drive.
- The second is by using two hard drives on the same controller. If you're using a PCI card, the card must have an Open Firmware BIOS on it.
- The third way is with two hard drives on separate controllers. The Linux drive can be connected to a non-Open Firmware controller this way.
One Hard Drive
If there isn't any free space on the drive, then the drive must be repartitioned, and Mac OS will have to be reinstalled. I recommend the following setup with a single drive:
Example: My son's PowerBook WallStreet has a 40 GB drive. A second drive isn't practical (drive bay hard drives use a slower bus than the primary hard drive) unless it's external, so I partitioned it with a 5 GB Mac OS partition and a 32 MB ProDOS partition using the Mac OS install discs. I left the remaining space free. I then used the Linux installer to create the Linux Swap partition and the primary Linux partition.
The Swap partition is akin to the "Virtual Memory" used by Mac OS. However, instead of being able to change its size on the fly, it's a fixed size on it's own partition. The general rule of thumb is to make the swap partition twice the size of your physical RAM. So if you have 256 MB of RAM, then a 512 MB swap partition would be created. I don't really recommend making a swap partition larger than 512 MB, though, because it's a waste of space.
The main Linux partition is the "root" partition called "/". This is where the system is installed. Unlike the Windows convention of using drive letters or the Mac way of naming your drives or partitions, partitions in a Linux system are mounted onto the root partition.
On my son's PowerBook, I created a 5 GB "/" partition and used the rest of the free space as the " /files" partition. I did it this way so that if I wanted to reinstall or replace the Linux install, all of his videos and stuff wouldn't have to be backed up and reinstalled later.
Why Use a ProDOS Partition?
Linux doesn't always support being able to read/write to Apple's HFS+ file system. With the "Old World" Power Macs, whenever you update your kernel, you have to copy your "initrd" (initial RAM disk that sets the system up to boot) and your new kernel to the Mac OS partition so BootX can boot the newest version. I named that partition "/boot" on the PowerBook. HFS+ support is available in Linux, but some distros don't include it. And why take a chance of messing up your Mac OS installation?
What About the File System?
I highly recommend using a journaled file system. One of the strengths of Linux is it's diversity. The main journaled file systems are ReiserFS, Ext3, XFS, and JFS. openSuSE defaults to using the ReiserFS. Most other distros use Ext3.
Why Use a Journaled File System?
A journaled file system saves a list of every modification to the file system. In the event of a power failure or crash (it does happen, even with Linux), the journal is read during reboot and the system is cleaned up. This is very fast and very easy.
When using a regular file system, you have to repair it manually, and this can be a pain (trust me, a real pain). Ext2 is the main regular file system used under Linux, but it isn't journaled.
Once SuSE started using ReiserFS by default, I never had to worry about a system crash. I would reboot, and the system would be set up and ready to go. I might lose something I had been working on that was unsaved (it happened to me recently), but everything else was just fine.
Two Hard Drives on One Controller
You could be using two SCSI drives on the stock MESH (Macintosh Enhanced SCSI Hardware) controller or two drives on an Open Firmware capable PCI card - SCSI, IDE, or even Serial ATA (with Mac OS 8.x and newer). If so, I recommend installing the Mac OS on the primary drive with a ProDOS partition and using the second drive for Linux. Or, depending on the drive sizes, you could also put a Linux partition on the first drive like the "root" partition (same as the above example) and use the second drive for storage.
I generally use a large drive for storage and have it labeled (or "mounted") as "/files". This allows me to take that large drive from machine to machine and just add/remove it from each system as I need to copy files to and from it.
Two Drives on Two Separate Controllers
This is how I plan to go over the install in my next article. I intend to use a Power Mac 7500. It will have the stock 1 GB SCSI drive with a Mac OS partition and a 32 MB ProDOS partition.
The second drive will be installed on a Adaptec 2940 PCI card that does not have an Open Firmware BIOS. The Mac OS will not be able to use this drive at all, but Linux will be able to see it and use it just fine. The machine will have the following specs:
- Power Mac 7500 with a Sonnet G3/400
- 256 MB RAM
- ATI Rage II 4 MB PCI Video Card
- 1 GB SCSI drive connected to the NCR Controller
- 24x SCSI CD-ROM connected to the NCR Controller
- 4 GB SCSI drive connected to the Adaptec 2940 PCI Controller
- Opti USB v1.1 PCI card
- Optical 5-button USB mouse
- 20" Apple Multiple Scan 20 monitor
This machine will basically be setup for Web browsing, so a large hard drive for Linux isn't needed. Also, since I have a DSL connection, the stock 10 Mbps ethernet controller will be more than adequate.
Linux itself will take about 2 GB total, depending on what software is installed. I don't intend to install OpenOffice or a lot of unnecessary software, since this will be designed mainly for use as a secure Web browsing machine.
The Mac OS drive won't be used except for booting into Linux.
Why Use the Secondary NCR Controller Instead of the MESH Controller?
First, the NCR controller is faster than the MESH controller. Second, since I will be using openSuSE for the install, it automatically activates the NCR controller - but not the MESH controller - so using the MESH controller would require an extra, unneeded step.
Finally, since we will need to be able to copy the kernel and the "initrd" files to the ProDOS partition, we will need the Mac OS SCSI drive available for Linux to use.
Next Time
Next time we will get started with the installation, and I'll have screen shots showing what to expect.
After getting the 7500 up and running, I will go over installing the popular Ubuntu distro onto my Beige G3.
No Flash
There is one thing that's unavailable at this time for Web browsing while using Linux on your Power Mac. That's Adobe's Flash Player. Personally, I despise Flash, since it's mostly used for advertising. The rest of the time, it's not implemented very well, and the websites that use it tend to be slow and unnecessarily cumbersome.
In my opinion, it's just annoying, but a lot of people use Flash-based websites, such as YouTube, on a regular basis. Nick.com and cartoonnetwork.com use Flash for their sites.
Adobe is supposed to be working on Flash Player for Linux, but it's unknown whether they will offer support for Linux on the PowerPC any time soon. There is an online Macromedia Flash Player for Linux/PPC petition you can use to encourage Adobe to get it done.
If you frequent Flash-based websites, using Linux on your Power
Mac may not be for you.
- Link: openSuSE
- Link: Ubuntu
- Link: Macromedia Flash Player for Linux/PPC petition
Recent Linux on the Low End articles
- DOS Nostalgia: Looking Back at Early Computer Experiences, 05.04. TRS-80s, the Tandy 1000HX, Radio Shack's Color Computer, Hercules card, 1200 bps modems, hard cards, and other 20-year-old technology.
- Pros and cons of using Linux on a WallStreet PowerBook, 05.06. The old PowerBook G3 Series notebooks aren't without a few quirks when running openSUSE Linux, but for the most part they are good performers.
- Picking the right cheap computer, new or used, 02.13. Unless you're working with video or hooked on 3D gaming, you don't need a lot of computing power. You might be surprised at how little will satisfy you.
- The past and possible future of Apple's Intel transition, 01.04. Going Intel has been Apple's third successful CPU transition since the Apple II era - and the future is wide open.
- More in the Linux on the Low End index.
Links for the Day
- Mac of the Day: iMac Core Duo, Jan. 2006 - The first Intel-based iMacs ran at 1.83-2.0 GHz, came with 17" and 20" displays.
- Group of the Day: Mac Pro List is for those using a Mac Pro.
- November 23 in LEM history: 99: Should I buy a USB card? - 01: Can a low-end Mac be an only Mac? - Palm Desktop without a PDA - CyberDog saves the day - 05: How Consumer Reports could compare Macs fairly - Speakers for your Mac - Living with the hi-res 15" PowerBook - Birth of the PowerBook - Daystar 1.9 GHz iMac G4 upgrade - 1.92 GHz PowerBook upgrade
- Support Low End Mac
Recent Content on Low End Mac
- Apple's Tablet an End Run Beyond Netbooks, Frank Fox, Stop the Noiz, 11.20. Whatever Apple has planned will leverage existing technologies while going beyond what its competitors can offer.
- i5 iMac Benchmarked, Mac mini 'Shouldn't Be Overlooked', Twitter Client for Classic Mac OS, and More, Mac News Review, 11.20. Also why Apple leaves the low end to others, 10.6.2 fixes video playback problem in 27" iMac, 3D Leopard and Snow Leopard performance, and more.
- Apple #4 in Reliability, Apple Tablet a Gadget for All?, HP's i7 Notebook Outdoes Mac Rivals, and More, The 'Book Review, 11.20. Also Flash 10.1 improves video on Hackintosh netbooks, thin-and-light notebooks impress, Windows XP finally on the way out, and more.
- NASA Chemical Sensor for iPhone, Smartphone Death Match, iPhone Earrings, and More, Ian R Campbell, 11.20. Also mobile phone dangers, new apps, GPS solution for iPod touch, new iPod and iPhone cases, and more.
- Replacing the Hard Drive in a Clamshell iBook, John Hatchett, Recycled Computing, 11.19. Yes, it is one of the most difficult Apple notebooks to disassemble and reassemble, but a 10 GB hard drive just will not do.
- IBM Model F: A Great Old Keyboard with an Outdated Layout, Tommy Thomas, Welcome to Macintosh, 11.19. Although it used a different technology than the revered IBM Model M keyboard, the Model F was a great keyboard in its own right.
- Soft Touch Keyboards, Wireless Mouse Options, Loving SeaMonkey 2, and More, Charles W. Moore, Miscellaneous Ramblings, 11.18. Also the future of browsing with PowerPC Macs and the multiple mouse input bug introduced with OS X 10.5.8.
- More links in our archive.
Recent Deals
- Best eMac Deals, 11.18. Used 1 GHz Combo, $100; SuperDrive, $269; 1.25 GHz Combo, $119; SD, $319; 1.42 GHz Combo, $289; SD, $498.
- Best Mac OS X 10.6 and Mac Box Set Deals, 11.18. "Snow Leopard", single user, $25; 5 users, $45; Mac Box Set, single user, $139; 5 users, $180; Server, $414. Shipping included.
- Best Xserve Deals, 11.18. Used 1 GHz dual G4, $649; 2.3 dual G5, $795; 3.0 4-core Xeon, $1,899; refurb 2.26 4-core, $2,499; new, $2,888; refurb 8-core, $2,999; new, $3,449; more.
- Best 15" MacBook Pro Deals, 11.17. Used 1.83 GHz, $750; 2.16, $800; 2.33, $900; refurb 2.4, $1,299; 2.53, $1,449; 2.66, $1,699; 2.8, $1,899; new 2.53, $1,579; 2.66, $1,799; more.
- Best Power Mac G4 and AGP Video Card Deals, 11.17. Used 400 MHz, $50; 933 MHz, $80; 500 dual, $60; 867 dual, $90; 1 GHz dual, $150; 1.25 GHz dual, $225; 1.42 GHz, $499.
- Best Mac OS X 10.5 Deals, 11.17. "Leopard" upgrade, $80; single user license, $135; 5 users, $173; Mac Box Set, 5 users, $230; Server, 10 users, $340; unlimited, $850. Shipping included.
- Best Mac mini Deals, 11.16. Used 1.42 GHz G4 mini, $379; 1.66 GHz Core Solo, $419; 2.0 Core 2, $450; new 2.26 GHz nVidia, $580; 2.53 GHz, $769; Server, $990.
- Best iBook G4 Deals, 11.16. Used 12" 1.07 GHz Combo, $210; 1.33 GHz, $298; 14" 1.33 GHz, $398; 1.42 GHz, $479; SuperDrive, $498.
- Best iPod shuffle Deals, 11.16. Used 1 GB, $35; 4 GB, $65; refurb 1 GB, $39; 2 GB, $59; new 2 GB, $55, 4 GB, $75. New and refurb prices include shipping.
- More deals in our archive.
About LEM | Support | Usage | Privacy | Contacts
Navigation
Used Mac Dealers
Apple History
Video Cards
Email Lists
Favorite Sites
MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System
6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Affiliates
The Apple
Store
Mac
Connection
B&H
MacMall
TechRestore
ExperCom
Crucial
Memory
batteries.com
Advertise
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Mac Connection
B&H
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com
