Advertisement
Guest User

Untitled

a guest
Jun 9th, 2011
2,087
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.83 KB | None | 0 0
  1. Install OtherOS on HDD (for all PS3 models)
  2.  
  3. All tools are located here: http://7track.org/~glevand/public
  4. Users who installed OtherOS on VFLASH region 7 previously should read below
  5.  
  6. You will need the following...
  7.  
  8. Usb Keyboard or Telnet/SSH access
  9. CFWXXX-OtherOS++ (CFW 3.41, 3.55, 3.55 22GB)
  10. setup_flash_for_otheros.pkg
  11. install_otheros.pkg
  12. boot_otheros.pkg - sets boot flag to boot otheros
  13. create_hdd_region.sh - a script to create the hdd regions
  14. dtbImage.ps3.bin.minimal (NAND) - rename to dtbImage.ps3.bin
  15. dtbImage.ps3.bin (VFLASH)
  16. reboot.pkg - reboots the ps3
  17. optional - boot_gameos.pkg - sets boot flag to boot gameos
  18. optional - enable_wlan_on_fat (Fat PS3 Only)
  19.  
  20.  
  21.  
  22. NOTICE: All the tools should beep everytime they are ran. If you don't get beeps during one of the steps below then stop doing anything make sure your doing everything correctly and then contact me via IRC at OtherOS++ support: irc.gitbrew.org (ssl) #otheros using your IRC client or using this link
  23.  
  24. ALL PS3 MODELS ARE SUPPORTED!!!
  25.  
  26. 1. Install the latest CFW 3.55-OtherOS++ (If you already on 3.55 you should install 3.55 OFW first via recovery and then install the above CFW via recovery)
  27. 2. When installation is finished, go to recovery menu and choose "Restore PS3 System" This will format your HDD
  28. 3. Install all PKG files that you downloaded above
  29. 4. Now your GameOS should use only the half of your HDD unless you downloaded the 22gb firmware file (Currently working on a better approach)
  30. 5. Run setup_flash_for_otheros.pkg (for all PS3 models)
  31. 6. Reboot the PS3 normally (Important the next programs wont beep if you don’t)
  32. 7. Now run install_otheros.pkg. make sure the dtbImage.ps3.bin is on the root of the usb drive It will typically take 15 to 30 seconds to run.if it doesn't beep try a different usb port (NAND owners should use dtbImage.ps3.bin.minimal, rename it to dtbImage.ps3.bin).
  33. 8. Now run boot_otheros.pkg.
  34. 9. Now run reboot.pkg.
  35. 10. You should be in petitboot now. It has a grey/black background with a few options. Exit from CUI to shell. To make life easier for you, connect to your PS3 with a telnet/ssh client. as you are required to type a lot depending on what distro/kernel you decide to install and copy and paste will save you a lot of time
  36. 11. From the telnet shell type the following without quotes, “/tmp/petitboot/mnt/sda1/create_hdd_region.sh”
  37. 11. When that is completed type “reboot” without quotes
  38. 12. We need to use the grep tool for this so type “grep -i | dev/ps3” wihout quotes.
  39. You should see now new HDD device on petitboot, /dev/ps3dd.
  40. That's your OtherOS HDD region.
  41. Don't touch any other HDD regions if you don't know what you are doing. Use only ps3dd
  42. device for your Linux installation. Use parted to partition it and create GPT partition
  43. table on ps3dd. GPT is supported by both, Linux and FreeBSD.
  44.  
  45. Be warned, if you damage your GameOS HDD region, GameOS will reformat HDD and
  46. remove your Linux HDD region in the process. You have to do the above steps again.
  47. Don't mess with GameOS HDD region and GameOS won't mess with your OtherOS HDD region.
  48.  
  49. --------------------------------------------------------------
  50. For users who installed OtherOS on VFLASH region 7 previously
  51.  
  52. You have to restore your VFLASH before doing the above steps.
  53. Be warned, this step is NOT for NAND owners.
  54.  
  55. 1. Install my latest petitboot
  56. 2. Boot petitboot
  57. 3. Run script restore_vflash.sh
  58. 4. Reboot. GameOS should reformat your HDD again.
  59. --------------------------------------------------------------
  60. Partitioning of the PS3 Drive
  61. 1. In the shell of petitboot type without quotes “parted /dev/ps3dd”.
  62. 2. type “mklabel gpt” without quotes.
  63. 3. type “mkpart primary 0 2GB” without quotes (created 2GB partition for swap).
  64. 4. type “print” without quotes (this shows you how much space left you can partition).
  65. 5. type “mkpart primary 2GB [the rest of the hard drive here] without quotes (e.g. mkpart primary 2GB 21.6GB).
  66. 6. type “quit” without quotes.
  67.  
  68. Installing Ubuntu
  69. Debootstrap HOWTO by glevand (geoffrey.levand@mail.ru)
  70. (Redone by snowy)
  71. (Updated by thom and made noob friendly by fma965)
  72. -------------------------------------------------------
  73. Installing Ubuntu Lucid (10.04) with debootstrap on petitboot
  74. --------------------------------------------------------
  75. For different versions of Ubuntu, just change all occurrences of lucid, to natty or whatever build you would like.
  76.  
  77. You can also edit the config files in whatever text editor you would like. Nano and Vi are the preferred text editors
  78.  
  79. - Configuring the base system (Step 1)
  80. type the commands below in to shell.
  81. 1. umount /dev/ps3dd2
  82. 2. mkdir /mnt/ubuntu
  83. 3. mkfs.ext3 /dev/ps3dd2
  84. 4. mount /dev/ps3dd2 /mnt/ubuntu
  85. 5. rm -rf /mnt/ubuntu/*
  86. 6. debootstrap --arch powerpc lucid /mnt/ubuntu http://ports.ubuntu.com
  87. 7. mount -t proc none /mnt/ubuntu/proc
  88. 8. mount --rbind /dev /mnt/ubuntu/dev
  89. 9. LANG=C chroot /mnt/ubuntu /bin/bash
  90. 10. export TERM=xterm-color
  91.  
  92. - Mounting partitions (Step 2)
  93.  
  94. type “apt-get install nano” to download the nano text editor (noob friendly use ctl+o to save and ctrl-x to exit)
  95. type “nano -w /etc/fstab” and paste all the text between the ---.
  96.  
  97. File /etc/fstab
  98. ----------------
  99. /dev/ps3dd2 / ext3 defaults 0 1
  100. /dev/ps3vram none swap sw 0 0
  101. /dev/ps3dd1 none swap sw 0 0
  102. /dev/sr0 /mnt/cdrom auto noauto,ro 0 0
  103. proc /proc proc defaults 0 0
  104. shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
  105. ----------------
  106.  
  107.  
  108. - Setting timezone (Step 3)
  109.  
  110. type the commands below in to shell.
  111. 1. dpkg-reconfigure tzdata
  112.  
  113. - Configuring networking (Step 4)
  114.  
  115. type the commands below in to shell.
  116. 1. echo "Name of your computer here" > /etc/hostname
  117.  
  118. type “nano -w /etc/network/interfaces” and paste all the text between the ---.
  119.  
  120. File /etc/network/interfaces
  121. -----------------------------
  122. auto lo
  123. iface lo inet loopback
  124.  
  125. auto eth0
  126. iface eth0 inet dhcp
  127. ----------------------
  128.  
  129. type “nano -w /etc/resolv.conf” and paste all the text between the ---.
  130.  
  131. File /etc/resolv.conf (if you see nameservers already skip this step)
  132. ----------------------
  133. nameserver 192.168.1.1
  134. ----------------------
  135.  
  136. - Configuring apt (Step 5)
  137.  
  138. type “nano -w /etc/apt/sources.list” and paste all the text between the ---.
  139.  
  140. File /etc/apt/sources.list
  141. ---------------------------
  142. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates main restricted
  143. deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-updates restricted
  144. deb http://ports.ubuntu.com/ubuntu-ports/ lucid universe
  145. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates universe
  146. deb http://ports.ubuntu.com/ubuntu-ports/ lucid multiverse
  147. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates multiverse
  148. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted
  149. deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted
  150. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe
  151. deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe
  152. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse
  153. deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse
  154. ---------------------------
  155. OR (Use the following if you have trouble with above sources.)
  156. ---------------------------
  157. deb http://ports.ubuntu.com/ubuntu-ports/ lucid main restricted
  158. deb-src http://ftp.usf.edu/pub/ubuntu/ lucid main restricted
  159. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates main restricted
  160. deb-src http://ftp.usf.edu/pub/ubuntu/ lucid-updates main restricted
  161. deb http://ports.ubuntu.com/ubuntu-ports/ lucid universe
  162. deb-src http://ftp.usf.edu/pub/ubuntu/ lucid universe
  163. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates universe
  164. deb-src http://ftp.usf.edu/pub/ubuntu/ lucid-updates universe
  165. deb http://ports.ubuntu.com/ubuntu-ports/ lucid multiverse
  166. deb-src http://ftp.usf.edu/pub/ubuntu/ lucid multiverse
  167. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates multiverse
  168. deb-src http://ftp.usf.edu/pub/ubuntu/ lucid-updates multiverse
  169. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-backports main restricted universe multiverse
  170. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted
  171. deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted
  172. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe
  173. deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe
  174. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse
  175. deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse
  176. deb http://ports.ubuntu.com/ubuntu-ports/ lucid-proposed restricted main multiverse universe
  177. ---------------------------
  178.  
  179. type the commands below in to shell.
  180. 1. apt-get update
  181.  
  182. - Configuring locales and keyboard (Step 6)
  183.  
  184. type the commands below in to shell.
  185. 1. apt-get install locales
  186. 2. dpkg-reconfigure locales
  187. 3. apt-get install console-data
  188. 4. dpkg-reconfigure console-data
  189.  
  190. - Finishing touches (Step 7)
  191.  
  192. type the commands below in to shell.
  193. 1. apt-get clean
  194. 2. passwd
  195. 3. apt-get install build-essential ncurses-dev git-core gitosis
  196. 4. mkswap /dev/ps3dd1
  197. 5. swapon /dev/ps3dd1
  198.  
  199. - Installing kernel (Step 7)
  200.  
  201. type the commands below in to shell.
  202. 1. cd /usr/src
  203. 2. git clone git://git.gitbrew.org/ps3/ps3linux/linux-2.6.git (will take a long time)
  204. 3. ln -sf linux-2.6 linux
  205. 4. cd linux
  206. 5. cp ps3_linux_config .config
  207. 6. make menuconfig
  208. 7. make (will take a long time)
  209. 8. make install
  210. 9. make modules_install
  211.  
  212. If you compile your kernel on PS3 then make sure you activate swap because
  213. compiling kernel needs much RAM. I used /dev/ps3dd1 as swap which
  214. you have to create with fdisk first of course or some other program.
  215. NOTE: if you did the finishing touches section this will already be created and enabled
  216.  
  217. - Creating kboot.conf (Step 8)
  218.  
  219. type the commands below in to shell.
  220. 1. ls /boot/ (in the output look for vmlinux-xxx... where xxx... is a version number use the name of this file in the next command)
  221.  
  222. type “nano -w /etc/kboot.conf” and paste all the text between the ---.
  223.  
  224. 2. replace vmlinux-2.6.* with the vmlinux filename from above (e.g. vmlinux-2.6.38-gf77c53d)
  225.  
  226. File /etc/kboot.conf
  227. ---------------------
  228. debian_vflash=/boot/vmlinux-2.6.* root=/dev/ps3dd2
  229. debian_vflash_hugepages=/boot/vmlinux-2.6.* root=/dev/ps3dd2 hugepages=1
  230. ---------------------
  231.  
  232. - Creating /dev/ps3flash device (needed for ps3-utils) (Step 9)
  233.  
  234. type “nano -w “/etc/udev/rules.d/70-persistent-ps3flash.rules” and paste all the text between the ---
  235. File /etc/udev/rules.d/70-persistent-ps3flash.rules
  236. ---------------------
  237. KERNEL=="ps3vflashf", SYMLINK+="ps3flash"
  238. ---------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement