How to install Dapper on any G5. Requires a new kernel compile. This is only a light guide. There are other guides to upgrading your kernel elsewhere on the internet. But here's how I did it.
1. Use the alternate Dapper PPC CD. This will go right to the text-based installer.
2. Boot from that CD, and press TAB to see your kernel options to load. Type install-powerpc64 and press enter.
(A working wired ethernet connection is required later, btw.)
3. Install as normal. The fans will turn on quite loud. I let mine run loud, and the computer was ok.
4. After the install, reboot. You will now get to your Ubuntu desktop, with fans revving load.
5. Open a terminal, and type
$ sudo bash
to get a root terminal. Then change to the linux source directory.
$ cd /usr/src/
6. type
$ apt-get install links build-essential
to get the links browser and development tools.
7. in the terminal type
$ links
www.kernel.org
Now download the latest stable kernel. (The "F" link at the top right is the stable kernel.)
It will save it to your current directory (/usr/src/)
8. Now unpack the kernel source.
$ tar -xvjf linux-2.6.17.8.tar.bz2
9. Make a link to that new kernel like this:
$ ln -sfn linux-2.6.17.8 linux
10. Okay now time to compile the kernel.
$ cd linux/
and type:
$ make g5_defconfig (Thanks Twas- fixed my typo!)
11. When that is done, type
$ make menuconfig
and navigate around to see what other options you want to enable. (I.E.: wireless, tvcards, etc., whatever) If you don't enable what you need, you won't have it!
Then when you are finished, keep hitting ESC to exit and say 'Yes' you want to save.
12. Now type
$ make && make modules_install
to compile everything. If you have a dual processor, type
$ make -j3 && make modules_install
to use both CPUs to compile this in less time.
13. Now you have a compiled kernel. Now you must add it to the bootloader to boot from it.
In the terminal, back up your first working booting kernel.
$ cd /boot
$ mv vmlinux vmlinux.old
Now copy the new kernel there.
$ cp /usr/src/linux/vmlinux /boot/vmlinux
$ cp /usr/src/linux/System.map /boot/System.map
14. Now edit yaboot. Change the line initrd to the new image, /boot/vmlinux.
$ nano /etc/yaboot.conf
Code:
## yaboot.conf generated by the Ubuntu installer
##
## 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
boot=/dev/sda2
device=/ht@0,f2000000/pci@5/k2-sata-root@c/k2-sata@0/disk@0:
partition=3
root=/dev/sda3
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
macosx=/dev/sda5
defaultos=macosx
image=/boot/vmlinux
label=Linux
read-only
initrd=/boot/vmlinux
# initrd=/boot/initrd.img
append="quiet splash"
image=/boot/vmlinux.old
label=old
read-only
initrd=/boot/initrd.img.old
append="quiet splash"
15. Cntrl-X and save. Now write the changes to the boot partition.
$ ybin -v
16. Reboot, and you will boot into your new kernel. Good luck. Gentoo.org has good how-tos on upgrading your kernel which are helpful. Avoid upgrading kernels from ubuntu updates, as that will obviously replace the work you just did with a kernel with no thermal support.
FYI: My machine is a dual 2Ghz G5.
Code:
stmiller@stmiller:~$ cat /proc/cpuinfo
processor : 0
cpu : PPC970FX, altivec supported
clock : 2000.000000MHz
revision : 3.0 (pvr 003c 0300)
processor : 1
cpu : PPC970FX, altivec supported
clock : 2000.000000MHz
revision : 3.0 (pvr 003c 0300)
timebase : 33333333
platform : PowerMac
machine : PowerMac7,3
motherboard : PowerMac7,3 MacRISC4 Power Macintosh
detected as : 336 (PowerMac G5)
pmac flags : 00000000
L2 cache : 512K unified
pmac-generation : NewWorld
stmiller@stmiller:~$