View Single Post
  #1 (permalink)  
Old 03-11-2008, 10:32 PM
colddog   is offline
I'm Moving On Up ...
 
Join Date: Mar 2008
Posts: 7
Default REAL FEDORA 8 PS3 WITH BLUE-RAY mounted

Complete Guide To Install Fedora 8 on PS3 ***including Blu-ray MOUNT***
Ok this part is not from me but i've made some correction to fit all PS3 console:
you can find this thread on http://www.bohmer.net/ps3_stuff/inst...-8-on-PS3.html
This site is from the ORIGINAL Author of this tuto... i will put in GREEN what i've changed and CYAN is correction from first post but are changes from original tuto too.

Here we go!

Requisites:
A Sony PS3 (duh) Note: This procedure is based on Firmware 2.10, 60GB European PAL Version
Monitor/Flat screen-TV connected through HDMI.
USB keyboard/Mouse connected to the PS3.
A Fedora Compatible kboot (bootloader) go here and take ohteros.bld: (http://www.kernel.org/pub/linux/kernel/people/geoff/cell/CELL-Linux-CL_20080201-ADDON/PS3/otheros/)

Fedora 8 PPC DVD edition (http://fedoraproject.org/fr/get-fedora)
Internet connection to your PS3.
A wired Ethernet connection is required. Wifi is more complex to get operational.
Installation procedure: The installation procedure of Fedora 8 takes 3 steps:
Prepare the harddisk of the Sony PS3.
Installation of bootloader (otheros) in the Game-OS.
Installation of Fedora 8 in the 'Other OS'.


1. Prepare the PS3 harddisk

Originally the harddisk of the PS3 has one big partition for the Game-OS. If we want to run Linux on it, we need to create a separate partition for Linux. this chapter describes the steps to take:
WARNING: These steps will destroy ALL data that is currently installed on the harddisk and that is used by the Game-OS, such as downloaded games and personal game-save data. So, backup everything first on an external flashdisk/harddrive before continuing here!
(Note: this procedure has been copied from here, that site is also a great resource for PS3-Linux enthusiasts)
Turn on the PS3. After initializing, you can see GameOS menu. You select "Settings -> System Settings".
After selecting "Format Utility" from sub menu, following messages are displayed.
Format Memory Stick
Format SD Memory Card
Format CompactFlash
Format Hard Disk
To allocate a Linux partition on the Hard Disk, select "Format Hard Disk".
After following message is displayed. you select 'Yes'.
Do you want to format the hard disk?
You can see following message.
Select a partition setting for the hard disk.
* Use All for the PS3 System
* Custom
To allocate a Linux partition on the Hard Disk, select "Custom".
After selecting "Custom", following messages are displayed.
Select a partition setting for the hard disk.
Use All for the PS3 System
Allot 10GB to the Other OS
Allot 10GB to the PS3 System
To allocate a Linux partition on the Hard Disk, select one of following items.
Allot 10GB to the Other OS
Allot 10GB to the PS3 System
If your hard disk size is 20GB, you have to select 'Allot 10GB to the Other OS'. (Notice that a default Linux
install takes about 5GB, so if you do not plan to store lots of data on the Linux partition, 10 GB should be enough. Later the Linux partition can be extended by means of a USB drive, or connecting to a fileserver)
After selecting the item, following messages are displayed.
Select the hard disk format method.
Quick Format
Full Format
You can select either 'Full Format' or 'Quick Format'.
After following message is displayed. you select 'Yes'.
If you format, all data will be deleted.
This data cannot be restored.
Are you sure you want to continue?
After selecting 'Yes', format process is started.
After creating a Linux partition, following messages are displayed.
Format Complete.
Press the X button to restart the system.
After pressing the X button, restart the system software and you can see GameOS menu.

2. Installation of the Linux bootloader on the PS3.
To be able to install Linux on the PS3, we need to install a bootloader first. This bootloader can be anything that is capable of booting a Linux kernel, but we choose to use a Fedora compatible version of Kboot here. There are different versions of Kboot floating around, some are destined for other Linux flavors, and are incompatible with Fedora.
Kboot is in fact a very small Linux kernel and busybox userland that can be loaded from a RAM-drive. This Kboot bootloader will provide a simple boot-prompt after installation. Later, when everything is up and running the KBoot bootloader can be replaced by a Graphical bootloader like Petitboot
But first, for Fedora we need to have a command prompt, so we use Kboot.
Kboot Installation steps:
copy otheros.bld in a memory stick (ex. memory stick is drive D, you need to put it in D:\PS3\otheros folder.
Plug your memory stick to the PS3, go Settings\System Settings\Install Other Os and Start

Now you can start KBoot by adjusting the [Default System] setting under (Settings) -> (System Settings) on the PS3 system.
Notice that you can always boot the Game-OS by entering the command 'boot-game-os' at the kboot prompt, or by holding down the power-button during power-on.

3. Installation of Fedora 8
The installation of Fedora 8 has some small problems. The easiest way to install Linux on the PS3 is by using Yellow Dog Linux, but this distro is derived from Fedora Core 5, and is therefor rather old.
It also still contains the screen-blanking bug, so it will not run properly on the Firmware 2.10.
For Fedora 8 to install correctly we have to do several steps manually when the installation is completed from the installation Wizard. We also will compile a new kernel later on that is much smaller than the original Fedora kernel, which is good because memory is a sparse resource on a PS3.
The installation procedure:
1-Insert the Fedora DVD in the PS3
2-Switch on the PS3, and wait for the KBoot prompt.
3-At the kboot: prompt type 'linux64 text xdriver=fbdev'
4-The installation wizard is starting... you get these questions:
5-Media check -> Choose: 'Skip' or 'OK', as you wish.
6-Welcome to Fedora -> Choose OK
7-Language Selection -> Choose your Language (e.g. English)
8-Keyboard Selection -> Choose your keyboard layout (e.g. us)
9-Partitioning Type -> Select 'Create custom layout. (select ps3da, 44940MB)
10-Now, create 3 partitions of the following sizes:

Mount point:Filesystem Type:Size:
/bootext3196MB






swap512MB
/ext3'Fill all available space


(if 10gig partition, write 9525 as Size and check Fill all...option)

11-Review the layout, and proceed with OK
12-Question about low memory, and enable swap? Choose 'Yes'
13-Ethernet configuration:

Configure eth0 ? -> yes
Activate on boot -> yes
Enable IPv4 support -> e.g. yes
IPv4 configuration -> DHCP
Hostname configuration -> manually -> ps3
Time zone selection -> System clock uses UTC
Zone Selection -> e.g. Europe/Amsterdam
Root password ->"find something you want"
Package selection -> leave default, we customize later.
Installation to begin -> Press 'ok'
The actual installation will take about 65 minutes...
After installation you can reboot the system...
After reboot you should get this error message: see https://bugzilla.redhat.com/show_bug.cgi?id=389331

DEBUG BOOTING PROBLEM:
1-Put back the Installation CD in the PS3 and press CTRL-ALT-DEL to reboot.
2-At the Kboot prompt type: linux rescue
3-On these questions:
4-Language Selection -> Choose your Language (e.g. English)
5-Keyboard Selection -> Choose your keyboard layout (e.g. us)
6-Network Configuration -> not necessary.
7-Rescue screen -> Choose Continue...
8-On the command prompt, perform these actions:
chroot /mnt/sysimage/
nano /boot/etc/yaboot.conf
replace the last line by:
append="video=ps3fb:mode:138 rhgb quiet root=/dev/ps3da3"
CTRL-O
CTRL-X
nano /boot/yaboot/yaboot.conf
replace the last line by:
append="video=ps3fb:mode:138 rhgb quiet root=/dev/ps3da3"
CTRL-O
CTRL-X
Here is the important part, root=/dev/ps3da3 is maybe not the good partition name...so if it doesn't work, you have to try
root=/dev/ps3da1 or root=/dev/ps3da2. For me and friends it was the ps3da2 that got Linux to boot.And off course you need
to set the right video mode for your display. so change the video=ps3fb:mode:138* to a number that corespond your display.

9-Remove the Fedora Dvd
10-type Exit

if it don't reboot type exit again
So if it don't work (linux don't boot), you have to repeat the DEBUG BOOTING PROBLEM steps with ps3da1 and ps3da2 options

The videomode value to select depends on the type of screen you are using. See table below for more options:
YUV60Hz1:480i2:480p3:720p4:1080i5:1080p
YUV50Hz6:576i7:576p8:720p9:1080i 10:1080p
RGB60Hz33:480i34:480p35:720p36:1080i37:1080p
RGB50Hz38:576i39:576p40:720p41:1080i42:1080p
VESA





11:WXGA12:SXGA13:WUXGA
0:auto mode, full screen mode: + 128, dither ON mode : + 2048
(138 is thus: 1080p Full Screen PAL mode, 50Hz.)

After a while, we get a text installation menu, configure here what is needed.

1-login as 'root' with your preseted password
2-First update the system to the latest updates:
3-yum -y upgrade

This step will take a few hours to complete...

NOW HERE IT IS!!!!!!!!!!!!!!
TO MOUNT BLUE-RAY DRIVE!!!!!!!!!!!

after login as root, at command prompt type:
nano /etc/fstab
then add this line at the end:
/dev/scd0 /mnt/cdrom iso9660 noauto,user,rw 0 0
CTRL-O
CTRL-X
mkdir /mnt/cdrom

If you like to start in GUI mode instead of text mode, the following line in /etc/inittab file has to be modified:

nano /etc/inittab
at line: id:3:initdefault:
replace the 3 by a 5
CTRL-O
CTRL-X
After changing this line, do another reboot, and the firstboot procedure is automatically started.
OR
if you like to stay in text mode and use GUI mode as needed, just type startx after login

I've been trying 3 days non-stop and now here it is..fully working Fedora 8...
P.S: For sound card, just do a Sound Card Detection (in GUI mode, menu System\Administration)
Reply With Quote