Penguin
Blame: UbuntuOnOldWorldPPC
EditPageHistoryDiffInfoLikePages
Annotated edit history of UbuntuOnOldWorldPPC version 7, including all changes. View license author blame.
Rev Author # Line
6 BruceKingsbury 1 !!Installing Ubuntu Breezy Badger on an OldWorld [G3] [PowerPC].
1 zcat(1) 2
3 !Preamble
4
7 BruceKingsbury 5 I got given a G3 Server a while back, and finally got around to making a [mac-to-VGA|http://www.hardwarebook.net/adapter/av/macvideotovga.html] adapter for it. Specs are 300MHz PowerPC, 192M ram, 5G SCSI drive. Plus the usual on-board serial ports, network, sound, DTB keyboard and single button mouse. It was running MacOS9 and came with MacOS8 install CD's. In the time I've had it I've tried Debian, Warty, Warty kubuntu and most recently Breezy kubuntu with a nice OSX-like theme (it looks a lot like OSX, but [Cairo|CairoKingsbury] informs me it doesn't behave at all like their school Mac's so I guess I need some time on a real OSX desktop to get the behaviour right. I've never used OSX.)
1 zcat(1) 6
7 !Preparation
8
9 Boot up the MacOS install CD and run the partition tool. Make a single partition just big enough to hold MacOS and leave the rest of the drive unallocated. I allowed 200M but it's only using 110M so this could have been smaller, and it doesn't need to be any bigger. Install MacOS, leaving off all the optional components. The only thing you need is Stuffit and a browser which are both part of the minimal MacOS8 install.
10
11 !BootX
12
13 Set up TCP/IP and download [BootX|http://penguinppc.org/~benh/] or just copy it from another network-connected machine using floppy or CD. For some reason (possibly the very old version of Stuffit that I had) I could only get [version 1.1.3|http://penguinppc.org/~benh/BootX_1.1.3.sit] to work, but it does the job. Drop the sit archive onto the StuffIt program (it's hidden somewhere in the Internet Tools folder) to unpack it, open the resulting folder and drop it's contents into the System Folder to properly install it. It will configure itself as a startup and Applemenu item.
14
15 Insert the ubuntu PPC install disk and navigate to the /install/powerpc folder. Copy vmlinux (the linux kernel) to “System Folder/Linux Kernels”. Copy initrd.gz (the init ramdisk image) to “System Folder” and rename it to ramdisk.image.gz
16
17 BootX should appear on the apple menu, and also run on every reboot. When you run BootX it should have “Use Ramdisk” checked and show vmlinux as an available kernel. If this is all in order go ahead and click the “Linux” button and in a short while you should be looking at the regular Ubuntu install dialogs.
18
19 !Partitioning
20
21 When it gets to partitioning the drive Ubuntu will suggest using the entire disk for Linux. Don't do that because you still need MacOS to run BootX to boot Linux. Select the “Use Free Space” option or partition manually. I set up /dev/hda6 as root using the reiserfs filesystem, and later added a small swapfile. None of this is particularly important as long as you remember where you put your root. You will need to know later.
22
23 !Copying /boot to the HFS System Folder
24
25 The rest of the install is fairly straightforward until you get to the part where Ubuntu tries to install a bootloader. GRUB and Lilo don't work on OldWorld Macs, so Ubuntu will warn you that no bootloader can be installed. Switch to a second console at this point (Option-F2) and use “df” to see where things are currently mounted. In my case the newly installed ubuntu was on /dev/sda6 (The installer calls it /dev/scsi/host0/bus0/target0/lun0/part6, but this is just an initrd thing, by this stage in the install /dev/sda devices will work) mounted as /target and the HFS filesystem was /dev/sda5. Make a mountpoint and mount the HFS filesystem.
26
27 <pre>
28 cd /target
29 mkdir hfs
30 mount /dev/sda5 hfs -t hfs
31 </pre>
32
33 You might also want to add an entry to /etc/fstab so it will be mounted when you reboot. This makes updating kernels easier in the future.
34
35 <pre>
36 echo '/dev/sda5 /hfs hfs defaults' >> etc/fstab
37 </pre>
38
39 Now copy the kernel and boot image over;
40
41 <pre>
42 cp boot/vmlinux hfs/System\ Folder/Linux\ Kernels/vmlinux
43 cp boot/initrd.img hfs/System\ Folder/ramdisk.image.gz
44 </pre>
45
46 Option-F1 to get back to the installer, and tell it to go ahead and reboot.
47
5 BruceKingsbury 48 When the machine reboots the BootX dialog should come up straight away. Hoary seemed to find it's own rootfs but Breezy doesn't, so type "root=/dev/sda6" in the kernel parameters box. Even though there's already a box for "root device", that doesn't seem to get passed to the kernel, I don't know why not. If you want the pretty ubuntu splash screen then adding "quiet splash" to the kernel parameters should do it. Press tab until the Linux button is highlighted then click on the “Save as default” button. Then click Linux.
1 zcat(1) 49
50 Ubuntu should proceed through the rest of the install as usual.
51
52 !Other hints
53
3 zcat(1) 54 If you want a more OSX-like desktop install KDE (either download it in synaptic or install from a kubuntu CD).
1 zcat(1) 55
56 If you only have a one-button mouse, F11 and F12 on the keyboard will act as the middle and right mouse buttons.