The Ins and Outs of Booting Linux on the Mac
Some Macs need extra help booting Linux. Here's the how and why of booting Linux on different Macs.
I've received some emails (below) about this, so I thought I would post a quick article to explain how and why Linux boots on different type of Macs.
Unfortunately, "Old World" Macs cannot boot a Linux install CD. Due to the way that Open Firmware 1.x & 2.x work, the Mac must have the Classic Mac OS installed (not OS X). It only needs to be a very basic installation that includes any extensions for an installed processor upgrade's backside cache.
Once the Mac OS is running, the BootX program is used to reboot the system into Linux. Whenever you shutdown Linux or reboot your Mac, the Mac OS will start, and then you have to use BootX to start Linux once again.
The "New World" boot loader, yaboot, doesn't yet have support for Old World Macs. (Although this is in the works, it's not ready - and unfortunately may never be ready. More on that when I get the info.)
"Old World" Macs are any Macs with beige colored cases (and usually PCI expansion slots). This includes all the pre-G3 PowerPC machines and the PowerBook G3 "Kanga", the G3 Wallstreet Series I and Series II, and the original Beige G3s.
This doesn't include NuBus Power Macs, because while they have a PowerPC processor, they don't have an Open Firmware BIOS. Support for these machines is limited due to the lack of Open Firmware and lack of drivers for some of the hardware.
The NetBSD Project has a bootloader called "quik" that will boot an "Old World" Mac directly without having the Mac OS installed. "quik" is also able to boot Linux. However, it's not very easy to set up due to some issues with the way Open Firmware was implemented on many of the "Old World" Macs. I'll eventually cover installing NetBSD and will go over using "quik" at that time.
"New World" Macs started with the colored iMacs and include all the Power Macs since the Blue & White G3s and the Lombard PowerBooks. These machines are able to boot a Linux install CD directly and are able to boot directly into Linux. They don't have to have the Mac OS installed.
Most Linux distributions available for the PowerPC support the "New World" Macs.
Intel Macs have limited support for Linux, but this is something that will improve as the machines mature. Someone had Linux running on the new MacBook Pros before Windows was up and running on them.
Since Low End Mac is more about older Macs, I will probably not be covering these machines (unless I end up getting one, which is unlikely anytime soon).
The primary video card in you're Mac must have an Open Firmware BIOS on it. However, once Linux has started, most PC-based PCI cards will be recognized by Linux and can be usable even if they are not usable with the Mac OS.
I apologize for not going over this sooner, and I hope that this clears things up. I will be posting a list of which Linux Distributions support which types of Macs and the major features of each distro soon.
Problem Booting Ubuntu LiveCD
From Dan Palka:
Hi Dan. The problem is that the "Old World" Macs cannot boot a Linux CD. You'll have to get the BootX program from here:
The program has to be run from Classic Mac OS. It will not run from OS X.
You'll also have to copy the appropriate kernel and initrd files onto the Mac OS hard drive. The yaboot boot loader that is used on the "New World" Macs will not work on your 8600.
I have been in contact with someone who will hopefully be rewriting yaboot to work with the "Old World" Macs, but this hasn't happened yet. Further, there are some issues with the Open Firmware in those Macs, which you can get more info on from the NetBSD Support Page.
My next article will deal with how to obtain and install BootX and how to get the Linus installer up and running. It will also go over how (and why) to set up your hard drive for Linux. It should be up on Wednesday. I'll be going over openSuSE v10.0, but I'm planning to do a review/install of Ubuntu soon.
Toying with PPC Linux
From James Taylor:
I just thought I'd drop a line to let you know how informative and helpful your article is (and will be, as I see it's an ongoing set), and I look forward to more information as you progress.
I have an aging G4/733 (well, it's not that aging), and I have been toying with the idea for quite some time of converting it to Linux. I still use OS X on my main G5 machine (but in the future, even this machine might become Linux as PPC becomes a memory in Apple's lineup). Your series is going to be the impetus for me to give Linux a go on PPC. (I have used Linux off and on in the PC realm since downloading the 30 or so floppy images for Slackware 0.99 back in college. I never got X working, but it was a great console-based connection to the school's Unix machines. We used SLiRP to fake a connection to the HPUX boxes via modems.)
I flirted with Windows for a time, but I recently donated my last Windows machine to a woman whose HP died. Now all my PCs are Linux ("sort of" servers), and my Macs are my primary computers. (I am a software engineer by profession, so I tend to have an entirely too high machine-to-person ratio.)
Anyway, thanks again for the article.
Hi James. Thanx for the praise.
Right now I'm working on helping people install Linux onto the "Old World" machines, because they require a little more work in order to them to get them running properly. I'm going to cover the "New World" machines soon.
It's easier to get Linux installed and running on them, but there are still some other considerations for them compared to installing Linux on a PC. Most Linux distributions offer more support for the "New World" machines with Yellow Dog Linux being a PowerPC only distro.
The only computers I run Windows on are really old machines with very little RAM.
Recent Linux on the Low End articles
- DOS Nostalgia: Looking Back at Early Computer Experiences, 2009.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, 2008.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, 2007.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.
- More in the Linux on the Low End index.
Links for the Day
- Mac of the Day: Mac LC II, introduced 1992.03.23. The LC gets 4 MB base RAM, gains virtual memory thanks to 68030 CPU.
- May 19 in LEM history: 99: Student Bill of Rights - 01: First Apple Stores - 03: Upgraded beige G3 problems - 04: The Mac legacy - More for Mac users in superstores than many realize - 06: Smart design make the MacBook a winner - 08: Top 10 freeware - My first iMac
- Support Low End Mac
Recent Content on Low End Mac
- World Book Encyclopedia 2012 DVD, Tommy Thomas, Reviews, 2013.03.05. "You may be asking yourself, in an age of Wikipedia and instant information, is World Book still relevant?"
- Vintage Computer Festival SouthEast, April 20-21, 2013, Simon Royal, Mac Spectrum, 2013.02.25. Old Apple gear and old PCs.
- iMessage: The Ultimate Messaging Service?, Simon Royal, Mac Spectrum, 2013.02.21. In most ways, Apple's iMessage is far superior to BlackBerry Messenger.
- More links in our archive.
- Best Mac mini Deals
- Best 13" MacBook Pro Deals
- Best Intel iMac Deals
- Best iPod touch Deals
- Best iPhone Deals
- Best iPod nano Deals
- Best iPod classic Deals
- Best Apple TV Prices
- More deals in our archive.
Low End Mac Reader Specials
Cult of Mac
Shrine of Apple
The Mac Observer
Accelerate Your Mac
The Vintage Mac Museum
Mac Driver Museum
System 6 Heaven
System 7 Today
the pickle's Low-End Mac FAQ