Booting Linux and Installation

Copyright © 2006 Sony Computer Entertainment Inc.
Copyright © 2006 Sony Corp.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

DISCLAIMER

THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

This document  illustrates overview of  PS3 Linux boot process and how to install boot loader.

Create Linux Disk Partition

First of all, user needs to initialize built-in HDD. With conventional PC this could be done as part of Linux installation, however with PS3, user need to decide what amount of HDD assign to Linux. Fig. 1 shows it’s concept.

Disk Partition
Fig . 1 Disk Partitions

Install Boot Loader

As conventional PC, we need to install a boot loader into PS3 to boot Linux. On the other hand, we need a special program to install a boot loader on special reserved area in PS3 system flash rom. The installer is called as “OtherOS Installer”.

Due to requirements of boot loader on PS3, such as capability of using USB human interface devices, “kboot’ has been utilized as a boot loader for Linux on PS3.

In other words, before staring Linux installation, you need to get “OtherOS Installer” from SCEI web site and customized “kboot” from Linux distributor, respectively. Then you install “kboot” to PS3, using “OtherOS Installer”. Please refer manual of “OtherOS Installer” and installation manual of Linux distribution, for details.

The customized “kboot” which you installed, may contain corresponding proper installation program for Linux distribution, you choose.

Fig 2. shows overview of “OtherOS Installer” and Kboot.

Boot Loader & Installer
Fig 2. Boot Loader And It's Installer


Please find out details of “OtherOS” Flash area in Fig 3. And refer http://www.playstation.com/ps3-openplatform/  also, for up to date  information.

Other OS Flash Area
Fig. 3 Other OS Flash Area Details

Switch System to Boot

Once you installed “kboot” into PS3. You can switch the environment to be booted with boot selection menu from GameOS. On the other hand, from Linux environment, you also can switch the environment, using "boot-game-os" command.

Change Default Boot System
Fig. 4 Change Default Boot System

Fig 5 shows details of  the algorithm decides which environment to boot.

Boot Flow Chart with Kboot
Fig 5. Boot Flow Chart with Kboot

---