PS3 Hacks

#1 Spot for PS3 Hacks

Home | PS3 News | PS3 Hacks | PS3 Downloads | PS3 Saves

Folding@home | PS3-Hacks Live Chat | PS3 Reviews | Contact Us



You are not logged in.

#1  2007-03-02 06:44:53

Siptang
Guess who's back.
Registered: 2007-01-29
Posts: 5003

Gentoo Install Guide.

A short guide how to install Gentoo Linux on the Playstation 3

These are compilations of several  Guides in 1.
Worked for a Linux Noob like Myself so I hope it will work for you too.

Prerequisites
Hardware
•Playstation 3 – Don’t need internet for the installation.
•screen
•USB keyboard
•USB mouse
•computer with internet connection for downloading the software to memory stick
•CD writer and a blank CD
•USB memory stick (at least 1.5 GB)

Playstation 3 specific software
•otheros.self: The “other OS" installer from Sony
•PS3 “Addon Packages CD”: A collection of items needed for a linux install, including some good doc’s (source included) ftp://ftp.uk.linux.org/pub/linux/Sony-P … -ADDON.iso
Gentoo software
•Gentoo PPC64 Playstation 3 Stage 4 tarball
•Gentoo portage snapshot (see http://www.gentoo.org/main/en/mirrors.xml for a mirror) gentoo/snapshots/portage-latest.tar.bz2


Installation
•burn CELL-Linux-CL_20061208-ADDON.iso to the blank CD
•partionize and format the harddisk: “Settings → System Settings Format Utility Hard Disk”. You’ll need at least 10 GB for “other OS" •on the memory stick, make a directory called PS3, and in that directory another
directory called otheros. Copy otheros.self and kboot/otheros.bld from the CD to
the otheros directory. Copy both Gentoo files to the memory stick and ps3-mtb-
gnome-01.tar.bz2. Unpack the files, so you’ll have these files and directories
on the memory stick:

USB Flahdrive file structure.

PS3/otheros/otheros.self
PS3/otheros/otheros.bld
(root of the drive) stage4-ppc64-ps3_32ul.tar.bz2
(root of the drive) portage-latest.tar.bz2


Installing the bootloader (kboot)
The process of installing the bootloader is pretty simple, and is done though the PS3's menu's. Insert the USB stick containing the bootloader into the PS3. Go to the System settings menu, and then find the sub menu called "Install Other OS" and follow the instructions. If there is an error, check the folder structure on the stick.
If there are no errors, congratulations, you are now ready to boot your PS3 with kboot!
Kboot first steps
To boot up with kboot, first go to the System settings menu of the GameOS, and then choose the sub menu "Default System" - choose  "Other OS".Now when your PS3 boot's it will use kboot instead of the GameOS -to return to booting the GameOS if you quit the Gentoo install before finishing, type the command "boot-game-os" in kboot to change the boot settings.
Now shutdown your PS3, plug in the USB keyboard, usb flash drive and restart.
If you have done above correctly, after the kboot boot process, you should have access to a command prompt. Kboot is a simple bootloader, and includes a rescue mode with BusyBox, meaning we have access to nearly all the commands we are used to during a normal Gentoo install. To get away from the Kboot prompt, and to see our old friend BusyBox's welcome, just type sh.

After the kboot boot process, you should have access to a command prompt. Partition your Linux disk with fdisk. Do this for two partions: one partition for Linux and 512 MB swap. You can choose different layouts, if you want. For the 2 partitions enter these commands. After every line press “enter”. Comments are in parantheses.

fdisk /dev/sda
n (new partition)
p (primary)
1 (first partition number)
1 (first cylinder)
512 (last cylinder)
t (change the type)
82 (Linux swap)
n (new partition)
p (primary)
2 (second partition number)
(press enter twice for the first and last cylinder to allocate the rest of the harddisk for this partition)
a (toggle bootable flag)
2 (second partition)
w (write changes to disk)
After partioning, reboot the PS3, this will add the sda1 and sda2 partitions to /dev:
reboot
Mount the memory stick and start the first installer. This will format /dev/sda2 and prepares the rest of the installation. It needs about 30 minutes.
mount /dev/__?_ /mnt/tmp
( for here use your thumb drive’s drive letters. For example mine was sde1)
mkfs.ext3 /dev/sda2

mount /dev/sda2 /mnt/gentoo

Copy the files from USB drive

cp /mnt/tmp/stage4-ppc64-ps3_32ul.tar.bz2 /mnt/gentoo
cp /mnt/tmp/portage-latest.tar.bz2 /mnt/gentoo
cd /mnt/gentoo


tar xvjpf /mnt/gentoo/stage4-ppc64-ps3_32ul.tar.bz2


tar xvjpf /mnt/gentoo/portage-latest.tar.bz2 -C /mnt/gentoo/usr

cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

mount -t proc none /mnt/gentoo/proc


Finally you’ll see the “kboot:” prompt again. Now chroot to the installation and start the second installer. Depending on your internet network speed this will need about another 30 minutes.
chroot /mnt/gentoo /bin/bash
cd /

env-update
source /etc/profile
emerge --sync
e2label /dev/sda2 /
mkswap /dev/sda1
swapon /dev/sda1
passwd

At the end it will ask you for “New UNIX password”. This will be your root password. After entering your password, restart your system.
exit
reboot

When the PS3 has rebooted to kboot, wait 10 seconds and then Gentoo starts booting. Now you can login with “root” and your password and enter “startx”. Your mouse should work and in Applications are some programs to start.
Now you can start exploring the ADD-ONCD you’ve burned. There are some samples in “src” and documentation in “doc”.
If you are using Windows as your development platform, you may want to install Samba.

USE="-gtk -X" emerge samba
cd /etc
cd samba
wget http://www.luaplayer/ps3/smb.conf -O smb.conf
smbpasswd -a root
/etc/init.d/samba start
rc-update add samba default
This installs samba, downloads a configuration file and installs it as a service. From Windows you can connect a network drive. Login with your root account (for security reasons you may want to create a normal user on the PS3 and login with this account). Enter “ifconfig eth0” to see which address your Playstation 3 has and use this for connecting to it, e.g. “\\192.168.1.123\root”.
.

If you are tired of playing with Linux, you can type “boot-game-os” at the “kboot:” prompt before it starts booting Gentoo to boot the Playstation 3 Game OS. In the settings menu you can change it to Linux again.

Congrats, you are running the latest version of Gentoo.

About Videos, I’ll post in another post.
It’s late and I’m tired. Goodnight all .

Many source of the guide came from ps3news.
Me and My friend looked through all the coding to make sure all the typos were fixed.
(I think… I hope I didn’t make any while typing this thing up…)
Well correct me if I’m wrong guys and have fun!

Last edited by siptang (2007-03-03 17:05:11)

Offline

 

#2  2007-03-02 07:32:14

eddie420man
Hok'taur
Registered: 2006-12-19
Posts: 526

Re: Gentoo Install Guide.

thanks man, im gonna try this out


http://img83.imageshack.us/img83/5423/eddie420manou8ha9.gif
Games: Resistance, F.E.A.R, Uncharted, Rainbow Six Vegas, Rainbow Six Vegas 2, Unreal Tournament III, Call Of Duty 4, Grand Theft Auto IV, Warhawk, NHL 2007, Oblivion, Tekken, Assassins Creed, GRID

Offline

 

#3  2007-03-02 10:46:34

NEMESIS0744
Right Hand Man
From: The East Side
Registered: 2006-12-30
Posts: 3151

Re: Gentoo Install Guide.

Cool, I'll try it when I get home from school.


http://fp.profiles.us.playstation.com/playstation/psn/pid/NEMESIS0744.png
PSN ID: NEMESIS0744 E-Mail: The_Big_Easy@live.com
AIM: NEMESIS0744 MSN: The_Big_Easy@live.com Yahoo: Diablo0744

Offline

 

#4  2007-03-03 13:40:50

Siptang
Guess who's back.
Registered: 2007-01-29
Posts: 5003

Re: Gentoo Install Guide.

how did it go?
I tried to simplify it as much as possible

Offline

 

#5  2007-03-03 14:28:04

Pet Wolf
PS3 Hacks JEET KUNE DO!
From: delaware, USA
Registered: 2007-02-24
Posts: 280

Re: Gentoo Install Guide.

for me it did not work... i think you skipped editting the fstab and kboot.conf files for it to bout properly


I may be drunk but are ugly and I shal be sober in the morning - Churchill
Ps3 1.32 - Resistance: FoM            Xbox 360 - Rainbow Six: Vedas
PSP 3.10OE' - every game released in the us (TY Dark Alex)
Xbox modded, both Ps2s, Sega genesis, snes, n64

Offline

 

#6  2007-03-03 14:29:47

Pet Wolf
PS3 Hacks JEET KUNE DO!
From: delaware, USA
Registered: 2007-02-24
Posts: 280

Re: Gentoo Install Guide.

also at the top you say we need the ps3-gnome01.tar.bz but in the instructions you list the stage4 tarball
  i Tried both just to be safe (then installed YDL just to get somethine working to mess around with lol)


I may be drunk but are ugly and I shal be sober in the morning - Churchill
Ps3 1.32 - Resistance: FoM            Xbox 360 - Rainbow Six: Vedas
PSP 3.10OE' - every game released in the us (TY Dark Alex)
Xbox modded, both Ps2s, Sega genesis, snes, n64

Offline

 

#7  2007-03-03 17:14:21

Siptang
Guess who's back.
Registered: 2007-01-29
Posts: 5003

Re: Gentoo Install Guide.

sorry about that!
i thought i fixed it.
Well i edited...

try again.
Sorry for that friend.
It was late at night and i was tired as hell XP

Offline

 

#8  2007-03-03 17:33:57

Pet Wolf
PS3 Hacks JEET KUNE DO!
From: delaware, USA
Registered: 2007-02-24
Posts: 280

Re: Gentoo Install Guide.

Yeah I did the stage 4 tarball and did all the things you said. And it did not boot


I believe you need to add
'
nano /etc/kboot.conf

And have it read something like

Default=gentoo
Timeout=10
Gentoo='sda2...... someything where it specifies where the kernel is and proc is and sets the videomode'


You should also need to edit fstab

nano /etc/fstab

And have the entries for sda1 and sda2 for the swap and / root



For everyone else I found this information on plenty of other websites but I am at work and limited in time and resources.......   


The first instal I did was similar and after I did all that it booted well I jus could not get any DE to install or anything else without six hours of compiling.


I may be drunk but are ugly and I shal be sober in the morning - Churchill
Ps3 1.32 - Resistance: FoM            Xbox 360 - Rainbow Six: Vedas
PSP 3.10OE' - every game released in the us (TY Dark Alex)
Xbox modded, both Ps2s, Sega genesis, snes, n64

Offline

 

#9  2007-03-03 18:00:12

Siptang
Guess who's back.
Registered: 2007-01-29
Posts: 5003

Re: Gentoo Install Guide.

yea i got this from 3,4 different guides.
I got it to work compiling them together, fixing all the typos and fixing all the directory mistakes.

Looks like I transffered some of their errors also when i retyped it here.
Sorry for that guys, it was really late at night and I was really tired, but I thought some people were waiting for this tut so I hurried. Sorry once again for the inconvinience.

gotta read more throughly to find more bugs i guess.

Default=gentoo
Timeout=10
Gentoo='sda2...... someything where it specifies where the kernel is and proc is and sets the videomode'

I don't think this is necessary though.

I'll look into the kboot.conf also once I get home.

Offline

 

#10  2007-03-03 18:07:38

crisis
PS3 Just Gettin' Started
Registered: 2007-03-03
Posts: 13

Re: Gentoo Install Guide.

hey is there any way, you can do this w/out the memory stick?


http://i42.photobucket.com/albums/e311/cmac2010/ps3hacks.jpg

Offline

 

#11  2007-03-03 18:08:36

Pet Wolf
PS3 Hacks JEET KUNE DO!
From: delaware, USA
Registered: 2007-02-24
Posts: 280

Re: Gentoo Install Guide.

Well I did that in a variation when I got it to install correctly before   it was something like

cp /etc/kboot.example.conf /etc/kboot.conf


And then nano


When I followed these it did not boot for me so maybe you do or I missed a step


I really wish someone would come out with a gentoo tarball that had that kde?vlc with everything needed, and samba and opera.....

I wonder if all you need to do is just get all that installed and up to date and then tar your whole drive.... then people could just use that instead of stage4 tarball and everything would work and be awesome


I may be drunk but are ugly and I shal be sober in the morning - Churchill
Ps3 1.32 - Resistance: FoM            Xbox 360 - Rainbow Six: Vedas
PSP 3.10OE' - every game released in the us (TY Dark Alex)
Xbox modded, both Ps2s, Sega genesis, snes, n64

Offline

 

#12  2007-03-03 18:11:33

Pet Wolf
PS3 Hacks JEET KUNE DO!
From: delaware, USA
Registered: 2007-02-24
Posts: 280

Re: Gentoo Install Guide.

Anything usb I believe   I used my ipod......   not sure about cd though    can always try to burn the ps3/otheros  files to a cd with that directory system to a cd.......  might even be able to mount the cd with the tarballs on it as well during install


I think it is
mount /dev/sr0 /mnt/tmp


I think though not sure have not tried


I may be drunk but are ugly and I shal be sober in the morning - Churchill
Ps3 1.32 - Resistance: FoM            Xbox 360 - Rainbow Six: Vedas
PSP 3.10OE' - every game released in the us (TY Dark Alex)
Xbox modded, both Ps2s, Sega genesis, snes, n64

Offline

 

#13  2007-03-03 18:24:22

crisis
PS3 Just Gettin' Started
Registered: 2007-03-03
Posts: 13

Re: Gentoo Install Guide.

but a ipod will work? i have a 4g nano with linux installed on it... it should work huh?


http://i42.photobucket.com/albums/e311/cmac2010/ps3hacks.jpg

Offline

 

#14  2007-03-03 18:25:26

Pet Wolf
PS3 Hacks JEET KUNE DO!
From: delaware, USA
Registered: 2007-02-24
Posts: 280

Re: Gentoo Install Guide.

So I think the tarball idea would work.... so if anyone has gentoo updated and working with say vlc and DE or WM and opera or something like it and it is a clean install just tarball your whole drive and post it lol


I may be drunk but are ugly and I shal be sober in the morning - Churchill
Ps3 1.32 - Resistance: FoM            Xbox 360 - Rainbow Six: Vedas
PSP 3.10OE' - every game released in the us (TY Dark Alex)
Xbox modded, both Ps2s, Sega genesis, snes, n64

Offline

 

#15  2007-03-03 18:31:36

Pet Wolf
PS3 Hacks JEET KUNE DO!
From: delaware, USA
Registered: 2007-02-24
Posts: 280

Re: Gentoo Install Guide.

Um linux?   That is off topic but what do you mean..... I believe that if you can use it to play music off of it through the ps3 and it acts like a hard drive then yeah just do it that way

My ipod is just normal one formatted for windows and acts like an external hd for me so it worked fine    you should be able to tell as soon as you install the other os.  If it cannot find it... do something different lol



And for my ipod it was /dev/dd2 I believe to mount it


I may be drunk but are ugly and I shal be sober in the morning - Churchill
Ps3 1.32 - Resistance: FoM            Xbox 360 - Rainbow Six: Vedas
PSP 3.10OE' - every game released in the us (TY Dark Alex)
Xbox modded, both Ps2s, Sega genesis, snes, n64

Offline

 

#16  2007-03-03 20:51:35

laurence
Dr. Daniel Jackson
From: England
Registered: 2006-12-17
Posts: 1243

Re: Gentoo Install Guide.

Thanks siptang i try as soon as possible smile

Offline

 

#17  2007-03-03 21:17:51

Siptang
Guess who's back.
Registered: 2007-01-29
Posts: 5003

Re: Gentoo Install Guide.

i do wish that gentoo will someday have a gui like ydl.
then we don't have to go through all this non-sense.

I am going to try to do a full format once I go home and then fresh install.
Hmmm ipod hey? I personally didn't try ipod so i can't tell you but it should work.

oh and you can just use cd to do the installation.
I will find out how and will post it.

Offline

 

#18  2007-03-16 07:57:12

Krack3n
PS3 Newbie
Registered: 2007-02-09
Posts: 2

Re: Gentoo Install Guide.

Very nice tuto. Wish I would of had this the first time I installed but where would the fun be!
smile

Offline

 

#19  2007-03-16 17:47:41

Siptang
Guess who's back.
Registered: 2007-01-29
Posts: 5003

Re: Gentoo Install Guide.

ahhh ~ gentoo is not fun at all :p

Offline

 

#20  2007-03-19 22:54:10

baggy
PS3 Hacks SHOTOKAN
From: Ft. Worth, Texas
Registered: 2007-02-05
Posts: 158
Website

Re: Gentoo Install Guide.

i've gotten it to work up to the part where i have to mount my memory stick.
i put in "mount /dev/sdb1 /mnt/tmp" and it gives me:
"Mounting /dev/sdb1 on /mnt/tmp failed: No such file or directory"

is there any way to make/mnt/tmp?

EDIT: i got it to work. i figured out that sdb1 is the cd drive.
for future reference
sda - harddrive
sdb - cd/dvd/bd drive
sdc - memory stick pro
sdd - sd/minisd
sde - compact flash

not 100% sure, but pretty sure.

but now i have a new problem. i get to the part where i put in "cd /mnt/gentoo" and it says "/mnt/gentoo/: not found"

Last edited by baggy (2007-03-19 23:57:30)


60GB U.S. PS3, with Resistance, Full Auto 2, and Oblivion
next game- F.E.A.R.

Offline

 

#21  2007-03-20 03:20:37

Siptang
Guess who's back.
Registered: 2007-01-29
Posts: 5003

Re: Gentoo Install Guide.

for me, my usb flash was sde1. Not comp. flash.

and I also ran into the problem before.

I actually printed this tut and went step by step, highlighting the items along the way.
Fixing all the typos that were there. Once I find the paper I will edit again.
Sorry... just have been too lazy to do anything.

Offline

 

#22  2007-03-20 03:30:46

Siptang
Guess who's back.
Registered: 2007-01-29
Posts: 5003

Re: Gentoo Install Guide.

For people with internet hooked up to ps3. (wire access)

http://ps3wiki.qj.net/index.php/Gentoo_Howto

This is much more accurate.
It worked on my friend's ps3 on first try.

Offline

 

#23  2007-03-21 02:40:20

baggy
PS3 Hacks SHOTOKAN
From: Ft. Worth, Texas
Registered: 2007-02-05
Posts: 158
Website

Re: Gentoo Install Guide.

yeah, i just finished that guide. it worked nicely, but i don't like fluxbox. i'm gonna try to get kde on it.


60GB U.S. PS3, with Resistance, Full Auto 2, and Oblivion
next game- F.E.A.R.

Offline

 

#24  2007-03-21 03:02:58

Siptang
Guess who's back.
Registered: 2007-01-29
Posts: 5003

Re: Gentoo Install Guide.

nice

Offline

 

#25  2007-05-18 08:49:03

abacilar
PS3 Newbie
Registered: 2007-05-18
Posts: 1

Re: Gentoo Install Guide.

hi!
i almost  installed gentoo on ps3 but had some problems with the file below i really dont know what to to do with it i just need some more detailed information
"ps3-mtb-gnome-01.tar.bz2."

i also have problems with the startx i have already  installed but i cant work the desktop
please help me!!

Offline

 
Home | PS3 News | PS3 Hacks | PS3 Downloads | PS3 Saves

Folding@home | PS3-Hacks Live Chat | PS3 Reviews | Contact Us


Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB