Linux On PS3 Installation and Setup Pt.1

I have finally did it. I took the plunge to install Linux on my PS3. Installation was easier than I thought, wjile setup was much harder. Read on in order to save time and to setup everything without going through as much as I did.

 Why install Linux?

Because it’s Linux. It’s free, and will turn your TV into a media center, and a powerful internet explorer. It’s always good to have a central computer in your home to easy access and use while having guests that want to access the internet or listen to music.

What version of Linux is supported?

Well, as you know, PS3 has a PowerPC processor, so you must find a Linux version that has a PowerPC version ready. I have installed Ubuntu on my PS3. There are altered versions of Ubuntu, like Kubuntu or Xubuntu,  that are more lightweight, and will be faster, while maintaining compatibility with most if not all features of the plain and stronger Ubuntu. Other Linux OSes that support PS3 are Yellow Dog. You may also find other versions, but those two are well supported, and you can find more information about those on the Internet.

So, let’s install Linux then!

What do I need?

  • A PS3 (duh…) patched up to the latest version of the OS. I mean it. Later versions add enhancements to the WiFi performance of the PS3, which you may need it.
  • An Ubuntu version for the PS3 burned on a CD. The version I installed is XUbuntu 9.0.4.The burned media must be a CD. DVD’s won’t work.
  • A USB keyboard and mouse.
  • It would be nice to connect your PS3 via ethernet to a modem that is already connected to the internet. It will simplify things for you.

1) Preparation

In order to Install Linux, you will need to format the PS3 HDD, so be sure to back up all your saves and game data. An easy way to backup everything, is using the PS3’s “Format Utility” to do everything for you. Depending on your data, the time needed for this may vary.

Now, you will need to format your HDD and allocate 10 GBytes to Linu in order to install it.

  • Go to System Settings -> Format Utility.
  • Select “Format Hard Disk” and click Yes.
  • Choose Custom and Allot 10GB to the Other OS.
  • Select Quick Format and confirm with Yes.

When prompted, press X to restart the system, The system will now restart, and everything will have been set to their default settings. Now, you must tell PS3 to begin installing the other OS to the newly created 10 GBytes of Space. In order to do that, there are 2 ways. I will only mention the easiest, since the other one involves messing with the command line, and will surely cause confusion to readers of this article.

  • Download “otheros.bld
  • Put the Ubuntu CD in your PS3
  • Copy it to your usb stick or external HDD in the following folder; /PS3/otheros/ (if there isn’t such a folder, create it)
  • Connect your USB strick or HDD to the PS3
  • Go to “System Settings” > “Install Other OS”
  • Select “Other OS” and hit “Yes” to restart the system with the otheros.bld loaded and ready to startup when in Linux Installation mode.

2) Installation
Your PS3 restarts. If all went well, you will be greeted by a blue screen that asks you for your country. There is some setup needed. I will only highlight the important options. The other ones do not affect installation, and they can be whatever you wish them to be.

  • If your PS3 is connected to the internet via cable, choose eth0: Ethernet. (if you use WiF, good luck with that. I don’t know how to help you, sorry. However, I am fairly certain that istallation without internet connection is really simple, so try it)
  • The hostname for the Linux system can be whatever you want it to be – like “ubuntuSystem1”.
  • When asked how to partition the disks, choose option 2: “Guided – use entire disk” (meaning the 10.7GB you formatted from the XMB).
  • On the “Overview” screen, press “Finish partitioning and write changes to disk”.
  • The partition is formatted and base system installed. It should take about 10 minutes.
  • Set up your user information (full name, username and password twice).
  • Unless you’re using a proxy, leave the HTTP proxy information field blank.
  • The system will start installing extra software. Process will take approx. 1 hour. Note that my installation was hanged at 6%. I left it to continue, and it installed the extra system components without problems, so don’t panic!
  • I set the system clock to UTC, although I don’t know how that affects the time in Ubuntu…

The PS3 will eject your installation disc. Remove it. If you don’t, your PS3 will boot from the CD, which is not what we want to do. The next screen you will see is the kboot screen. You will get that screen a lot. So let me explain the options:

  • Just pressing Enter will continue booting from theLinux OS
  • Typing “sh” will allow you to use the command line shell. Don’t do it unless you are certain about what you are trying to do.
  • Typing “boot-game-os” or just “game” (without the quotes) will boot the PS3 from the XMB, allowing you to play PS3 games normally.

3) The return to XMB

Although i was a relatively simple process, I feel I must mention what happens when you want to restore backed up data from your system. If you have used the Backup Utility to backup all your data, like me, you will notice that when you try to restore your data, you will be forced to to a Format again! Well, don’t be afraid. That Format option will only format the PS3 partition, and not the Linux one. In other words, do it. The PS3 partition will be formatted, the Linux OS will remain intact, and the PS3 will reboot from the XMB and will start restoring your system from the backed up data.

4) The return to Linux… again

In order to  boot from linux again, go to Settings->System Settings->Default System and choose the “other os” option. That will allow you to boot from the Linux Partition.

After you boot from the linux partition, you will notice two things

  1. The Performance is that of a 10 year-old PC
  2. You probably have black borders near the edges of your TV screen.

Well, the second problem has a fix. And I will post a guide for that too in the next few days. However, the first one is another thing. The available memory for the OS is 222 Mbytes, which is the real bottleneck, but you will also notice that not all the cores of the PS3 are at work with Linux. In fact, only two(one?) of them is working. However, as you will notice, after a few tweaks that I will mention here, you will be ready to enjoy Linux at not great, but much greater speeds.

See you in a few days with another post!