个人工具

UbuntuHelp:PlayStation 3/zh

来自Ubuntu中文

Kennek讨论 | 贡献2007年5月18日 (五) 15:48的版本

跳转至: 导航, 搜索


介绍

The Play``Station 3 is a video game console created by Sony Corp. Aside from playing games, it also offers an option to install other operating systems such as Linux. This page gives instructions on how to install Ubuntu, Kubuntu, Xubuntu, and Edubuntu onto a Play``Station 3. The instructions contained in this page will work if you have the Play``Station 3 firmware version 1.60 or greater installed.

下载发行版

推荐使用普通分辨率电视的用户使用alternate版的安装CD来安装Ubuntu,因为使用desktop版安装程序,这些用户就必须在很低的分辨率上显示的安装向导来进行安装。

以下的链接是Live-CD镜像的下载地址,下载你需要安装在PS3上的Ubuntu发行版。

   * Ubuntu: 

http://cdimage.ubuntu.com/ports/releases/feisty/release/ubuntu-7.04-desktop-powerpc+ps3.iso

   * Kubuntu: 

http://cdimage.ubuntu.com/kubuntu/ports/releases/feisty/release/kubuntu-7.04-desktop-powerpc+ps3.iso

   * Xubuntu: 

http://cdimage.ubuntu.com/xubuntu/ports/releases/feisty/release/xubuntu-7.04-desktop-powerpc+ps3.iso

   * Edubuntu: 

http://cdimage.ubuntu.com/edubuntu/ports/releases/feisty/release/edubuntu-7.04-desktop-powerpc+ps3.iso

下载CD镜像后,把镜像刻录到一张CD上。

注意:desktop版的安装程序存在一个问题,你必须在安装的过程中手动设置分区,否则安装过程中系统会发生锁死。当手动设置分区的时候,选择10GB的空间作为主分区,剩下的空间作为交换分区(文件系统类型是SWAP)。

准备PS3

警告:以下的操作将会删除PS3上所有的用户数据。在格式化了PS3的硬盘之前,必须确保你要恢复的数据已经备份好(例如你的游戏存档数据,配置数据)。

  1. 在XMB界面上,进入[Setting] > [System Settings] > [Format Utility] > [Format Hard Disk]。
  1. 接下来的提示框,选择"Yes"。
  1. 接着选"Custom"来设置自定义的分区设定。
  1. 接下来的提示框中,选择"Allot 10GB to the Other OS"来分配10GB的硬盘空间给其他OS。(注意:你可以选择"Allot 10GB to the PS3",不过这是不必要的,因为10GB已经足够去运行Ubuntu了)。
  1. 在下一个提示中,选择"Quick Format(快速格式化)"。(选择"Full Format(完全格式化)"会比"Quick Format(快速格式化)"花费更多的时间。)
  1. 你在前一个步骤中设置了分区后,PS3会对整个硬盘进行格式化并且创建两个分区,一个是XMB使用的,而另一个是其他OS使用的。当格式化完成后,PS3会提示你重启系统。按控制器上的"X"按钮来重启系统。

安装kboot和引导到LiveCD

插入刻录有Ubuntu、Kubuntu、Xubunu或者Edubuntu镜像的CD到PS3中。

  1. 在XMB界面中,进入[Settings]>[System Settings]>[Install Other OS]
  1. PS3会检测到CD上的"otheros.bld"文件,按控制器上的"X"按钮去选择提示框中高亮显示的"OK"。选择后,kboot引导程序安装完成。
  1. 在XMB界面中,进入[Settings] > [System Settings] > [Default System]
  1. 选择"Other OS"作为默认选项。
  1. 跟着显示的提示框,会询问你是否马上引导到其他的OS,选择"Yes"。
  1. PS3会重启并引导到一个命令行提示符,如下面显示的:
kboot:
  1. 在提示符中敲回车,就会进入Ubuntu、Kubuntu、Xubuntu或者Edubuntu的Live会话模式(这取决于你刻录了那种Ubuntu的发行版到CD中)。

到了这一步,你就可以在PS3使用一个运行在CD上完整的Ubuntu、Kubuntu、Xubuntu或者Edubuntu的桌面会话。在这里,你可以选择把系统安装到硬盘中,只需要双击桌面上的"Install"图标,一个安装向导就会引导你完成安装的过程。

引导到XMB界面

要引导到XMB界面,你必须要到kboot的提示符,输入"boot-game-os"。

kboot: boot-game-os

以上的命令不起作用的话还有一钟方法,你可以先关闭PS3,然后按着PS3的电源开关直到PS3发出两次响声,PS3会引导到XMB界面并且提示你选择默认的视频设置。

Alternate安装光碟

Ubuntu、Kubuntu、Xubunu或者Edubuntu有alternate(非Live)版的安装CD,可以从下面的链接下载这些CD镜像。

   * Ubuntu: 

http://cdimage.ubuntu.com/ports/releases/feisty/release/ubuntu-7.04-alternate-powerpc+ps3.iso

   * Kubuntu: 

http://cdimage.ubuntu.com/kubuntu/ports/releases/feisty/release/kubuntu-7.04-alternate-powerpc+ps3.iso

   * Xubuntu: 

http://cdimage.ubuntu.com/xubuntu/ports/releases/feisty/release/xubuntu-7.04-alternate-powerpc+ps3.iso

注意:这里有一个程序错误,会导致引导到initramfs提示符而不是Ubuntu。在安装Ubuntu后,在kboot的提示符输入:

/boot/vmlinux initrd=/boot/initrd.img root=/dev/sda1

这样就能够引导进入Ubuntu了,有一个快速修复这个错误的方法,使得你不需要每次启动都要输入上面的命令来进入Ubuntu。方法是打开一个终端,输入以下的命令:

sudo sed -e 's/sdd1/sda1/' -i /etc/kboot.conf

以下是系统的/etc/kboot.conf文件中应该包含的内容:

message=/etc/kboot.msg
default=linux
timeout=100
linux='/boot/vmlinux initrd=/boot/initrd.img root=/dev/sda1 quiet splash'
old='/boot/vmlinux.old initrd=/boot/initrd.img.old root=/dev/sda1 quiet splash'

播放蓝光电影

在Linux下,应该可以像播放HD DVD类似的方法来播放蓝光电影(它们都使用相同的失效的DRM限制)。可以参考Blu-Ray and HD DVD。

已知的程序错误

目前Ubuntu、Kubuntu、Xubuntu和Edubuntu Feisty Fawn还处以beta阶段(现在已经有正式版),所以会有很多问题。这里有一个会影响在PS3运行已知的程序错误的列表。

   * Bug 102044: Kernel floods log and console with error messages from the card readers.
   * Bug 106683: 除非你手动配置系统的分区,否则安装会引起系统锁死。
   * Bug 106694: 使用alternateCD安装后,一定要在kboot的提示符输入/boot/vmlinux initrd=/boot/initrd.img root=/dev/sda1才能引导系统。

如果你发现其他关于在PS3上运行Ubuntu、Kubuntu、Xubuntu或者Edubuntu的错误和问题,请向他们 https://bugs.launchpad.net/ubuntu/+filebug 报告。

参考

   * http://www.playstation.com/ps3-openplatform/index.html - Open Platform for PLAYSTATION 3
   * http://manuals.playstation.net/document/en/ps3/current/index.html - PLAYSTATION 3 System Software User's Guide 

链接

   * http://psubuntu.com PSUbuntu.com 

Discussion