1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installing Gentoo Linux on a PS3

Discussion in 'PS3 - Modding & Hacking' started by CKhaleel, Jul 26, 2007.

  1. CKhaleel

    CKhaleel Regular member

    Joined:
    Feb 26, 2007
    Messages:
    1,669
    Likes Received:
    0
    Trophy Points:
    46
    OK, here's a n00b friendly guide on installing Gentoo Linux on a PS3.

    [​IMG]

    WHY GENTOO?

    Noticably faster than any other Linux OS.

    Full control over the installation.

    You can update it whenever you want, don't have to wait for the latest version of the distro like Fedora Core 5/6, Yellow Dog Linux 5

    Huge community of people.

    NOTE: Installation WILL take forever, I'm not kidding.

    Ok, let's go on...

    1. Do a quick format on your PS3, make sure you allot 10GB for OtherOS.

    2. Download the Gentoo image here.

    3. Burn the ISO to a CD-R.

    4. Download the otheros.bld file here.

    5. Connect a USB flash drive or Memory stick. On the root of it, create a PS3 folder, then a OTHEROS folder inside the PS3 folder. Within the OTHEROS folder, put the otheros.bld file in there. Then, connect your flash drive/Memory Stick to your PS3.

    6. On your PS3, go to [Settings]>[System Settings]>[Install OtherOS]. Press X. Once the otheros.bld is detected, press X to install it. Then, do Settings>Default System>OtherOS.

    7. Insert the Gentoo disc you just burned.

    8. Do a full restart on your PS3, and you should see a screen with white writing on it. Press ENTER.

    9. It should boot from CD.

    [​IMG]

    10. Enjoy Gentoo! Make sure you install it. To get back to the XMB, restart, and type "boot-game-os", and hit Enter.

    Plz comment!

    Some Linux commands:

    Partioning disks:

    Formatting root filesystem and swap + Enabling swap and mounting root


    Installing base system, mounting procfs and /dev + Readying for chroot

    livecd / # cd /mnt/gentoo
    livecd gentoo / # wget http://gentoo.osuosl.org/experimental/ppc64/stages/stage4-970-ps3_32ul.tar.bz2 (If already downloaded in advance, copy the file to /mnt/gentoo now)
    livecd gentoo / # tar -xjpf stage4-970-ps3_32ul.tar.bz2
    livecd gentoo / # mount -t proc none /mnt/gentoo/proc
    livecd gentoo / # mount -o bind /dev /mnt/gentoo/dev
    livecd gentoo / # cp /etc/resolv.conf /mnt/gentoo/etc

    Final configuration steps:


    Setting timezone:


    (chroot) livecd / ls /usr/share/zoneinfo
    (Suppose you want to use GMT)
    (chroot) livecd / cp /usr/share/zoneinfo/GMT /etc/localtime
    Configuring kboot:
    (chroot) livecd / # e2label /dev/sda1 /
    (chroot) livecd / # cd /etc
    (chroot) livecd etc / # cp kboot.conf.example kboot.conf
    (chroot) livecd etc / # nano -w kboot.conf
    kboot.conf
    # The following is an example kboot configuration file. Edit it
    # to suit your needs before attempting to reboot your system or
    # you may be unable to boot the new install.

    # default: the default kernel label to boot should the user not make
    # a selection. Uncomment the following line and set a default kernel label.
    default=Gentoo

    # timeout: number of seconds to wait for user input before the default
    # kernel label is booted. Uncomment the following line and set timeout.
    timeout=10

    # The format from this point on is within a kernel label. At a minimum,
    # you must pass the kernel and root device. The syntax is as follows:
    #
    # label='device:<path_to_kernel> initrd=device:<path_to_initrd> kernel_options'
    #
    # You should also pass the video options as well. An example of video
    # options are as follows:
    #
    # 480i = ps3fb:mode:1
    # 576i = ps3fb:mode:6
    # 720p = ps3fb:mode:3
    # 1080i = ps3fb:mode:4
    # 1080p = ps3fb:mode:5
    #
    # You can review all possible video modes using the ps3videomode application
    # provided by the ps3pfutils package. i.e. ps3videomode -v will display
    # possibilities.

    # The following is an example kernel label. Uncomment and edit as needed.
    Gentoo='sda1:/boot/kernel-genkernel-ppc-2.6.16-ps3 initrd=sda1:/boot/initramfs-genkernel-ppc-2.6.16-ps3 root=/dev/ram0 real_root=/dev/sda1 init=/linuxrc video=ps3fb:mode:8 rhgb' (replace video=ps3fb:mode:<required mode id>
    Now press Ctrl + X. Then Y to save and exit editor.




    Any complaints? Plz leave them. I will work on anything bad.
     
    Last edited: Jul 26, 2007
  2. QbobZ

    QbobZ Member

    Joined:
    Aug 1, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    hi , im currently installing this gentoo livecd version, but can only get up to the part where it requires me to download the 'stage4-970-ps3_32ul.tar.bz2' file. When i use my ps3 normally, i hav internet connection. but when i change to 'other O/S' & it reboots to KBOOT screen, connection dont work propely.

    i hav dowloaded this file alredy(from my PC) and put it on a memorystick DUO. So instead of typing - 'wget http://gentoo.osuosl.org/experimental/ etc...' ,to start downloadin it now, how do i copy it from my memstick to '/mnt/gentoo'?

    pls help me guys!!
     

Share This Page