User User name Password  
   
Friday 19.9.2025 / 19:05
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > consoles > ps3 - modding & hacking > installing gentoo linux on a ps3
Show topics
 
Forums
Forums
Installing Gentoo Linux on a PS3
  Jump to:
 
Posted Message
Senior Member

1 product review
_
26. July 2007 @ 09:36 _ Link to this message    Send private message to this user   
OK, here's a n00b friendly guide on installing Gentoo Linux on a PS3.




WHY GENTOO?

Noticably faster than any other Linux OS.

Full control over the installation.

You can update it whenever you want, don't have to wait for the latest version of the distro like Fedora Core 5/6, Yellow Dog Linux 5

Huge community of people.

NOTE: Installation WILL take forever, I'm not kidding.

Ok, let's go on...

1. Do a quick format on your PS3, make sure you allot 10GB for OtherOS.

2. Download the Gentoo image here.

3. Burn the ISO to a CD-R.

4. Download the otheros.bld file here.

5. Connect a USB flash drive or Memory stick. On the root of it, create a PS3 folder, then a OTHEROS folder inside the PS3 folder. Within the OTHEROS folder, put the otheros.bld file in there. Then, connect your flash drive/Memory Stick to your PS3.

6. On your PS3, go to [Settings]>[System Settings]>[Install OtherOS]. Press X. Once the otheros.bld is detected, press X to install it. Then, do Settings>Default System>OtherOS.

7. Insert the Gentoo disc you just burned.

8. Do a full restart on your PS3, and you should see a screen with white writing on it. Press ENTER.

9. It should boot from CD.




10. Enjoy Gentoo! Make sure you install it. To get back to the XMB, restart, and type "boot-game-os", and hit Enter.

Plz comment!

Some Linux commands:

Partioning disks:

Quote:
livecd / # fdisk /dev/sda

The number of cylinders for this disk is set to 10239.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-10239, default 1): Press Enter
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-10239, default 10239): +10000M

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (8585-10239, default 8585): Press Enter
Using default value 8585
Last cylinder or +size or +sizeM or +sizeK (8585-10239, default 10239): Press Enter
Using default value 10239

Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 82
Changed system type of partition 2 to 82 (Linux swap / Solaris)

Command (m for help): p

Disk /dev/sda: 10.7 GB, 10737414144 bytes
64 heads, 32 sectors/track, 10239 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 8584 8790000 83 Linux
/dev/sda2 8585 10239 1694720 82 Linux swap / Solaris

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
livecd / # /sbin/reboot

Formatting root filesystem and swap + Enabling swap and mounting root


Quote:
Formatting root filesystem and swap + Enabling swap and mounting root

Installing base system, mounting procfs and /dev + Readying for chroot

Quote:
livecd / # cd /mnt/gentoo
livecd gentoo / # wget http://gentoo.osuosl.org/experimental/pp...s3_32ul.tar.bz2 (If already downloaded in advance, copy the file to /mnt/gentoo now)
livecd gentoo / # tar -xjpf stage4-970-ps3_32ul.tar.bz2
livecd gentoo / # mount -t proc none /mnt/gentoo/proc
livecd gentoo / # mount -o bind /dev /mnt/gentoo/dev
livecd gentoo / # cp /etc/resolv.conf /mnt/gentoo/etc

livecd / # cd /mnt/gentoo
livecd gentoo / # wget http://gentoo.osuosl.org/experimental/pp...s3_32ul.tar.bz2 (If already downloaded in advance, copy the file to /mnt/gentoo now)
livecd gentoo / # tar -xjpf stage4-970-ps3_32ul.tar.bz2
livecd gentoo / # mount -t proc none /mnt/gentoo/proc
livecd gentoo / # mount -o bind /dev /mnt/gentoo/dev
livecd gentoo / # cp /etc/resolv.conf /mnt/gentoo/etc

Final configuration steps:


Setting timezone:


(chroot) livecd / ls /usr/share/zoneinfo
(Suppose you want to use GMT)
(chroot) livecd / cp /usr/share/zoneinfo/GMT /etc/localtime
Configuring kboot:
(chroot) livecd / # e2label /dev/sda1 /
(chroot) livecd / # cd /etc
(chroot) livecd etc / # cp kboot.conf.example kboot.conf
(chroot) livecd etc / # nano -w kboot.conf
kboot.conf
# The following is an example kboot configuration file. Edit it
# to suit your needs before attempting to reboot your system or
# you may be unable to boot the new install.

# default: the default kernel label to boot should the user not make
# a selection. Uncomment the following line and set a default kernel label.
default=Gentoo

# timeout: number of seconds to wait for user input before the default
# kernel label is booted. Uncomment the following line and set timeout.
timeout=10

# The format from this point on is within a kernel label. At a minimum,
# you must pass the kernel and root device. The syntax is as follows:
#
# label='device: initrd=device: kernel_options'
#
# You should also pass the video options as well. An example of video
# options are as follows:
#
# 480i = ps3fb:mode:1
# 576i = ps3fb:mode:6
# 720p = ps3fb:mode:3
# 1080i = ps3fb:mode:4
# 1080p = ps3fb:mode:5
#
# You can review all possible video modes using the ps3videomode application
# provided by the ps3pfutils package. i.e. ps3videomode -v will display
# possibilities.

# The following is an example kernel label. Uncomment and edit as needed.
Gentoo='sda1:/boot/kernel-genkernel-ppc-2.6.16-ps3 initrd=sda1:/boot/initramfs-genkernel-ppc-2.6.16-ps3 root=/dev/ram0 real_root=/dev/sda1 init=/linuxrc video=ps3fb:mode:8 rhgb' (replace video=ps3fb:mode:
Now press Ctrl + X. Then Y to save and exit editor.




Any complaints? Plz leave them. I will work on anything bad.


This message has been edited since posting. Last time this message was edited on 26. July 2007 @ 14:16

QbobZ
Newbie
_
1. August 2007 @ 19:24 _ Link to this message    Send private message to this user   
hi , im currently installing this gentoo livecd version, but can only get up to the part where it requires me to download the 'stage4-970-ps3_32ul.tar.bz2' file. When i use my ps3 normally, i hav internet connection. but when i change to 'other O/S' & it reboots to KBOOT screen, connection dont work propely.

i hav dowloaded this file alredy(from my PC) and put it on a memorystick DUO. So instead of typing - 'wget http://gentoo.osuosl.org/experimental/ etc...' ,to start downloadin it now, how do i copy it from my memstick to '/mnt/gentoo'?

pls help me guys!!
Related links
Download PS3 trailers from AfterDawn's gaming site
 
Related forum topics Posts Last post Forum room
Pachter: Sony likely to cut PS3 prices next week 6 15. August 2017 News comments
PlayStation 4 can stream PS3 games, reports say 12 24. October 2016 News comments
Sony reveals free PS Plus games for Vita, PS3 and PS4 owners 1 7. June 2015 News comments
PlayStation Now subscriptions headed to PS3 next week 1 6. May 2015 News comments
PlayStation Music powered by Spotify now available on PS3, PS4, Xperia 1 31. March 2015 News comments
Buying 'Destiny' for PS3, Xbox 360? Bungie giving vouchers to upgrade to current gen for free 1 8. September 2014 News comments
PS3 not spinning discs / new laser no light 3 8. May 2014 PS3 - Everything else
ps3 fat, ylod fix, can does not work right- 2 7. May 2014 PS3 - Modding & Hacking
What is Cobra ODE for PS3? 1 7. May 2014 PS3 - Modding & Hacking
how to unban my dex ps3? 10 16. March 2014 PS3 - Modding & Hacking

 
afterdawn.com > forums > consoles > ps3 - modding & hacking > installing gentoo linux on a ps3
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork