Forum: PS3 Linux Discussion - The PS3 Linux Discussion forum contains all the information you are looking for on using Linux on the PS3.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Detailed Guide to Install Yellow Dog Linux 6.2 from DVD-Disc according to PS3DEVWIKI and GLEVAND and SkyNet....
  

Results 1 to 2 of 2
  1. #1 Detailed Guide to Install Yellow Dog Linux 6.2 from DVD-Disc according to PS3DEVWIKI and GLEVAND and SkyNet.... 
    SkyNet's Avatar
    SkyNet is offline Member
    Join Date
    Apr 2010
    Posts
    612
    Downloads
    5
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    204
    Likes Received
    182
    Hello Everyone. I have installed Yellow Dog Linux version 6.2 to my PS3 Slim---but the thing is that I do not know how exactly to do Post-Installation Actions---PS3DEVWIKI does not have answer for this. But I hope that with your help we will figure it out and everything will be ok...

    The most important thing that YDL6.2 installed to Correct Partition. We all know that YDL6.2 chooses during installation ps3da1 and ps3da2 partitions. So if to install YDL6.2 the usual way--It will install to GameOS--which is ps3da and GameOS will reformat everything during Start-UP.

    Now I will tell you how to install YDL6.2 in proper way.

    The most difficult part is to make Petitboot to see our YDL6.2DVD.

    If to insert YDL6.2-DVD in Petitboot--for some reason it can not see it. If to insert YDL6.2-DVD in XMB and then start Petiiboot ---sometimes it works----Petitboot can detect DVD-Disc, but sometimes YDL damages Petitboot. What happens is----I try to launch "Reboot" in order to start Petitboot--but it constantly returns to XMB(GameOS) even without DVD in the drive.
    Do not be afraid---restore Petitboot is very easy.
    Place on USB-Stick---Petitboot (dtbimage.ps3.bin--for Slim consoles or dtbimage.ps3.bin.minimal renamed to dtbimage.ps3.bin for fat consoles).
    In XMB you must have installed install_otheros.pkg , boot_otheros.pkg , reboot.pkg.

    So you just run from XMB--installotheros-homebrew----It will install Petitboot from USB-Stick, then run boototheros-homebrew ---it will probably add Petitboot to boot process , and after you run Reboot-homebrew---you will reboot to Petitboot...

    So You must place in XMB YDL6.2DVD in PS3 and launch Reboot. I do not know about timings--like how long you have to wait and then launch Reboot. Try yourself . The most important--you have to be in Petitboot and it has to show that DVD is detected.
    Probably You have to burn DVD at lower speed, maybe 2-x or 4-x, because I burned mine in Ubuntu in Brasero at 6-x, but I have DVD-Burner which likes high speeds and also Disk which I recorded YDL to is Verbatim 16-x. So for some reason DVD-Burner at the end recorded it at 10-x.
    Maybe this is the reason--maybe PS3s DVD-reader likes lower speeds, or probably Petitboot does not detect it.
    Anyway, you have it in Petitboot to have detected.


    You will have to place on USB-Stick script from Glevand which is called ---- hdd_access.sh and plug USB-Stick in PS3.


    In Shell type the following:

    Type umount /dev/ps3db press ENTER ---probably we unmounting FW-Parts which are located on HDD;

    Type unmount /dev/ps3dc press ENTER ---the same action to unmount FW-Parts which are located on HDD;

    Type cd /tmp/petitboot/mnt/sda1 press ENTER---changing directory to our USB-Stick;

    Type ./hdd_access.sh --press ENTER --It will print on screen that hdd_access.sh has three parameters which is possible to use and Namely:

    Code:
    1.  ./hdd_access.sh print ---it prints on screen info about gameOS regions and partitions;
    
    2.  ./hdd_access.sh  patch ----it  patches HDD so, that ps3dd (1 and 2) --reads as ps3da (1 and 2)----so this is what we need;
    
    3.  ./hdd_access.sh  restore --it restores or un-patches our HDD to initial state.
    So looks that we need to choose 2nd option--patch. So type the following:

    Type ./hdd_access.sh patch press ENTER it will patch our HDD.

    Code:
    I think that Restoring should be like this:
    
    Type umount  /dev/ps3db  press  ENTER ---probably we unmounting FW-Parts which are located on HDD;
    
    Type unmount  /dev/ps3dc  press  ENTER ---the same action to  unmount FW-Parts which are located on HDD;
    
    Type  cd  /tmp/petitboot/mnt/sda1  press ENTER---changing directory to our USB-Stick;
    
    Type  ./hdd_access.sh restore --press ENTER --to restore HDD.
    
    But we do not need to restore---because we need  it to be patched...
    Now after Patching is done--type the following:

    Type cd / press ENTER

    Type umount /tmp/petitboot/mnt/sda1 press ENTER

    Remove USB-Stick...


    Type mkdir /mnt/ydl press ENTER

    Type cp /tmp/petitboot/mnt/sr0/ppc/ppc64/* /mnt/ydl press ENTER

    Type cd /mnt/ydl press ENTER

    Type kexec -l vmlinux --initrd=ramdisk.image.gz press ENTER

    Now press on keyboard combination Ctrl+Alt+Delete ----It will restart to YDL6.2 Installer...

    Will start Anaconda----YDL-Installer.

    1.Choose language for the installation.

    2.Select the appropriate keyboard for the system;

    HDD Partitioning.

    If patching with hdd_access.sh script passed properly ----you will see here ps3da of smaller size. Without patching I had here 120GB ps3da, but now with patching---it says here :
    ps3da----22521MB---which is equal to size of 22GB---everything is correct . You must be sure here that patching is past,otherwise start the process from start.


    So here comes choice:

    1.Remove all partitions on selected drives and create default layout;
    2.Remove Linux Partitions on selected drive and create default layout;
    3.Use free space on selected drives and create default layout
    4.Create custom layout.

    So my system has /dev/ps3da1 as ext3 with 22027MB size and /dev/ps3da2 as swap 494MB in size.

    Which one method to choose I am not sure but the most important that HDD is patched and YDL6.2 will be installed to proper partitions.

    So I have chosen custom partitioning--- formatted /dev/ps3da1 in ext3 with mount point as /

    and dev/ps3da2 as swap ...

    I chose to install such packages:

    1.Office and Productivity;
    2.Software Development;
    3.Web Server.

    It checked for dependencies in selected packages for installation ....

    Next screen said that a complete log of the installation can be found in file '/root/install.log' after.. And Kickstart file containing the installation options selected can be found in '/root/anaconda-ks.cfg' after...

    It formats HDD, transfers install image to HDD, starts install process , prepares transaction from installation source. Starts to install 1098 packages....

    Then it says it performs post installation process , installs bootloader....

    Now system is installed. Installer outputs DVD-Disc--so remove it, and suggests to reboot. But do not do this, according to wiki--you must just unplug your console...

    Actually there are two options: Unplug and Hardware reset, but I think that Unplug is quicker to do and probably will be easier for the average user to perform...

    Post Installation Actions...

    Investigation:

    I reserved "Post Installation Actions" for Future. Now we have to figure out what we have and what we have to do in order it work properly on our ps3.....

    If to open Petitboot and look at the line responsible for Yellow Dog Linux 6.2---It looks like this:

    linux: /var/petitboot/mnt/ps3da1//boot/vmlinux-2.6.29-3.ydl61.3 initrd=/var/petitboot/mnt/ps3da1/boot/initrd-2.6.29-3.img ro rhgb quiet root=LABEL=/1

    If to launch--it does not work--it prints in Petitboot the following:

    Failed: kexec /var/petitboot/mnt/ps3da1/boot/vmlinux-2.6.29-3.ydl61.3

    If to press in Petitboot letter e and change ps3da1 fro ps3dd1 in both Kernel and initrd--it starts to load, but stops with such message:

    Code:
    Red Hat nash version 6.0.9 starting
    mount: could not find filesystem '/dev/root'
    setuproot: moving /dev failed: No such file or directory
    setuproot: error mounting /proc:  No such file or directory
    setuproot:  error mounting /sys: No such file or directory
    switchroot: mount failed: No such file or directory
    _
    If to mount YDL and look at /etc/yaboot.conf it looks like this:

    Code:
    # yaboot.conf  generated by anaconda
    
    boot=/dev/ps3da
    init-message=Welcome to YDL!\nHit <TAB> for boot options
    
    partition=1
    timeout=80
    install=/usr/lib/yaboot/yaboot
    delay=5
    enablecdboot
    enableofboot
    enablenetboot
    nonvram
    mntpoint=/boot/yaboot
    usemount
    
    
    image=/boot/vmlinux-2.6.29-3.ydl61.3
                  label=linux
                  read-only
                  initrd=/boot/initrd-2.6.29-3.ydl61.3.img
                  append="rhgb quiet root=LABEL=/1"
    If to look at /etc/fstab --it looks like this:

    LABEL=/1 / ext3 defaults 1 1
    spufs /spu spufs defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0
    LABEL=SWAP-ps3da2 swap swap defaults 0 0

    Here is how look Kickstart file located in /root/anaconda-ks.cfg

    Code:
    # Kickstart file automatically generated by anaconda.
    
    install
    cdrom
    lang en_US.UTF-8
    keyboard us
    network --device eth0 --bootproto dhcp
    rootpw --iscrypted $ here is number
    firewall --enabled --port=22:tcp
    authconfig --enableshadow --enablemd5
    selinux --disabled
    timezone --utc Europe/Amsterdam
    bootloader --location=mbr --driveorder=ps3da --append="rhgb quiet"
    #The following is the partition information you requested
    #Note that any partitions you deleted are not expressed
    #here so unless you clear all partitions first, this is
    #not guaranteed to work
    #clearpart --linux
    #part / --fstype ext3 --onpart ps3da1
    #part swap --onpart ps3da2
    
    Here are packeges to be installed
    Attached Thumbnails Attached Thumbnails foto1570.jpg   foto1573.jpg   foto1574.jpg   foto1575.jpg   foto1576.jpg  

    foto1579.jpg   foto1580.jpg   foto1585.jpg   foto1586.jpg   foto1589.jpg  

    foto1592.jpg   foto1594.jpg   foto1595.jpg   foto1596.jpg   foto1599.jpg  

    foto1601.jpg   foto1603.jpg   foto1605.jpg   foto1606.jpg   foto1608.jpg  

    foto1611.jpg   foto1612.jpg  
    Last edited by SkyNet; 11-28-2012 at 05:11 AM.

    Best Regards from PS3 Linux User
    Reply With Quote  

  2. #2  
    SkyNet's Avatar
    SkyNet is offline Member
    Join Date
    Apr 2010
    Posts
    612
    Downloads
    5
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    204
    Likes Received
    182
    I restored HDD with ./hdd_access.sh restore command and tried to launch----no luck,
    then I formatted USB-Stick in ext3 in Ubuntu (with help of Disk Utility) and changed Kernel to version 3.6.4 in YDL6.2...

    Also I edit /etc/yaboot.conf and /etc/fstab now they look like this:


    Code:
    # yaboot.conf  generated by anaconda
    
    boot=/dev/ps3dd
    init-message=Welcome to YDL!\nHit <TAB> for boot options
    
    partition=1
    timeout=80
    install=/usr/lib/yaboot/yaboot
    delay=5
    enablecdboot
    enableofboot
    enablenetboot
    nonvram
    mntpoint=/boot/yaboot
    usemount
    
    
    image=/boot/vmlinux-3.6.4
                  label=YDL6.2
                  read-only
                  append="rhgb quiet root=/dev/ps3dd1"
    /dev/ps3dd1 / ext3 defaults 1 1
    spufs /spu spufs defaults 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    sysfs /sys sysfs defaults 0 0
    proc /proc proc defaults 0 0
    /dev/ps3dd2 swap swap defaults 0 0

    I tried in /etc/fstab in first line to change 1 1 to 0 1 ---did not help.

    Actually Kernell 3.6.4 boots, but it shows message :

    [0.605025] drivers/rtc/hctosys.c:unable to open rtcdevice (rtc0)

    and then returns to Petitboot.....

    I just think, is it possible to replace yaboot for kboot? I mean to make it like in other distros---/etc/kboot.conf ???

    Guys I need your help on this, myself alone I wont be able to resolve this.

    Experts, please help me, I am sure that there are people who know how to solve this issue...

    How to make YDL6.2 work properly on PS3 Slim with OtherOS++ from internal HDD???????
    Last edited by SkyNet; 11-28-2012 at 07:34 AM.

    Best Regards from PS3 Linux User
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •