{"id":177,"date":"2006-01-04T20:53:10","date_gmt":"2006-01-05T04:53:10","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=177"},"modified":"2008-03-24T16:59:01","modified_gmt":"2008-03-25T00:59:01","slug":"rant-from-the-past-linux-on-powerpc","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/rant-from-the-past-linux-on-powerpc\/","title":{"rendered":"Rant From The Past: Linux on PowerPC"},"content":{"rendered":"<p>I dug up this old rant on my hard drive. The way it is formatted I obviously intended to publish it. The file is dated April 28, 2001. Some of you may find it interesting or amusing. More data on this episode is archived at the <a href=\"http:\/\/www.terrasoftsolutions.com\/lists\/yellowdog-general\/April01\/author.html#282\">Yellowdog Linux mailing list<\/a>. In the end, I solved the problem and got Linux onto a PowerPC machine but it took me 9 days from the start of my journey until the end.<\/p>\n<h2>Trying to Install Linux on a PowerPC<\/h2>\n<p><em>All I want to do is run Linux on a PowerPC machine&#8230;it&#8217;s a good thing I appreciate a challenge&#8230;<\/em><\/p>\n<p><!--more--><\/p>\n<h3>Introduction<\/h3>\n<p>I&#8217;ve always fancied myself a rather tolerant individual when it comes to diversity of computing environments. I respect the fact that there are many different computers, operating systems, and computing environments that are conducive to different people and tasks. This includes being respectful towards Macintosh users.<\/p>\n<p>After my experience trying to install Linux on a PowerPC machine via a clean MacOS v7.6 installation, it&#8217;s difficult to hold Macs in very high regard. To be fair, it&#8217;s not that Macintosh hardware is inferior or that Mac end users are of low intelligence; the problem lies squarely with the people who designed the OS and its applications.<\/p>\n<p>I wrote this little document as a therapeutic measure to help me deal with the remarkable idiocy of the situation. Maybe, just maybe, someone else will find the description of my trials useful in solving a problem that they&#8217;re having.<\/p>\n<h3>The Setup and the Challenge<\/h3>\n<p>I&#8217;ve been working with Intel x86 hardware for a long, long time. I know how to work DOS, Windows, and especially Linux on an x86 CPU pretty well. I suddenly became interested in trying Linux on other hardware and I decided to start with a PowerPC machine. There&#8217;s <a HREF=\"http:\/\/www.voelker.com\">a place<\/a> in my town that sells used Mac hardware on consignment and I picked up <a HREF=\"http:\/\/www.everymac.com\/systems\/powercc\/powertower\/powertower166.html\">this machine<\/a>, except with 96MB of RAM instead of 16MB and a 24X CD-ROM drive instead of a 4X.<\/p>\n<p>I did my homework on how to install Linux on a PPC, thanks to <a HREF=\"http:\/\/www.linuxppc.com\">LinuxPPC<\/a> and <a HREF=\"http:\/\/www.yellowdoglinux.com\">Yellow Dog Linux<\/a>. I think it&#8217;s possible to install it via the network, but I need to start an installation process on the PPC machine first. It seems that in order to kick off a Linux installation on the type of machine I<br \/>\nhave, I need to perform 2 steps: <\/p>\n<ol>\n<li>reformat and repartition the hard drive so that Linux can use part of it<\/li>\n<li>install three files onto the machine:<\/li>\n<ul>\n<li>BootX (Linux bootloader to be installed as an extention)<\/li>\n<li>vmlinux (basic Linux kernel)<\/li>\n<li>ramdisk.tar.gz (RAM disk image of the installation program)<\/li>\n<\/ul>\n<\/ol>\n<p>When I got the machine, it booted MacOS v8.1 and had a variety of software on it, including Netscape v3. I was able to hook it up to my home LAN and browse the web. Also, when I purchased the machine, it came with two CD-ROMs: One with MacOS v7.5.3 and one with v7.6.<\/p>\n<p>So I reformatted and repartitioned the HD. Then I reinstalled MacOS v7.6. Step one is complete. Proceed to step two: Get those 3 files onto the machine and install them. Umm&#8230;how?<\/p>\n<p><strong>This is the challenge at hand:<\/strong> Get the 3 files onto the PPC machine and install them.<\/p>\n<h3>Classic Chicken-and-Egg<\/h3>\n<p>If you&#8217;re not very familiar with the Mac, allow me to carefully explain a simple chicken-and-egg type of problem on the Mac platform. Most Mac programs on the internet are distributed in one of these three formats:<\/p>\n<ul>\n<li> MacBinary (.bin)\n<\/li>\n<li> BinHex (.hqx)\n<\/li>\n<li> StuffIt format (.sit)\n<\/li>\n<\/ul>\n<p>There are many handy utilities available for download, most notably <a HREF=\"http:\/\/www.stuffit.com\">StuffIt<\/a>, which are able to decode these file formats. However, it seems that all of such files are available either in .bin, .hqx, or .sit format. If you didn&#8217;t catch the paradox, go back and read that again. The programs are distributed in the same formats that they&#8217;re tasked to decode.<\/p>\n<p>No matter how many times I think about it, the sheer absurdity of the situation still makes my head hurt. I don&#8217;t know if I can adequately articulate what madness this is. A fellow named Blackfox does a much better job of it <a HREF=\"http:\/\/www.zipworld.com.au\/~blackfox\/plan.html\">in his .plan file<\/a> (search for the 4\/2\/01 entry).<\/p>\n<p>Most Macs seem to magically have StuffIt installed by default, as if it&#8217;s part of the OS. Well, it&#8217;s not part of MacOS v7.x (though I understand that it is distributed with v9; glad they finally caught on). But I don&#8217;t have a general decoding utility on this Mac and it&#8217;s not on any of the CD-ROMs that came with the system.<\/p>\n<h3>Transferring Files<\/h3>\n<p>In their advertisements, Apple used to encourage people to &#8220;Think Different.&#8221; That&#8217;s exactly what I&#8217;ve been doing in order to get these 3 files on the Mac in the first place.<\/p>\n<p>The first and simplest transfer method I could think of what via floppy disk since all of my computers at least have a 3.5&#8243; drive. Problem: 2 out of the 3 files are larger than 1.44MB. Possible solution: Common compression utilities, at least under DOS, have methods of breaking up large files to be copied onto multiple floppies. Problem: I don&#8217;t have any compression utilities on this Mac.<\/p>\n<p>The next approach was to transfer via the network. After all, the Linux boxes on my home LAN run FTP and HTTP servers. Problem: even though MacOS v7.6 has easily-configurable TCP\/IP facilities, it doesn&#8217;t come with any basic TCP\/IP applications, like a web browser, FTP client, or even telnet client. Scratch that idea.<\/p>\n<p>I was advised to look into Appletalk and Appleshare, the Apple-proprietary networking protocols and applications which are also supported on Linux. After some research and recompiling on Linux, I turned a Linux box into an Apple file server. Now I can easily transfer files between Linux and the Mac.<\/p>\n<h3>Learning Experience<\/h3>\n<p>I&#8217;m not entirely positive, but I think I could have played with the existing disk partitions with MacOS v8.1 when I first got the machine. With this approach, I should have been able to resize the Mac partition and reformatted the rest of the space for Linux, thus leaving the MacOS and related software intact. So maybe my first mistake was reformatting and reinstalling? No, I won&#8217;t accept that. It should be possible to wipe the hard disk clean and build the machine back up into a functional state.<\/p>\n<p>I could take the pre-packaged CD-ROM approach but by now I&#8217;m quite indignant that I can&#8217;t get this to work when I know it should. Besides, how do I know the CD-ROM won&#8217;t require StuffIt?<\/p>\n<p>As a result of this adventure, I now know how to configure and administer an Appletalk network, though I don&#8217;t plan to mention that on my resume\/CV.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Classic rant about frustrating experience installing Linux on a PowerPC machine&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-177","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":0,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/177\/revisions"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}