<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PowerBook G3 on Wimpy's World</title><link>https://blog.wimpys.world/tags/powerbook-g3/</link><description>Recent content in PowerBook G3 on Wimpy's World</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><managingEditor>martin@wimpress.com (Martin Wimpress)</managingEditor><webMaster>martin@wimpress.com (Martin Wimpress)</webMaster><lastBuildDate>Mon, 09 Jan 2006 11:28:54 +0000</lastBuildDate><atom:link href="https://blog.wimpys.world/tags/powerbook-g3/rss.xml" rel="self" type="application/rss+xml"/><item><title>Powerbook G3 (Old World) Ubuntu Install</title><link>https://blog.wimpys.world/posts/powerbook-g3-old-world-ubuntu-install/</link><pubDate>Mon, 09 Jan 2006 11:28:54 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/powerbook-g3-old-world-ubuntu-install/</guid><description>&lt;p&gt;James bought a PowerBook G3 to the January 2006 &lt;a href="http://www.hants.lug.org.uk/"&gt;HantsLUG&lt;/a&gt;
meeting and wanted to have Ubuntu installed on it. I used to be familiar with
Apple Mac computers in the mid to late 90&amp;rsquo;s because the company I worked for used
Macs exclusively on the desktop, so I decided to give it a whirl.&lt;/p&gt;
&lt;p&gt;The bottom line is that this old PowerBook G3 is now running Ubuntu Hoary 5.04
quite happily and I will soon be phone James to arrange for him to pick up his
computer.&lt;/p&gt;
&lt;p&gt;The article is largely based on the &lt;a href="https://wiki.ubuntu.com/Installation/OldWorldMacs"&gt;OldWorldsMac Ubuntu Wiki&lt;/a&gt;,
I have included the specifics of James setup here so he has a record of how his
computer was configured.&lt;/p&gt;
&lt;p&gt;I quickly realised that simply inserting the Ubuntu Hoary 5.04 PowerPC install
CD and rebooting while holding down the &amp;lsquo;C&amp;rsquo; key wasn&amp;rsquo;t going to work. It seems
that James computer is old enough to be a right pain in the arse to get working
with Linux, but that just makes me want to get it working all the more &lt;code&gt;:-)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;By the end of the HantsLUG meeting Ubuntu Hoary 5.04 was just completing the
final setup steps and would have been ready to use, but someone pulled the power
block out of the mains and James battery is dead, so the computer shutdown &lt;code&gt;:-(&lt;/code&gt;
I took the PowerBook G3 home with me to fix/complete the installation but when
I got home I decided to download Ubuntu Breezy and install that instead. Sadly,
James PowerBook only has a 2GB hard disk (1.9GB available for Linux) and this
wasn&amp;rsquo;t sufficient for the Breezy installation to complete so I reverted to Hoary.&lt;/p&gt;
&lt;h2 id="identifying-the-powerbook-g3"&gt;Identifying the PowerBook G3&lt;/h2&gt;
&lt;p&gt;After some Googling I soon discovered that there are two classes of PowerBook G3,
OldWorld and NewWorld, and that each of the classes have a number of slightly
different models in the range. I took a guess that James was an OldWorld
PowerBook based on the fact it had no USB ports. It turns out this was a good
guess.&lt;/p&gt;
&lt;p&gt;Making the assumption that James PowerBook was OldWorld meant that I should use
&lt;a href="http://penguinppc.org/bootloaders/bootx/"&gt;BootX&lt;/a&gt; to boot into Linux from MacOS
as opposed to using yaboot which is for NewWorld PowerPCs.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://docs.info.apple.com/article.html?artnum=24604"&gt;PowerBook G3 Computers: How to Identify Different Models&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="doing-the-macos-installation"&gt;Doing the MacOS Installation&lt;/h2&gt;
&lt;p&gt;The first job was to erase the hard disk and install MacOS in a small parition
and leave the rest of the drive unallocated for installing Ubuntu later on.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Insert MacOS 8.1 CD&lt;/li&gt;
&lt;li&gt;Reboot&lt;/li&gt;
&lt;li&gt;Hold down &amp;lsquo;C&amp;rsquo; as the computer boots to get it to boot from CD&lt;/li&gt;
&lt;li&gt;Erase the Hard Disk&lt;/li&gt;
&lt;li&gt;Use Drive Setup to make a 150MB HFS partition.&lt;/li&gt;
&lt;li&gt;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.1 install.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After the install I delete some odds and ends I didn&amp;rsquo;t need and also used
Extensions Manager to deselect a lot of components that were not required.
Finally, I configured TCP/IP to use DHCP.&lt;/p&gt;
&lt;h3 id="tools-update"&gt;Tools Update&lt;/h3&gt;
&lt;p&gt;James wanted to be able to use MacOS for basic web surfing, so that meant
finding an more modern alternative to Netscape 3.0.3 which was installed be
default. Sadly The only (relatively) upto date browser I could find which would
install on MacOS 8.1 was Internet Explorer 5.1.7. I also needed an updated
version of Stuffit Expander to extract BootX 1.2.2. I used Netscape 3.0.3 to
download IE and Stuffit from the URL&amp;rsquo;s below&amp;hellip;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.microsoft.com/mac/downloads.aspx?pid=download&amp;amp;location=/mac/DOWNLOAD/IE/ie5_classic.xml&amp;amp;secid=30&amp;amp;ssid=11&amp;amp;flgnosysreq=True"&gt;Internet Explorer 5.1.7 for Mac OS 8.1 to 9.x&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.sfsu.edu/ftp/mac/utils/aladdin_exp55.hqx"&gt;Stuffit Expander 5.5 for MacOS Classic&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;hellip;and installed them. Once they were working a deleted Netscpae 3.0.3 and the
old version of Stuffit.&lt;/p&gt;
&lt;h2 id="bootx"&gt;BootX&lt;/h2&gt;
&lt;p&gt;Older versions of Stuffit will only extract BootX 1.1.3 which I why I updated
Stuffit Expander as explained earlier. Download BootX 1.2.2.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://penguinppc.org/bootloaders/bootx/"&gt;BootX&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Open it with Stuffit and extract it the the Desktop then open the resulting
BootX 1.2.2 folder on the desktop. Drag each of the following&amp;hellip;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;BootX&lt;/li&gt;
&lt;li&gt;BootX Extension&lt;/li&gt;
&lt;li&gt;Linux Kernels&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;hellip;onto the &amp;ldquo;System Folder&amp;rdquo; one at a time to install BootX correctly. Insert the
Ubuntu PPC install CD and navigate to the &lt;code&gt;/install/powerpc&lt;/code&gt; folder.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Copy &lt;code&gt;vmlinux&lt;/code&gt; to (the Linux kernel) &lt;code&gt;System Folder/Linux Kernels&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Copy &lt;code&gt;initrd.gz&lt;/code&gt; (the init ramdisk image) to &lt;code&gt;System Folder/&lt;/code&gt; and rename it to &lt;code&gt;ramdisk.image.gz&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;BootX should appear on the apple menu and also run on every reboot during the
boot process, meaning that you can choose to boot Linux without having to wait
for the entire MacOS to load &lt;code&gt;:-)&lt;/code&gt; When you run BootX it should show &amp;lsquo;vmlinux&amp;rsquo;
as an available kernel, now add the following to &amp;ldquo;More kernel arguments&amp;rdquo; to make
sure the correct video mode is used for Linux.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;video=atyfb:vmode:14,cmode:32,mclk:71
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now click the &amp;ldquo;Options&amp;rdquo; button, check &amp;ldquo;Use Specified RAM disk&amp;rdquo; and select
&lt;code&gt;System Folder/ramdisk.image.gz&lt;/code&gt;. Click on the &amp;ldquo;Save to prefs&amp;rdquo; button and then
click on the &amp;ldquo;Linux&amp;rdquo; button and in a short while you should be looking at the
regular Ubuntu install dialogs.&lt;/p&gt;
&lt;h3 id="other-video-mode-suggestions"&gt;Other Video Mode Suggestions&lt;/h3&gt;
&lt;p&gt;I didn&amp;rsquo;t test these, but my understanding is the &amp;lsquo;cmode&amp;rsquo; choose the bit depth 8
for 8bit, 16, for 16bit and so one. &amp;lsquo;mclk&amp;rsquo; controls the graphics/monitor refresh
rate I think, I was lucky that I the video mode suggested in the BootX README
worked first go.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;video=atyfb:vmode:14,cmode:32,mclk:65
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;video=atyfb:vmode:14,cmode:8,mclk:63
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="doing-the-ubuntu-installation"&gt;Doing the Ubuntu Installation&lt;/h2&gt;
&lt;p&gt;The installer will display an error message that &amp;ldquo;Configure a multiseat system&amp;rdquo;
failed. You can ignore this&amp;hellip;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select &amp;lsquo;Continue&amp;rsquo;&lt;/li&gt;
&lt;li&gt;Select &amp;lsquo;Detect Hardware&amp;rsquo; and press Enter&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;hellip;and the install will continue normally.&lt;/p&gt;
&lt;h3 id="partitioning"&gt;Partitioning&lt;/h3&gt;
&lt;p&gt;When it gets to partitioning the drive Ubuntu will suggest using the entire disk
for Linux. Don&amp;rsquo;t do that because you still need MacOS to run BootX to bootstrap
Linux. Select the &amp;ldquo;Use Free Space&amp;rdquo; option or partition manually.&lt;/p&gt;
&lt;h3 id="copying-boot-to-the-hfs-system-folder"&gt;Copying /boot to the HFS System Folder&lt;/h3&gt;
&lt;p&gt;The rest of the install is fairly straight forward until you get to the part
where Ubuntu tries to install a bootloader. GRUB and Lilo don&amp;rsquo;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 &lt;code&gt;df&lt;/code&gt; to see where things are
currently mounted. In my case the newly installed ubuntu was on &lt;code&gt;/dev/hda8&lt;/code&gt;
mounted as &lt;code&gt;/target&lt;/code&gt; and the HFS filesystem was &lt;code&gt;/dev/hda7&lt;/code&gt;. Make a mountpoint
and mount the HFS filesystem.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /target
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkdir hfs
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mount /dev/hda7 hfs -t hfs
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You might also want to add an entry to &lt;code&gt;/etc/fstab&lt;/code&gt; so it will be mounted when
you reboot. This makes updating kernels easier in the future.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;/dev/hda7 /hfs hfs defaults&amp;#39;&lt;/span&gt; &amp;gt;&amp;gt; etc/fstab
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now copy the kernel and boot image over;&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cp boot/vmlinux hfs/System&lt;span class="se"&gt;\ &lt;/span&gt;Folder/Linux&lt;span class="se"&gt;\ &lt;/span&gt;Kernels/vmlinux
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;cp boot/initrd.img hfs/System&lt;span class="se"&gt;\ &lt;/span&gt;Folder/ramdisk.image.gz
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Option-F1 to get back to the installer, and tell it to go ahead and reboot.&lt;/p&gt;
&lt;p&gt;When the machine reboots the BootX dialog should come up straight away, just
click &amp;ldquo;Linux&amp;rdquo; and Ubuntu should proceed through the rest of the install as usual.&lt;/p&gt;
&lt;h4 id="references"&gt;References&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=73689"&gt;http://ubuntuforums.org/showthread.php?t=73689&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=36431"&gt;http://ubuntuforums.org/showthread.php?t=36431&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/Installation/OldWorldMacs"&gt;https://wiki.ubuntu.com/Installation/OldWorldMacs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://penguinppc.org/"&gt;http://penguinppc.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://gonz.wordpress.com/2006/03/22/installing-ubuntu-510-breezy-badger-on-an-old-world-powerbook-g3-wallstreet/"&gt;http://gonz.wordpress.com/2006/03/22/installing-ubuntu-510-breezy-badger-on-an-old-world-powerbook-g3-wallstreet/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>Installing Ubuntu on a PowerBook G3 for hack value</summary></item></channel></rss>