Yellow Dog Linux Installs Neatly on an iPod
After dancing the Disk Druid dance for almost an hour, it was a distinct pleasure to get to a prompt asking about DHCP and network configuration. I picked all the basic defaults, except I skipped configuring a firewall. It didn't like that, but let me proceed after giving me a little lecture on system security.
As I originally chose a Personal Workstation configuration, it meant that my default package set was X Window System + KDE + OpenOffice.org + Mozilla + Evolution + IM tools + games. Not good. Why? Because my disk partition was 367MB too small.
Going back to the proverbial drawing board, I started trying to pull out individual applications, guessing how much each one would take of the installation. It's amazing, really, after all these years, that Anaconda doesn't indicate how big each package is when you're trying to navigate through it. Instead, I piddled around removing Gaim (a multi-IM utility) to save 41MB; XChat (an IRC client) to save 5MB; all the sound and video applications (saving 57MB); all the graphics applications, including The GIMP and ImageMagick (saving 100MB); and the KDE component kdegraphics (saving 26MB). I attempted to re-install, and wouldn't you know it—still too big, by 185MB.
As you might expect, this was pretty tedious. But when I dug around in the Office Utilities area, I was amazed and delighted to see that the support package openoffice.org-18n (a package with lots of localization libraries for OpenOffice.org) was a whopping 668MB in size. Because I didn't envision that I'd be editing documents in German, Hebrew or Kanji, I happily deleted it and re-added all the individual apps I'd deleted earlier. I even threw in kdegames, eating up 23MB, but hey, who doesn't like games?
Finally, 75 minutes after I started the process, I actually was able to proceed with the full installation. It took 18 minutes before I saw “installation finished”, which I attribute to the fact that the iPod firewire drive is slower to access than the internal hard drive in the PowerBook.
I held down the OPTION key on the keyboard during the boot sequence to be able to access the Yellow Dog Linux OS as an alternative to the Mac OS X on my main PowerBook drive. After about 60 seconds of hunting for options, it showed me both Mac OS X Tiger and Yellow Dog Linux. Eureka!
I selected YDL, clicked on the continue button (an arrow) and then was in the yaboot program, where I pressed L for Linux and sat back. Lots of status information scrolled past, including the information that eth0 (the built-in Ethernet port) failed to initialize, which made sense as I wasn't hooked up to a network. Otherwise, I was soon looking at the attractive KDE login window, to which I typed in my new user account information that I'd specified seconds earlier in the first boot utility.
I then was prompted to select display specifics and was pleased to see that one of the display manufacturers listed was Apple. Scrolling down the long, detailed list, I found the right match: “Apple Titanium PowerBook G4” and accepted the defaults for that display.
The next step was particularly satisfying, as it asked about audio hardware configuration and worked with the default settings. Previously, when I had installed an earlier version of YDL on the PowerBook, the audio subsystem had failed, never to work again—a valuable upgrade by itself.
Once the setup was done for KDE, I was running in a full-blown Linux/KDE environment, with all the applications, utilities and games I could want. It was fast, smooth and quite a delight to have a different desktop and user environment on my system.
But, I wanted to test and ensure that everything still worked properly, so I shut down YDL, and sat looking at a dark screen, realizing that there was really no way to know when it had completed its shutdown. Fortunately, I also was watching the iPod screen, and once the system finished shutting down, the iPod switched from “do not disconnect” to an Apple logo, and then rebooted into iPod mode.
Indeed, the iPod works perfectly. All my audio files remained intact, and now when I go to the System Information area on the iPod, it shows that the storage capacity of the unit is 1.96GB rather than the earlier 5GB value. Perfect!
Everything unplugged, I restarted the PowerBook and was gratified to watch it quickly and easily restart in Mac OS X, without any indication that I'd installed anything unusual, touched any hard drives or restarted in a foreign OS just a few minutes earlier.
Alright, it's geeky, but I think it's way cool to have an iPod that can boot any G4 Mac into a full Linux work environment with only a few keystrokes. If you need Linux functionality and don't want to touch your existing Mac OS X systems, this can be a great solution, and you don't even lose the functionality of your iPod along the way. Indeed, a quick search on eBay shows that you can pick up one of these ancient 5GB iPod units for less than $60 US, on average.
There are some caveats about this installation, however, particularly regarding the very latest iPod systems, which have a slightly different filesystem. If you are going to proceed with this, don't follow my lead but start on the Terra Soft site and read the hardware and configuration notes. It'll save you a lot of heartache down the road.
Dave Taylor has been involved with the UNIX community since 1980 and was the original author of The Elm Mail System. He's written 20 books, including Teach Yourself Unix in 24 Hours and Wicked Cool Shell Scripts. He invites all true Linux fans to visit his Weblog at www.askdavetaylor.com.
Dave Taylor has been hacking shell scripts for over thirty years. Really. He's the author of the popular "Wicked Cool Shell Scripts" and can be found on Twitter as @DaveTaylor and more generally at www.DaveTaylorOnline.com.
|Designing Electronics with Linux||May 22, 2013|
|Dynamic DNS—an Object Lesson in Problem Solving||May 21, 2013|
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
- Designing Electronics with Linux
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Validate an E-Mail Address with PHP, the Right Way
- Tech Tip: Really Simple HTTP Server with Python
- Build a Skype Server for Your Home Phone System
- Why Python?
- A Topic for Discussion - Open Source Feature-Richness?
- Reply to comment | Linux Journal
23 min 19 sec ago
- Not free anymore
4 hours 25 min ago
8 hours 12 min ago
- Reply to comment | Linux Journal
8 hours 20 min ago
- Understanding the Linux Kernel
10 hours 35 min ago
13 hours 4 min ago
- Kernel Problem
23 hours 7 min ago
- BASH script to log IPs on public web server
1 day 3 hours ago
1 day 7 hours ago
- Reply to comment | Linux Journal
1 day 7 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?