Install OtherOS on HDD (for all PS3 models) All tools are located here: http://7track.org/~glevand/public Users who installed OtherOS on VFLASH region 7 previously should read below You will need the following... Usb Keyboard or Telnet/SSH access CFWXXX-OtherOS++ (CFW 3.41, 3.55, 3.55 22GB) setup_flash_for_otheros.pkg install_otheros.pkg boot_otheros.pkg - sets boot flag to boot otheros create_hdd_region.sh - a script to create the hdd regions dtbImage.ps3.bin.minimal (NAND) - rename to dtbImage.ps3.bin dtbImage.ps3.bin (VFLASH) reboot.pkg - reboots the ps3 optional - boot_gameos.pkg - sets boot flag to boot gameos optional - enable_wlan_on_fat (Fat PS3 Only) 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 ALL PS3 MODELS ARE SUPPORTED!!! 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) 2. When installation is finished, go to recovery menu and choose "Restore PS3 System" This will format your HDD 3. Install all PKG files that you downloaded above 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) 5. Run setup_flash_for_otheros.pkg (for all PS3 models) 6. Reboot the PS3 normally (Important the next programs wont beep if you don’t) 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). 8. Now run boot_otheros.pkg. 9. Now run reboot.pkg. 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 11. From the telnet shell type the following without quotes, “/tmp/petitboot/mnt/sda1/create_hdd_region.sh” 11. When that is completed type “reboot” without quotes 12. We need to use the grep tool for this so type “grep -i | dev/ps3” wihout quotes. You should see now new HDD device on petitboot, /dev/ps3dd. That's your OtherOS HDD region. Don't touch any other HDD regions if you don't know what you are doing. Use only ps3dd device for your Linux installation. Use parted to partition it and create GPT partition table on ps3dd. GPT is supported by both, Linux and FreeBSD. Be warned, if you damage your GameOS HDD region, GameOS will reformat HDD and remove your Linux HDD region in the process. You have to do the above steps again. Don't mess with GameOS HDD region and GameOS won't mess with your OtherOS HDD region. -------------------------------------------------------------- For users who installed OtherOS on VFLASH region 7 previously You have to restore your VFLASH before doing the above steps. Be warned, this step is NOT for NAND owners. 1. Install my latest petitboot 2. Boot petitboot 3. Run script restore_vflash.sh 4. Reboot. GameOS should reformat your HDD again. -------------------------------------------------------------- Partitioning of the PS3 Drive 1. In the shell of petitboot type without quotes “parted /dev/ps3dd”. 2. type “mklabel gpt” without quotes. 3. type “mkpart primary 0 2GB” without quotes (created 2GB partition for swap). 4. type “print” without quotes (this shows you how much space left you can partition). 5. type “mkpart primary 2GB [the rest of the hard drive here] without quotes (e.g. mkpart primary 2GB 21.6GB). 6. type “quit” without quotes. Installing Ubuntu Debootstrap HOWTO by glevand (geoffrey.levand@mail.ru) (Redone by snowy) (Updated by thom and made noob friendly by fma965) ------------------------------------------------------- Installing Ubuntu Lucid (10.04) with debootstrap on petitboot -------------------------------------------------------- For different versions of Ubuntu, just change all occurrences of lucid, to natty or whatever build you would like. You can also edit the config files in whatever text editor you would like. Nano and Vi are the preferred text editors - Configuring the base system (Step 1) type the commands below in to shell. 1. umount /dev/ps3dd2 2. mkdir /mnt/ubuntu 3. mkfs.ext3 /dev/ps3dd2 4. mount /dev/ps3dd2 /mnt/ubuntu 5. rm -rf /mnt/ubuntu/* 6. debootstrap --arch powerpc lucid /mnt/ubuntu http://ports.ubuntu.com 7. mount -t proc none /mnt/ubuntu/proc 8. mount --rbind /dev /mnt/ubuntu/dev 9. LANG=C chroot /mnt/ubuntu /bin/bash 10. export TERM=xterm-color - Mounting partitions (Step 2) type “apt-get install nano” to download the nano text editor (noob friendly use ctl+o to save and ctrl-x to exit) type “nano -w /etc/fstab” and paste all the text between the ---. File /etc/fstab ---------------- /dev/ps3dd2 / ext3 defaults 0 1 /dev/ps3vram none swap sw 0 0 /dev/ps3dd1 none swap sw 0 0 /dev/sr0 /mnt/cdrom auto noauto,ro 0 0 proc /proc proc defaults 0 0 shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 ---------------- - Setting timezone (Step 3) type the commands below in to shell. 1. dpkg-reconfigure tzdata - Configuring networking (Step 4) type the commands below in to shell. 1. echo "Name of your computer here" > /etc/hostname type “nano -w /etc/network/interfaces” and paste all the text between the ---. File /etc/network/interfaces ----------------------------- auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp ---------------------- type “nano -w /etc/resolv.conf” and paste all the text between the ---. File /etc/resolv.conf (if you see nameservers already skip this step) ---------------------- nameserver 192.168.1.1 ---------------------- - Configuring apt (Step 5) type “nano -w /etc/apt/sources.list” and paste all the text between the ---. File /etc/apt/sources.list --------------------------- deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates main restricted deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-updates restricted deb http://ports.ubuntu.com/ubuntu-ports/ lucid universe deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates universe deb http://ports.ubuntu.com/ubuntu-ports/ lucid multiverse deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates multiverse deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse --------------------------- OR (Use the following if you have trouble with above sources.) --------------------------- deb http://ports.ubuntu.com/ubuntu-ports/ lucid main restricted deb-src http://ftp.usf.edu/pub/ubuntu/ lucid main restricted deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates main restricted deb-src http://ftp.usf.edu/pub/ubuntu/ lucid-updates main restricted deb http://ports.ubuntu.com/ubuntu-ports/ lucid universe deb-src http://ftp.usf.edu/pub/ubuntu/ lucid universe deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates universe deb-src http://ftp.usf.edu/pub/ubuntu/ lucid-updates universe deb http://ports.ubuntu.com/ubuntu-ports/ lucid multiverse deb-src http://ftp.usf.edu/pub/ubuntu/ lucid multiverse deb http://ports.ubuntu.com/ubuntu-ports/ lucid-updates multiverse deb-src http://ftp.usf.edu/pub/ubuntu/ lucid-updates multiverse deb http://ports.ubuntu.com/ubuntu-ports/ lucid-backports main restricted universe multiverse deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security main restricted deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security universe deb http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse deb-src http://ports.ubuntu.com/ubuntu-ports/ lucid-security multiverse deb http://ports.ubuntu.com/ubuntu-ports/ lucid-proposed restricted main multiverse universe --------------------------- type the commands below in to shell. 1. apt-get update - Configuring locales and keyboard (Step 6) type the commands below in to shell. 1. apt-get install locales 2. dpkg-reconfigure locales 3. apt-get install console-data 4. dpkg-reconfigure console-data - Finishing touches (Step 7) type the commands below in to shell. 1. apt-get clean 2. passwd 3. apt-get install build-essential ncurses-dev git-core gitosis 4. mkswap /dev/ps3dd1 5. swapon /dev/ps3dd1 - Installing kernel (Step 7) type the commands below in to shell. 1. cd /usr/src 2. git clone git://git.gitbrew.org/ps3/ps3linux/linux-2.6.git (will take a long time) 3. ln -sf linux-2.6 linux 4. cd linux 5. cp ps3_linux_config .config 6. make menuconfig 7. make (will take a long time) 8. make install 9. make modules_install If you compile your kernel on PS3 then make sure you activate swap because compiling kernel needs much RAM. I used /dev/ps3dd1 as swap which you have to create with fdisk first of course or some other program. NOTE: if you did the finishing touches section this will already be created and enabled - Creating kboot.conf (Step 8) type the commands below in to shell. 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) type “nano -w /etc/kboot.conf” and paste all the text between the ---. 2. replace vmlinux-2.6.* with the vmlinux filename from above (e.g. vmlinux-2.6.38-gf77c53d) File /etc/kboot.conf --------------------- debian_vflash=/boot/vmlinux-2.6.* root=/dev/ps3dd2 debian_vflash_hugepages=/boot/vmlinux-2.6.* root=/dev/ps3dd2 hugepages=1 --------------------- - Creating /dev/ps3flash device (needed for ps3-utils) (Step 9) type “nano -w “/etc/udev/rules.d/70-persistent-ps3flash.rules” and paste all the text between the --- File /etc/udev/rules.d/70-persistent-ps3flash.rules --------------------- KERNEL=="ps3vflashf", SYMLINK+="ps3flash" ---------------------