Note: The original version of this GeoHot PS3 Exploit Ubuntu Linux Guide is located here!
This is actually quite simple, bit of instruction (read through it), but the actual commands are very few, most of the text is for background detail.
For starters, download this CD ISO image: http://cdimage.ubuntu.com/ports/releases/8.10/release/ubuntu-8.10-alternate-powerpc+ps3.iso
Burn it to a disk, stick it in your PS3, make sure to format the drive (10gb for OtherOS - fine), then hit Install Other OS. It will detect the bootloader (.BLD), install it, and then tell you to set the default system to OtherOS - do so (keep the disc in)
On reboot, just hit enter at the kboot: prompt, which will start the install procedure - its very straight forward, just use the default settings.
Once installed (my install took about 2 hours, and appeared to freeze multiple times - don't worry, it didn't!), and rebooted.
I ran into an issue (it started yelling about missing rootfs), the BLD was "bad", so being lazy, I just rebooted to PS3 mode, and installed Petiboot as the OtherOS (it's only the bootloader).
That detected the Ubuntu install, which then booted right up. Then proceed to login , and then start up a terminal.
Issue this command:
sudo apt-get install kernel-headers
It will prompt you for your current user password, enter it - then should proceed to install the kernel-headers.
You may get an error as such:
If so, they may already be installed - continue on to the next step.
Upon completion, issue this command:
You should see:
If so - thats a good sign! Now issue these commands:
sudo mv linux-ports-headers-2.6.25-2/ linux-headers-2.6.25-2/
Those commands change to the proper directory, and move the linux headers to the expected path (or it will fail).
Now its time to get the exploit.
The easiest way - assuming your PS3 is connected up to the internet, issue these commands:
Don't worry about the warnings, as long as there are no errors you will be fine.
That should create a "exploit.ko" in said directory (you can check by issuing a ls in said dir)
Then simply, issue these commands:
chmod +x run.sh
The first line makes the script executable, and the next will then run said script. It will ask you for your password, and start up the exploit. Then simply get your timing down, and the exploit should get triggered!
Or, for the lazy- no need to compile! Just download the attached pre-compiled kernel module, in a zip, extract the two files:
Then simply (on the PS3 of course):
However, to actually get any use of the exploit, you are going to have to of course compile your own code, by either editing the exploit, or adding in your own code - so it's probably best to have a working development environment!
chmod +x run.sh