Posted Nov 17, 2006 at 01:04AM by Pranav T Listed in: How-To, News, Linux Tags: Linux, ISO, Sony, Mozilla, VLC
Ó

PS3 LinuxYes, the void has been filled! You will be able to install Fedora Core 5 on your PS3s right now if you have all the components ready! The void we're talking about here is the OtherOS Installer which has just been released by Sony on their Open Platform for PLAYSTATION site. So let us be the first ones to tell you how it's done. We're getting our own PS3 in a few hours and we'll make sure that you have the whole install process with pictures later on. Until then, check out the instructions:

First, download all of the components that I've listed here.

You will need a USB keyboard and a mouse to use Linux on your PS3! Make sure you have it before jumping into the installation!


Alright, once you have these things ready, here's how you prepare your PS3 for another operating system, which in our case, is Fedora Core 5.
  • You'll need a USB storage drive (can be a Memory Stick, Compact Flash drive, external hard disk, etc..)
  • Now plug the drive into your PC.
  • Make a folder called "PS3" in the root of the storage drive.
  • Inside the PS3 folder, make an "otheros" folder.
  • Move the otheros.self to the otheros folder on the USB storage drive.
  • Now, use a software like WinRAR to open the Addon CD ISO which we just downloaded.
  • Inside that ISO file, navigate to the kboot folder where you'll find a file - otheros.bld
  • Extract that single file to the otheros folder on your USB storage drive.
  • Now, remove the USB drive from your PC and plug it into the PS3.
  • Now before we do anything, make sure to format your PS3's Hard Disk.
  • Make two partitions, one for Linux and the other for the PS3 Game OS. If it's a 20GB disk, you can make 2 partitions of 10GB each.
  • If it's a bigger disk, the partitioning scheme is upto you.
  • Now go to the Settings Menu -> System Settings -> Install Other OS.
  • Click on OK to start the installation. This will install the kboot image to the PS3.
  • Once done, it will go back to the menu.
  • Navigate to Settings -> System Settings -> Default System and select "Other OS".
Now that you've selected Other OS from the default system menu, when you restart your PS3, you will be greeted with the Other OS installer message. In case you're stuck with the Other OS installer and you want to go back to the Game OS, just press the Power button for 5 seconds or more when starting your PS3. Be advised that doing this will restore the PS3 to it's default factory resolution.
  • Alright, now insert the Fedora Core 5 DVD into the PS3.
  • Restart your PS3.
  • When the PS3 starts, you will be greeted with the kboot message for the Fedora Core 5 installer.
  • You can only install via a DVD, CDs aren't supported!
  • When the installation starts, one Hard Disk will be recognised - sda Linux.
  • At the kboot prompt, type in "install-fc sda"
Once it starts, you will see a message:

Please insert Fedore Core install DVD.
Is it OK? (y/n):

Just press y to begin install.

This will prepare your PS3 for Linux. Once done, you will be able to select one of the 2 install methods:
  • Fedora Core minimum install
  • Fedore Core full install
Select whichever install you want. We'd recommend a full install to reap all the benefits of Linux on your PS3. At this point, the real installation will start. It will ask a couple of questions, but they will be basic stuff. Remember that when you install Fedora Core 5 on your PS3, the second partition you made will be formatted and you will lose all your data on that partition.

The installer will start unpacking and installing the data to your hard disk. After a small while, you'll see this message:

Please insert a Addon Packages CD.
Is it OK? (y/n)

Remove the Fedora Core 5 DVD and insert the Addon Disc which you burned a while ago and press y.

A little while later, you will see the following message:

Install done.
Type reboot to start Linux or type halt to power off


Rejoice! You've just successfully installed Fedora Core 5 to your PS3. Now you could shut off your PS3 and take a walk outside. But knowing Linux nuts, I'm sure you'll be dying to check it out.

Just type in reboot to restart your PS3. When your PS3 starts, you will be able to login as root with the password you supplied during install. Just type it in and have fun with Fedora Core 5! You will be able to install any app as long as it has a PPC build of it. That includes most major applications like Mozilla Firefox, VLC player and more..

Now if you want to go back to the Game OS, just type in boot-game-os at the prompt. Have fun with Linux on your PS3. We will be updating this post with pictures of our own Linux installation as soon as we get our PS3, which will be in a few hours. In the meanwhile, make sure to read the official FAQ by Sony. For more info, download the documents here and go over them to know the full capabilities of Fedora Core 5 on your PS3.

Now please spare me so that I can go and beat the UPS guys up for delaying our PS3 delivery.

View: [Forum discussion thread]


Permalink  |   Email this  |   Linking Blogs   |   Digg It!

Bookmark / Find this article on:


67 Comments


Sort by:
   by stevieb - 2006-11-17
 » 1st

numero uno! 1. 1st me number 1. 1 for the win! sorry whats the article about?

   by Quinton (Unregistered) - 2006-11-17
 » takes a while

My FC5 install is at 93% on my japanese PS3. The "full install" option warns you that it'll take two hours and they're not kidding...

   by Wow (Unregistered) - 2006-11-17
 » HDD

Hey does the hard drive really have to be partitioned?

   by Quinton (Unregistered) - 2006-11-17
 » Re: HDD

Yup, you do need to partition the hard drive. If you plan to install linux someday, it's probably wise to format and partition before you do anything else. The process is destructive, so you'll lose save games and whatever else is on the hard drive.

The full install leaves you just over 1GB free. I will probably reinstall with minimal and just add packages as I need them. The full gnome desktop environment is pretty heavy for a machine with only 256MB of RAM. But it did start up, networking worked, firefox worked, etc.

It defaulted to 480p or thereabouts but you can adjust the video mode with the ps3videomode tool:

# ps3videomode -v 3 -f

Puts it into 720p, full (overscan) mode. The -h option lists all the available video modes.

-Q


   Re: Rug (Unregistered) - 2006-11-17
 » FC5

Did you have to make kboot yourself? I cannot find a place to get the binary. Thanks.

   Re: Rug (Unregistered) - 2006-11-17
 » FC5

Oh never mind it's part of the Addon CD. OOps!

   Re: bobvilla (Unregistered) - 2006-11-17
 » To: Quinton

When you say you had 1GB left, is that out of a 10GB partition?
   by Quinton (Unregistered) - 2006-11-17
 » Re: FC5

The kboot image is on the ADDON CD. It's in the kboot directory and called "otheros.bld" You need to stick this and the otheros installer ("otheros.self") in the ps3/otheros directory on a USB drive or the like.

-Q

   by Advertising -
   by Wowie (Unregistered) - 2006-11-17
 » wow

thats unfair!!! nah its cool i want windows on it though. thats still cool. btw i played the wii and it is bs. i cant get the controller working for anything not even in the menu. it has no power and the graphics are so ugly. but anyway im posting this from my laptop outside of best buy as i have 1hour and 15 minutes left W00t but sadly i wont have time to play it because i gotta go 2 school so i will have it to myself at around 3 this afternoon. i cant WAIT


   Re: anon (Unregistered) - 2006-11-17
 » What?!?

"i want windows on it though"

That is the absolute worst idea I've ever heard.

   Re: anon (Unregistered) - 2006-11-19
 » MS Windows on PS3

I hear Windows 3.11 doesn't need more than 256 MB of ram. Of course, Windows 3.11 doesn't run on PPC. The older versions of WinNT that ran on PPC ran in little-endian mode. I don't think the Cell is bi-endian, so you'd need the XBox 360's flavor of NT or newer. Have fun soldering more RAM into your PS3.
   by Darkenedwing (Unregistered) - 2006-11-17
 » Fedora Question

I have a question, this is for Fedora 5 Core, but Fedora 6 Core is out, will the PS3 work with 6 or only 5?


   Re: drock (Unregistered) - 2006-12-10
 » Fedora 6

we got fedora 6 core installed but after typing startx to load the gui, it loaded up with 6-10 overlapping screens,so there were 6 different mice on the screen all locked on the same horizontal line, because of the overlapping the screen was impossible to read or use, this was using the HDMI to DVI cable tho, still need to try it with a analog output

   Re: holbroal (Unregistered) - 2006-12-11
 » any luck with analog?

I have this same problem with my fedora 6 install, any luck with analog drock?
   by Planet - 2006-11-17
 » Question @Quinton

Thank you for your reports, this is really interesting stuff (for me at least). I have a few questions though, if you would mind:

Is it possible to leave the XMB as primary OS and somehow switch to Linux, or do you have to make Linux the primary OS?

I figure XMB can't see the Linux partition contents and vise versa, is that true?

Did you (or anyone) try to connect a regular PC monitor via DVI-D-Adapter?

   by kcy29581 (Unregistered) - 2006-11-17
 » ethernet...?

Hi all,

I installed Fedora 6 using the minimal install option; how can I get the ethernet port working?

Thanks

   by the_darkside_986 (Unregistered) - 2006-11-17
 » this sounds interesting

But the instructions don't seem clear... Does one format and repartition their PS3 hard drive from the PS3 XMB? And why Fedora Core 5? I tried that distro and it sucks majorly. Besides having unnecessary processes running, openSUSE is better.

Also, the main open platform site doesn't link me to anything except the japanese version of the same page. I don't see how qj found the FAQ, but maybe my browser is just messed up or something.

When I get a PS3 someday I will try my best to install a Linux distro on it.

   by Advertising -
   by the_darkside_986 (Unregistered) - 2006-11-17
 » nevermind

I had to refresh the page because I've been looking at it so many times in anticipation.

This sounds disappointing. I wanted to make software that would run on the PS3 OS. Maybe true PS3 homebrew can be run by making an OS boot loader. That would be better than nothing but I was wanting to run homebrew off of the XMB game list.

   by Daisako (Unregistered) - 2006-11-17
 » OS X

So since it can use a normal PPC Linux install (minus some driver problems on unsupported), could you install Mac OS X? I am a linux person but I like osx too.


   Re: Soultrain (Unregistered) - 2006-12-12
 » MAC OS X in the PS3

Yes I believe it would be possible once the MAC OS X supports the Cell PowerPC processor. Would be insane not to. But am going to get more information. My self I want it to make of the PS3 a music production computer. And on the music production MAC OS X rocks for sure...
   by asdf (Unregistered) - 2006-11-17
 » partitioning and coming back?

What is steps to come back if one need to repartiotion all space back to GameOS, and do it delete all from GameOS partition?

Is it that _GameOS itself_ is not in the hard drive, thus we cannot kill ps3 to dust. Its always possible to make a factory reset?



   Re: Pranav (Unregistered) - 2006-11-17
 » Safe

Yes, installing is completely safe. Even if your Linux partition gets messed up, you can boot the Game OS by keeping the power button pressed for a few seconds.

After that, you can simply format the Linux partition and start from scratch
   by death (Unregistered) - 2006-11-17
 » hehe

This is a really good idea, now you won't have to convert all the videos of the net to mp4's. You can just use a linux movie player.

   by death (Unregistered) - 2006-11-17
 » and..

Oh and you could also use blender ^_^

   by rojaro (Unregistered) - 2006-11-17
 » benchmarks please ^^

i'd love to see some benchmarks for this baby. also i would like to know if there is a accelerated opengl driver for nvidia chip available and working ...

   by dddddd (Unregistered) - 2006-11-17
 » lol

Now all we need is Windows XP installed. Then I will buy a PS3


   Re: foo (Unregistered) - 2006-11-18
 » windows does not support cell

Windows does not support the cell processor so you would need a kind of virtual pc which simulates a x86 processor and this would decrease the performance.
further more it would be much cooler to see mac osx on ps3 which should be possible
   by Advertising -
   by cornfield (Unregistered) - 2006-11-17
 » good stuff

does samba work? can it interface with a windows pc and linux program that plays media vis streamubg from windows server like samba

   by cornfield (Unregistered) - 2006-11-17
 » good stuff

does samba work? can it interface with a windows pc. any linux program that plays media via streaming from a windows server like samba

   by cornfield (Unregistered) - 2006-11-17
 » good stuff

does samba work? can it interface with a windows pc. any linux program that plays media via streaming from a windows server like xbmc

edits: sorry for tripple post no edit button.

   by Quinton (Unregistered) - 2006-11-17
 » various answers

Yes, 1GB free is installing onto a 10GB partition. The minimal install uses only 1GB but has no X, nor much of anything else (though you can hand-install the RPMs from the DVD or online it's a bit of a pain).

Currently, the only way I am aware of to boot into linux is to change the default OS (from the system settings menu) to "Other OS". You can get back by either holding the power button for 5 seconds at boot (this also resets your video settings) or by running /sbin/boot-game-os under linux. Both of these change the default system back to Game OS, so you need to change the default OS and reboot again to return to linux.

The USB stack driver seems to be a bit flaky. I've tried two different keyboards and they both have gotten stuck with a key repeating forever -- unplugging and replugging them fixes it, but it is annoying. There are new kernel patches for 2.6.19 -- I haven't checked to see if there were any usb changes.

I used FC5 because it was what the instructions were for and I wanted to keep it simple. In theory you should be able to use just about any linux distribution, but it's probably a bit of work to fiddle with kboot to make it play nice with other distros. I'm looking forward to ubuntu, but will wait until somebody with more free time than I gets around to sorting out the install process ^^

The OpenPlatform / Linux stuff does not provide any way to write software for or install software to the GameOS / XMB environment. The Hypervisor prevents Linux from accessing any part of the HDD except for its partition.

The display worked with my samsung DLP tv (at 720p) and it worked at WUXGA (1920x1200) with a Dell 2407 flatpanel. It did not work with a Dell 2405 flatpanel -- perhaps HDCP is required or the older 2405 just doesn't like the PS3.

With the minimal install for FC5, I could hand configure ethernet using "ifconfig" and friends. If you want dhcp to work you'll need to install the dhcpclient package (whereever it lives in your distro).

Did the FC6 install go smoothly? I stuck with 5 so as not to tempt fate (as the docs were for 5, iirc).

-Q




   by new (Unregistered) - 2006-11-17
 » questions

Honestly, I am not familiar with linux but I have 2 questions.

Would it be possible to transfer files from a PC to the PS3 wirelessly via something like FTP?

I know the ps3 displays games 1080p, but would it be able to process HDTV tv/movie files (not divx rips, stuff from alt.binaries.hdtv) without lag/sync problems?

Thanks in advance to anyone who can answer!

   by I got a (Unregistered) - 2006-11-18
 » Hey Hey

The guy with the Fedora installed.

Could you test if VLC works? That would be a god send, I can use my tv tuner to record shows and then stream over wifi or lan or take a hd over... and it would be great if you could test if the resolution can be pushed up to 1080p on linux with vlc....

that would be sweeetttt.


   Re: popper - 2006-11-20
 » jtvlan multicast streaming on ps3 perhaps ?

you should be thinking bigger ;)

how about testing a DVB-T stick and lan streaming to begin with.

i notice that theres a PPC java on the FD6 DVD at least so that makes it easy perhaps.

will someone with a USB DVB card that is usable with the linuxTV drivers go and try this:

theres a gentoo overlay for the more advanced btw
lu_zero works with many PPC apps/ditro's and optimises for AltiVec (it your friend use it) ;)
http://overlays.gentoo.org/dev/lu_zero/timeline

anyway back to the plot...

heres a copy of my post over on OSN
http://www.osnews.com/comment.php?news_id+16527+offset+0+threshold+-5

"you seem to miss the point, it will make a perfectly good (and this is key)Hi-Def media player and streamer for that matter.

want your choice of tunner, fine go out and get any USB tunner that works with the current DVB linuxTV,plug it in and run up the compiler and make the drivers, or fine someone that has already done it for you (anyone done this yet with a yuan tv2go ?
Bus 004 Device 004: ID 14aa:0220 AVerMedia (again) or C+E , a rebadge like this one http://linuxtv.org/wiki/index.php/User:Woodsb02 ).

im not sure if theres a working java that can run on ps3 yet, but if/when there is you can also add in
the java apps JTVLAN http://www.jtvlan.org/?PHPSESSID+d8a9f92dd331e41bfb986148eaa54945
and DVB Web Scheduler http://www.digtv.no-ip.com/webscheduler/ to give you a perfectly fine base for your DVB re-recording/streaming with VLC as the lan streaming/recoring engine etc.

thats just one option of many im sure given some small amount of time and a willingness to try....

if your interest is in playing VC-1 then
one interesting point with the ps3 as apposed the 360(although unless theres a way to got it on the 360 there and running its unusable i suppose),is that ffmpeg since version 0.4.7: had AltiVec optimizations (by Magnus Damn and others).
http://ffmpeg.mplayerhq.hu/changelog.html
VC-1/WMV3/WMV9 video decoder is in there too, wmv3 is also altivec optimized.

as for your ps2 comment wel your fully aware that that cant have linux or any other OS for that matter easly installed on it as the ps3 can and done so invalid from that point of view perhaps...."

so the basic point is install java etc,stick a DVB usb card in the ps3 and try it for vlc streaming live TV.

heres how to set it up to test
http://technonotice6.googlepages.com/streaming.html
   by ps3usr (Unregistered) - 2006-11-18
 » Operation video was taken

http://www.youtube.com/watch?v=RBFjnQx6lfE

   by Quinton (Unregistered) - 2006-11-18
 » Re: Hey Hey

I'm re-reinstalling at the moment. The full install was way too huge (only 1GB free after install on my 20GB ps3), so I tried the minimal install but it was so minimal that it was looking to take forever to get some useful set of packages. So I'm going back to a full install and then nuking a bunch of huge stuff (openoffice, etc) to get a bit more elbow room on the HDD.

I didn't find vlc or mplayer installed when I fiddled with it previously, but I'll take a harder look this time and/or see if there's a package available online or if it'll just build from sources. I'll drop a post here when I figure out what the deal is with video playback.

I can only really test up to 1280x720 at home. I'd have to drag the ps3 back in to the office to test it on a larger display.

I'm curious to see if the yellowdog stuff is nicer than fc5 (which isn't such a great distribution), but they're apparently not shipping until the 27th. With so little ram you really don't want to have much cruft going. I'd be tempted to say "go direct to /dev/fb0" or at worst run a very minimal windowmanager and skip all the gnome CORBA junk and whatnot.

It's a pity there's not a faster way to boot from the gameOS to linux. To get from linux to gameOS you just run "boot-game-os". To get from gameOS to linux you need to navigate into the system settings, change the default OS, power off, power on.

-Q

   by AO (Unregistered) - 2006-11-18
 » Linux

Quinton: I won't be getting a PS3 until at least March, but I hope they fix the 2405fpw not working as that's what i got.

I wonder if there's any type of benchmarks you could run on it to give some comparisons to other systems.

   by Da1on2 (Unregistered) - 2006-11-18
 » Linux

What if you use an external HDD, can you use all of it for linux then keep your internal HDD for your game OS

   by Quinton (Unregistered) - 2006-11-18
 » Re: Linux

I don't know if the FC5 installer that's out there supports this, but from what I've read in the docs and observed of how kboot works, this should be doable. kboot is a kernel and a ramdisk containing just enough userspace to either run a linux install or start linux booting. As far as I can tell you don't need to repartition to install kboot itself and the presence of an installed otherOS bootloader is what causes the XMB settings UI to offer to let you change the default OS.

Since the kboot environment even has networking active you could even netboot from a server elsewhere, I suspect. The kboot documentation mentions finding kernels via http, bootp, etc.

-Q

   by Grizeg (Unregistered) - 2006-11-18
 » Stuck

I have started my install, and I have become stuck. Now I am using Fendora Core 6, just because i started to download it before I found this site, I'm working on downloading Fendora Core 5. Also I have updated my PS3 to version 1.10.

I get this Error:

"mount: Mounting /dev/loop0 on /mnt/tmp/mnt/runtime failed: Invalid argument"
Fendora Core 6 installer runtime mount failed

   by bigman606 (Unregistered) - 2006-11-19
 » install add-on disc alone

My install which I kicked off overnight finished, but when I woke up to do the Add-on disc, the USB keyboard wasn't responsive. So I unplugged and plugged it back in, but after hitting return a few times, it caused the Add-on install prompt to exit. Is there a command to kick off the Add-on install so I don't have to go thru the Fedora 5 install from DVD again?



Featured Content