Industry guru Dave Taylor offers tech support on technical and business topics, including iPhone, iPod, Microsoft Windows, Sony PSP, cellphones, online advertising, CSS, Web design, business, Unix, Linux, SEO, Mac OS X, and shell script programming.     


Bootloader configuration for Ubuntu, Yellow Dog Linux and Mac OS X?

Dave, I'm following your setup for installing Ubuntu, Yellowdog, and OSX on a G4. I purchased a new secondary hard drive and have successfully installed OSX, Ubuntu Linux and Yellowdog Linux 4.0.1.

I've installed the three OS's and have reached the step where Yellowdog now takes precedence over ubuntu and Ubuntu is no longer visible to the boot sequence. Please tell me exactly how to get YaBoot to recognize both OS's.


Dave's Answer:

Ironically, I just this week wiped all the Linux partitions on my Apple PowerBook to have a full Mac OS X 10.4 Tiger install, so I can't reference my exact live configuration, but basically, you need to realize that there's a two stage boot process now: the main bootstrap utility is going to offer you the choice of Linux / Mac / CDROM. When you choose Linux, you then go to a SECOND bootloader which can be configured to let you choose the specific OS you want.

Here's what I explained in my article (which I've now posted as Linux On Mac? for people who didn't catch it in LinuxWorld Magazine):

Having installed Yellow Dog, I suddenly couldn't see Ubuntu any more. If I hadn't previously written down the partition number, I would have suspected that it had just vanished. A quick query to Ethan Benson, developer of yaboot, and I had my answer: I needed to move the individual Linux partition specifier (it says partition=2) into the YDL section and add another section for Ubuntu that specified the partition of the Ubuntu installation (partition=9). I ended up with two image blocks:

image=/boot/vmlinux-2.6.8-1.ydl.7
    partition=2
    label=yellowdog
    read-only
    initrd=/boot/initrd-2.6.8-1.ydl.7.img
    root=/dev/hda2
    append="rhgb quiet"

image=/boot/vmlinux
    partition=9
    root=/dev/hda9
    label=ubuntu
    read-only
    initrd=/boot/initrd.img

When the Mac boots, I still see the standard yaboot options of linux, macosx or cdrom, but selecting linux now gives me the option of typing in either yellowdog or ubuntu to specify which I wanted to actually start. Works like a charm!

Hopefully, that'll get you up and running with both Linuxes.


More Useful Mac OS X Help Articles:
✔   Audacity can't find LAME library, I can't save Mp3?
Hey Dave. I read your article Audacity can't save mp3 audio files and am still puzzled because I downloaded the LAME Mp3 converter...
✔   How to remove Dashboard as a "space" in Mac OS X Spaces?
I'm a big fan of the Spaces utility in Mac OS X that lets me have multiple virtual screens [see Set Up Mac...
✔   Best place to buy a cheap MacBook laptop?
Hi Dave. I am looking for two gently used MacBook laptops for my teen daughters. Personal computers would greatly facilitate their studies as...
✔   File too big error copying to USB flash drive on my Mac?
I'm baffled. I have a 16GB Kingston USB flash drive that I use on my Mac system and I'm trying to copy a...
✔   Stealth image capture photo from webcam on my Mac?
Someone sneaks into my cubicle while I'm at lunch and takes candy out of my desk. Petty, but stupid too. I want to...

Let's stay in touch!
Sign up for my weekly AskDaveTaylor Newsletter and you'll receive even more tech and gadget help right to your inbox, along with exclusive news and industry updates. It's good stuff. I promise!
    Enter your name: and your email addr:  





Categorized: Mac OS X Help   (Article 4000, Written by )
Tagged:
Previous: Forgot password to We-Blocker!
Next: Auto-updated Windows, now it crashes all the time?




Reader Comments To Date: 5

Steve said, on July 29, 2005 4:14 PM:

I currently have a PowerPC G5 w/dual 2GHz processors. I've two drives, the first a 160GB SATA with Tiger OS/X. The other drive is a 320GB with two partitions, one with Panther OS/X, the other formatted to NFS left empty for Yellow Dog 4.0.1. I find the installation instructions a bit vague. Do I have re install everything starting with Yellow Dog (and its necessary partitions) on the first drive and make two NFS partitions on the second drive for Panther and Tiger? Or, can I just leave it as it as and add Yellow Dog and share the srive with Panther?

Thank you,
-Steve

Ubuntu said, on December 18, 2005 7:28 PM:

your article helped me a lot, thank you! maybe i buy you a chai, too. soon, i promise :)

michael hicks said, on February 11, 2006 1:52 PM:

I am in desperate need of help. I have a Science fair due next month and I want to develop and create my own OS. How can I do this. I actually want to take Ubuntu and revise it...Whatever's the easiest? Please help me.

Dave Taylor said, on February 11, 2006 10:50 PM:

Michael, that's quite a task you're setting yourself. I don't think you're going to succeed and I would suggest you find a different topic. :-) Kinda like saying "I want to invent a new motor engine for cars by Thursday" :-)

jabir said, on December 8, 2009 11:26 PM:

how to enable arabic in macbook i mean system language

pls help meeeee

Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

I do have a comment, now that you mention it!











I will never send you any unsolicited email. Ever.






Check This Out Too...

 
Look for Answers
Need Help? Ask Dave Taylor!


Follow Me on Pinterest

Find Me on Google+
ADT on G+
© 2002 - 2013 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. My lawyer says "Thanks".
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.