If you're only going to have Linux on this box, you're ready to start. If
you
want OS9 and/or OSX, you'll need to set up your disk from the Mac environment
first. There's a thorough guide here:
Don't get carried away making lots of partitions - when you look at the drive in mac-fdisk, you're going to see that Apple already has at least 8 partitions at the start of your drive for its drivers, and you're going to need an extra one for a kind of fake MBR we'll be using. Since I've been using Linux, I've suspected that the large number of partitions on my drive has made OSX rather crash-happy. Still, one thing to consider is making a smallish, plain HFS ("Apple Standard") partition so you can comfortably swap files between Linux and Mac - that's the one format they can both read (though deleting files on HFS has given me quite a few Linux kernel panics).
You can download the iso for the install CD from
While you're logged into the ftp site, see if there's a version of
If you've successfully booted from the CD, you'll have a chance to choose your boot mode. Note that nearly all Macs made in the last four years or so are so-called "New-World" machines and can use the default boot mode.
Unlike the x86 boot CD, the PPC version will almost certainly activate all necessary hardware without the need to modprobe. You'll see instructions for bringing up the network - yes, there's no need to look for your ethernet driver. If ifconfig doesn't work right off the bat, you can poke around in /lib/modules to see if there are any drivers you can load, but you're probably not going to be able to do the install this way.
There are, on the other hand, some useful drivers in /lib/modules - in particular, Firewire. If you want to use a Firewire drive (or a powerbook in Target Disk mode :-) during install - e.g. to load a newer build tarball - try:
modprobe ieee1394 actually I think that's built in to the kernel modprobe ohci1394 modprobe sbp2
This should attach your drive as an emulated scsi device - check
Once you get the network set up, you're ready to partition, which you do
using
You can follow through most of the standard Gentoo install guide now. Make
sure your net connection is working (e.g. put an entry in
Now you can run
The main difference you'll find here from x86 Linux is the bootloader, yaboot.
It's a lot like lilo: settings go in
## /etc/yaboot.conf ## ## run: "man yaboot.conf" for details. Do not make changes until you have!! ## see also: /usr/share/doc/yaboot/examples for example configurations. ## ## For a dual-boot menu, add one or more of: ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ ## our bootstrap partition: boot=/dev/hda9 ##hd: is open firmware speak for hda device=hd: partition=11 root=/dev/hda11 delay=5 defaultos=macosx timeout=30 install=/usr/lib/yaboot/yaboot magicboot=/usr/lib/yaboot/ofboot ################# ## This section can be duplicated if you have more than one kernel or set of ## boot options ################# image=/boot/vmlinux label=Linux read-only ################## macos=/dev/hda13 macosx=/dev/hda12 enablecdboot enableofboot
Once
As for configuring and compiling your kernel, the default config you'll get
with the gentoo ppc sources will have most of the important stuff set up
already. There are usually very few alternative drivers for Mac hardware, and
the necessary ones will almost certainly be preselected. Still, use the
'help' option in
Another ppc quirk is the difficulty of setting up XFree. First, if you
want
to use direct rendering with a video card, try loading the appropriate kernel
module first, just to be sure. Second, I've had best luck recently with
Well, there it is. Things are functioning very well right now, but the
more people we can get testing, the better. If you want to try your hand at
making
an architecture-independent ebuild, take a look at