
Article: Running Yellow Dog Linux on a Sony Playstation-3In which we get the hottest video game system from Christmas 2006 and turn it into a Linux box? You bet! If you’re still thinking about video game systems as being just a wee bit more technologically advanced than an old Coleco or Atari 800, you’ve got quite a surprise coming the first time you crack open the proverbial hood. While the new Nintendo Wii (pronounced “we”, oddly enough) has some slick hardware, as does the Microsoft Xbox 360 device, the real winner in the technology race is the rather amazing Sony Playstation 3 system. Built around an IBM Cell Broadband Engine processor, the PS3 includes a high def Blu-ray drive, four USB 2.0 ports, an Nvidia graphics processor with 256MB of separate video RAM, support for Compact Flash, SD and Memory Stick devices, Ethernet, built-in 802.11b and g, Bluetooth, an HDMI port and support for all the video resolutions you can imagine, including 480i, 480p, 720p, 1080i and the holy grail, 1080p. Sounds like a computer, not a video game system, doesn’t it? The Blu-ray optical drive system boasts support for most of the older disc formats too, including CD-ROM, CDR+W, DVD, DVD-ROM, DVD-R, and DVD+R. If you’re not familiar with the battlefield of HD video, Blu-Ray can support up to 54GB of data per disk, which is pretty amazing if you’re still using a CD burner! The other HD disk format is HD-DVD, but that’s not supported. On the other hand, Blu-ray already has over a hundred movies in retail channels, so the PS3 is also quite a capable HD video player.
One more important spec: With a 60GB hard drive included, the PS3 will run you about $599 at most retail outlets, if they even have PS3 units in stock. And games? Well, there are a few dozen available at this point with an average price of about $60, and the standard game rental channels (Gamefly, Hollywood Video, etc) should have PS3 games available for rent by the time you read this article. Okay, so it’s a darn cool computer with some terrific capabilities hiding in a sleek black shell, but is it really just useful for playing video games or can you do something else with it, can you turn it into a Linux system? I ADMIT, I LIKED WEBTVPerhaps the most obvious question to ask is why bother? I mean, if you buy a Playstation 3 then you’re going to be investing in the fastest next generation gaming console on the planet. Why the heck would you want to boot into a sterile Linux environment instead? Well, the answer isn’t because the PS3 replaces your regular Linux box if you’re a geek. To me the question of running Linux on the PS3 revolves much more around whether you can essentially add functionality to the PS3 for households that don’t have a computer. What if you could run all the PS3 games, watch Blu-ray HD movies and gain full interactivity with the Internet too? It’s the 21st Century answer to the late, underappreciated WebTV device. While tech geeks never quite got that a lightweight device with a wireless keyboard that hooked up to a regular TV was never intended to compete with a $5000 Alienware Gaming PC it still had great utility to those people who didn’t want -- or couldn’t figure out -- a personal computer, be it a Mac or PC. Simple, simple, simple. WebTV offered a Web browser and email system and not much else, and for many people, that was just fine. To me, then, Linux on the PS3 is something that’s worth doing because the PS3 hardware is so darn powerful and capable, and the target audience isn’t people who could easily run Windows Vista, Mac OS X Leopard or Linux on a separate computer, but those people who would find the lightweight solution just fine. As a result, my primary testing for this solution are those two killer apps: Firefox for Web surfing, and Thunderbird for email. Can you really run Linux on the Playstation 3, and if so, can you really surf the Web and get email? Let’s find out! FIRST, CONFIGURATION REQUIREMENTSSony actually contracted with Terra Soft Solutions to produce a version of its Yellow Dog Linux (henceforth YDL) for the Playstation 3, a smart move considering that Linux people were going to cobble together a solution anyway. Terra Soft initially produced YDL for the IBM-chip-based Mac PowerPC systems, offering up a quite capable Linux alternative to Mac OS X. [see my earlier article on this configuration: Yellow Dog Linux, Ubuntu Linux and Mac OS X: All on One Powerbook?] The PS3 doesn’t include any useful input devices (other than a game controller) so you’ll need to buy a USB keyboard and mouse or, perhaps, just dig one out of your closet like I did. You’ll also want a USB flash drive for a temporary boot drive. Fortunately, I have a 2GB SanDisk flash drive that worked just fine. They’re about $70 at your local computer shop. Ironically, the flash disk came from Microsoft, with Vista promotional materials pre-installed. Not any more! :-) You’ll need to start by partitioning the hard disk in your PS3 so you have space to install Linux. This is pretty easily done: boot up the PS3 then go to Settings -> System Settings -> Format Utility, choose Format Hard Disk, say yes to the questions about reformatting the entire disk, then eventually you’ll be able to choose a Custom partition and then choose the Allot 10GB to the Other OS, which still gives you 50GB in the bigger unit or 20GB in the smaller unit for games and other PS3 stuff. We’ve come a long way from Pong... Now it’s time to turn to your removable drive, whether you’re going to use a flash drive like I did or whether you want to try a Compact Flash, SD card, or similar. You’ll need to create a directory “ps3” then a subdirectory therein called “otheros”, and download two files, one from the Sony Web site and one from Terra Soft Solutions:
Now it’s time to install Linux. Yeeha! Let’s hope it doesn’t mess up my fancy $600 video game system, eh? To install, I’ll go to Settings -> System Settings -> Install Other OS and the bootloader should automatically be found and selectable. As always with the PS3, the “X” button on the controller selects the specified choice and lets you proceed. Uh oh, I hit my first snag, with the bootloader complaining “No appricable install data was found” (yes, they didn’t fix the spelling error. Don't Japanese engineers have access to English-language spelling tools?). Since the file from Terra Soft initially unpacked with the file name “exoboot”, I’ll try renaming it thusly and see what happens. Nope, somehow that meant that the PS3 didn’t find any possible external boot loader. Ah, perhaps it’s a Mac versus PC problem, since I downloaded and copied the files onto the USB device with my Mac. Okay, I reformatted the thumb drive, redownloaded and reinstalled the two files onto the USB drive with my trusty Windows XP device. That was the problem. Most confusing, because on the Mac I saw a download of otheros.bld.gz that unzipped to a file called “exoboot”, which I simply renamed to “otheros.bld”. It was corrupted somehow, because when I downloaded the two files onto the thumb drive from the PC then tried to install the OS, it worked like a charm! If you're on a Mac, though, don't abandon hope. Try the downloads (links above) and see if it works better for you. Now it’s time to tell the PS3 that I want to boot into the new system, rather than the default PS3 operating system. This is done with Settings -> System Settings -> Default System and selecting Other OS. Before you reboot, however, you’ll want to install the YDL install DVD and hookup your USB keyboard and mouse. Flip the power switch to reboot the Playstation 3 and after a few seconds, it’ll read the install DVD and pop up with the familiar penguin and a long stream of boot messages, just as us Linux folk are used to by this point in time. You’ll then get a prompt “kboot:” at which point you can just press Return to boot YDL or type in “boot-game-os” to get back to the world of the PS3. Tip: You can also reboot into the Game OS by holding down the power button for five seconds when you power on. It’ll ignore the Linux partition from then on, however, until you go into the system settings and choose Default System -> Other OS again. After a minute or two of streaming text, you’ll get to the YDL Version 5.0 install screen in Anaconda, where you can now start clicking on “Next” until your mouse button gets tired. ![]() Yellow Dog Linux installer for the Playstation 3 in Anaconda. Very cool! Actually, just a few clicks in you’ll find that the system complains that “The partition table on device sda was unreadable.” and asks if you want it to initialize the drive, erasing all data. You do want to do that, and as always, I recommend you choose automatic partitioning. The rest of the installation is pretty typical of a Linux system, with root passwords, etc. All told, it took about an hour to install everything onto the Playstation 3 from the YDL install DVD, perfect time to check your email or grab a cup of tea! Finally, finally, a “Reboot” button lets me restart the PS3 with its newly installed “other OS”. Compared to the beautiful Playstation 3 user interface, I have to say that a Linux reboot sequence is sure ugly! Again, as with a typical Linux install, I now see a series of first boot configuration options, including setting the date and time, specifying an initial non-root user, and, unlike many Linux installations in my experience, the YDL for PS3 installation correctly recognizes and configures the system for the PS3 soundcard. One login later, I’m running X Windows with Terra Soft's lovely Enlightenment windows manager and find that Firefox is already conveniently installed. Even better, the system has by default correctly found my DHCP server and configured itself so that I’m online and ready to go. SURF THE NET IN PLAYSTATION 3 LINUXNow I can start to analyze whether the YDL installation is actually a configuration that addresses my earlier stated needs for a software solution that makes the PS3 a useful Internet machine, and a quick visit to linuxjournal.com confirms that, yes, it works fine, it’s darn fast, and eminently usable. Nice! ![]() Yellow Dog Linux runs like a champ on the Sony Playstation 3 One of the sites I use as a test is Google’s Gmail service. It’s complex behind the scenes and quite powerful, so the question is always whether it works and renders properly on a new system. YDL came through like a champ, working just fine and letting me navigate through my email securely through Firefox. Thunderbird is also pre-installed and ready to go, and configuring a POP3-based email account is pretty straightforward for most Linux users, so there are at least two good avenues for accessing your email. That means, of course, that YDL does indeed meet my primary criteria for usability, letting me surf the Web and interact with my email, all from the comfort of my easy chair and with a simple USB keyboard added onto my slick Playstation 3 device. But Linux offers a lot more capability, and as an experiment, I launched Rhythmbox and quickly concluded that I have had my expectations of music players really screwed up by using iTunes for so many years. It’s astonishing to me that I can choose “Internet radio stations” and not get a list of available stations, but instead have to figure out the URL of the station I desire so I can “tune in” to it. Unfortunately, all these years into the Linux evolution, there are still too many apps that are rough around the edges like this. I went to Firefox, searched for “internet radio station jazz”, found one through the popular Live365 site, selected the channel, had it try to download a streaming file that caused the launch of the Helix player, just to find that it doesn’t have the capability of playing back that type of content. Next stop, AccuRadio, but it wanted me to install a new plugin. Yech. New Orleans Jazz channel WWOZ offered up a URL, so I pasted that into Rhythmbox just to find it didn’t work either. To heck with it! How the heck is someone like my Mom supposed to survive so much hassle to get audio in YDL? AT THE END OF THE DAY, IT’S A LINUX SYSTEMAs I expected, it may be slick and fast running on the Sony Playstation 3 with its powerful Cell processor system, but it’s still the same Linux that we’ve gotten used to with no exciting new capabilities, no easier way to work with the various media on the Web, and the same rough edges I’ve been bothered by for over a decade now. Unlike most Linux systems, however, YDL on PS3 at least lets you reboot and go back into the world of the Playstation, where you can easily run photo slideshows, upload and enjoy your music library, watch DVD and Blu-ray HD video and, of course, play some of the amazing games available for the Playstation. Really, it’s one heck of a combination and if you know someone who would like to have access to all the power and capabilities of the Cell processor through Terra Soft Solution’s YDL system, along with the fun and power of the Playstation 3, it’s really one heck of a combination. Even if you just want to hack, it’s cool to have a foreign OS on the system as an option at boot time too. Companies mentioned: Sony (NYSE:SNE), IBM (NYSE:IBM), Nintendo, Apple (Nasdaq:AAPL), Microsoft (Nasdaq:MSFT), SanDisk (Nasdaq:SNDK), Gamefly, Hollywood Video (Nasdaq:MOVI), Alienware/Dell (Nasdaq:DELL), and Terra Soft Solutions. Dave Taylor has been poking around in Unix and Linux since the mid-1980’s and has contributed various software to its evolution. He has run Linux on all sorts of strange devices now, including his tri-booting Mac laptop and Sony Playstation 3. He also runs a busy Q&A and troubleshooting site AskDaveTaylor.com and has written a number of popular tech books, including Growing Your Business with Google and Wicked Cool Shell Scripts.
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.
Categorized:
Articles and Reviews
(Article 7171)
Tagged: ibm cell, linux, nvidia, ps3, sony playstation 3, ydl, yellow dog linux Previous: Motorola IFH1000 & Treo 700p: Installation, Connection and Troubleshooting Next: How do I move the harddrive icon onto my Dock? Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. Very well done. Greaqt article Dave! This month we will have the PlayStation 3 here in Europe too. (i am from Germany) . Go to get this box and tray what it can. this linux idea is realy brilliant. Chris. Posted by: Christopher at March 15, 2007 3:04 AMEverybody has his or her favorite version of Linux, for me it's Ubuntu Linux. Is it possible to install Ubuntu Linux from a cd or a Flash Drive? Posted by: Bruce Miller at April 5, 2007 8:38 PMHi Dave, I first read this article in the April 2007 issue of Linux Journal. I enjoyed the article until you jabbed linux in your conclusion "At the End of the Day, Its a Linux System." I've only been using linux about 2 years so I realize you have many more years experience than I do, but I was just curious why you didn't just install Streamtuner and Xmms for listening to online radio stations. There are tons of channels from Live365, Shoutcast, and Google stations available. Posted by: phersotty at April 22, 2007 7:19 PMBruce, yes I believe you can do that if your flash drive looks like a standard ISO. I see no reason that wouldn't work! Phersotty, yeah, well, the problem is that you need to *know* about the programs and where to find them. When I click on something on a Mac or Windows system, almost always it just starts up a program that works and gives me the necessary functionality. If I want to get a different program for that task (e.g. iTunes instead of Windows Media Player) that further improves things, but I'm rarely left without ANY functionality, as I too frequently am in Linux. Posted by: Dave Taylor at April 23, 2007 12:07 PMhi...nice topic you have....i want to install YDL 5.0 to my ps3...but im confused with the YDl that i downloaded...its in ISO file format....will my ps3 recognize this extension ISO?....or i should extract it first to its original file format by using ISOBuster?....thank you very much.....And can i install printer for it?.... Posted by: sweetguy23 at April 26, 2007 12:55 AMAy dude i really need some help on my installation of yellow dogg linux 5.0.and was wonderin if you could help......so Here's the situation.....I bought the dvd package of yelllow dog linux from terrasoftsolutions.com and i put the installtion disk in and and I read the installation instructions which said to go the Game OS menu,select: Settings==>System Settings==>Install Other OS....so I did that and it started scanning and found the "/ps3/otheros.bld" like it was suppose to and then I pressed X to start the installation. The instructions noted that the screen would turn blank while pulling the files from the DVD so I waited.........and waited.......and waited....until i finally realized that the program has stoped loading already....but still there was no image on the screen....this problem occured just after I saw the 2 penguins.......My ps3 still wont display anything! I tried resseting it it and making sure all the cords were right but it just wont display anything and it will turn on but I cant even use my controller to reset it because the 4 little lights keep blinking.......I really need some help becuase my ps3 is in a worthless state right now....so yea anyone can reply to this just hit me up at tonythetiger15@hotmail.com I would appreciate....thanks! i installed yellow dog on my ps3 through HDMI but have no sound. sound card is detected but still no sound any ideas thanks Posted by: carl at September 17, 2007 5:14 PMhi dave i was just wondering and anyone can be free to answer. do i need the ISO file from the terrasoftsollutions.com mirror and burn it to a DVD also is it possible for my Playstation 3 to intall from A portable WD PASSPORT hard drive or does it need to be a dvd because i dont have a DVD burner ALSO is it possible to divide the ISO in 4 or 5 sections and put it on CD's THANKS Stupid-ish question. Formatting the PS3 harddrive. Will that lose my game data? The risk of that is the only thing keeping me from following through. Posted by: Shawn at February 21, 2008 9:07 AMThanks for the article One quick question: The article states to format my hard drive in order to get it ready to d/load Linux. By formating the drive, am I at all putting the PS3 unit itself at any risk? Will I damage the drive, will I lose anything that I stored on it? thanks Posted by: Ben at February 24, 2008 10:54 AMI have a lot to say, but ...
I do have a comment, now that you mention it!
|
Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Join the List!
Book Links
|