Preparing Your Mac's Hard Drive for Linux
- 2006.08.09
Low End Mac Reader Specials
Memory To Go Special: MacPro 8 Core Memory 4GB kit $192 / 2GB kit $109. 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: LA Computer Company: Specials on AppleCare, Apple Displays, MacBooks, iMac's, MacBook Pros, Laptop and iPod accessories and more. Apple A/C Adapters for laptops starting at $25.00 Call 1-800-941-7654 or Click Here.
OtherWorld Computing: Better than new Batteries for iPods NewerTech NuPower, up to 20+ Hours! Complete with Tools from $19.99. Online videos. Professional installation available.
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.
Memory For New Intel Core2 DUO MacBooks, MacBook Pro, MacMini & iMacs" 4GB Kit $80, 3GB Kit $60, 2GB Kit $40, 1GB $20. Click to Maximize your Macs...
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
- 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.
Recent Content on Low End Mac
- Value of old Power Macs, old computers in school, Panther or Tiger on Pismo, and more, Dan Knight, Low End Mac Mailbag, 05.12. Also new 20" Penry iMac vs. 24" Santa Rosa and great results with a low-cost external SuperDrive.
- From Mac tinkerer to full time Mac user, Mike Tessitore, My Turn, 05.12. It started with buying old Macs on eBay and tinkering with them. But when the Windows PC died, the author learned that Macs could do everything he needed.
- Free Time Machine Editor does one thing and does it well, Alan Zisman, Zis Mac, 05.12. If Time Machine's habit of backing up every hour is impacting your work flow, this free utility gives you control options that Apple didn't build into Time Machine.
- Low End Mac's Compleat Guide to Mac OS 9, 2008 edition, Charles W. Moore, Miscellaneous Ramblings, 05.12. Declared dead by Steve Jobs 6 years ago, Mac OS 9 remains fast and stable, but Classic software hasn't kept up with Web changes. What Macs support OS 9, where to buy it, and how to update it.
- Mac of the Day: Classic II/Performa 200, Oct. 1991 - The last b&w compact Mac put a 16 MHz 32-bit CPU on a 16-bit bus.
- List of the Day: Apple2list supports Apple II users.
- May 13 in LEM history: 99: Cost effective upgrades for 68030s - 02: Free POP3 email - Penguin lockup mystery - 03: Safari and the Internet experience - Niners to Xers: Apple's Switch campaign for Mac users - 05: Xbox 360 specs put Power Mac G5 to shame - Which older Macs are good candidates for Tiger? - Tiger on an iBook - Does Mac mini kill the used Mac market?
- $199 iPhone coming?, iPod not a Walkman, crosswalk danger, iPods taking over cars, and more, iNews Review, 05.09. Also the iPhone is a second-rate phone, iPhone 2.0 may introduce handwriting recognition, Kensington battery pack and chargers, new iPhone apps, and more.
- Apple's eMate still a great tool in the classroom, Tommy Thomas, Welcome to Macintosh, 05.09. How one teacher equipped his classroom with eMates with his own money - and plans to keep using them as long as possible.
- More G4 upgrade advice, secure disk wipes, 500 MHz iMacs with Tiger in action, and more, Dan Knight, Low End Mac Mailbag, 05.09. The importance of securely clearing your hard drive before you pass on your Mac, Pismo and closed lid mode, G3 iMacs in the classroom, and more thoughts on upgrading G4 Power Macs.
- MacBook sales explode, MacBook Air reviews, several new hard drives, and more, The 'Book Review, 05.09. Also silver-zinc batteries may outlast lithium-ion, Bell Aliant bundling MacBook with Internet access, notebook drives benchmarked, bargain 'Books from $150 to $2,699, and more.
- Apple tops in tech support, Penryn iMacs and Psystar Open Computer reviewed, and more, Mac News Review, 05.09. Also the iMac philosophy, OpenOffice 3.0 going Mac, MozyHome backup comes to Macs, weather in the Dock, and more.
- 140 million copies of Vista sold (yawn), Frank Fox, Stop the Noiz, 05.09. It sounds like a lot, but over 85% of Windows users are staying away from Vista. 20% of Mac users have embraced Leopard in one-third the time.
- Best Power Mac G4 deals, Low End Mac Deals, 05.09. Used Cube, $479; 400 MHz PCI, $70; 450 AGP, $105; 733 DA, $150; 867 QS, $200; 1 GHz, $250; 450 dual, $295; 1 GHz dual, $400; 1.42, $600; more.
- Best 15" MacBook Pro deals, Low End Mac Deals, 05.09. Used 1.83 GHz Core Duo, $1,100; 2.16, $1,295; refurb, 2.2 Core2, $1,449; 2.4 Penryn, $1,699; 2.5, $2,149; new 2.2, $1,525 after rebate; 2.4, $1,685 a/r; more.
- Best iPod touch deals, Low End Mac Deals, 05.09. Refurb 8 GB '08, $249; 16 GB '07, $329; '08, $349; new 8 GB '07. $269; '08, $280; 16 GB '07, $330; '08, $369; 32 GB, $475.
- More links in our archive.
About LEM | Support | Usage | Privacy | Contacts


