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

Like Tree46Likes

Thread: Detailed Guide to Install Debian (Squeeze) from Internet according to PS3DEVWIKI and GLEVAND...
  

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22
  1. #1 Detailed Guide to Install Debian (Squeeze) from Internet according to PS3DEVWIKI and GLEVAND... 
    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 successfully installed Debian to my PS3 following tutorial from wiki OtherOS++ - PS3 Development Wiki , I want to repeat it one more time--successfully installed Debian to my PS3.
    I want to share how I did it , so you will also have ability to install it.
    But why this method is really preferable ---because you install Distro from Internet---so no need to have DVD in your BD-Drive.

    Also I want to thank to r04drunner for help with commands.

    In order to proceed ---you have to install CFW3.55OtherOS++ noSSpatches from Glevand CFW 3.55 22GB to OtherOS++ no SS patches

    Also you have to create hdd-region and install Petitboot , how to do it you can watch here:


    This guide is so amazing----you make your Debian from "PARTS"---and all comes from Internet...

    So Lets start......

    Follow this Guide if You have ps3dd1 as System Partition (Root / ) and ps3dd2 as Swap Partition.
    You can check it by typing this command from Petitboot:


    Type fdisk -l /dev/ps3dd press ENTER

    If you have psdd2 as System Partition and ps3dd1 as Swap Partition--then then just replace digits 1 and 2 everywhere in guide according to your partition table even in /etc/fstab....


    What you will need----REQUIREMENTS:

    1.PS3 with CFW from GLEVAND without SS-patches and with support for OtherOS++ ----download from here CFW 3.55 22GB to OtherOS++ no SS patches ;
    2.USB-keyboard;
    3.Internet Connection -----connect your ps3 to Internet through Ethernet cable.

    In XMB of PS3 launch "Reboot" ----in order to get to Petitboot.
    In Petitboot choose entry ------- Exit to Shell.

    Configuring the base system

    1.Type umount /dev/ps3dd1 press ENTER ------It unmounts partition ps3dd1 in order it was possible to partition it;

    2.Type mkdir /mnt/debian press ENTER -------It makes directory for future Debian system;

    3.Type mkfs.ext3 /dev/ps3dd1 press ENTER ------It makes ext3 file system on ps3dd1 partition;

    4.Type mount /dev/ps3dd1 /mnt/debian press ENTER -----It mounts created by us directory /mnt/debian on our partition ps3dd1 with file system ext3;

    5.Type rm -rf /mnt/debian/* press ENTER ---removes all temporary files created by system in directory mnt/debian/* on ps3dd1;

    Code:
    6.Type  debootstrap --arch powerpc squeeze /mnt/debian http://ftp.us.debian.org/debian  press ENTER
    
    This is the most important part, --- It downloads(retrieves) 
    and validates from Internet packages for PowerPC64 Architecture for Debian from http://ftp.us.debian.org/debian ----Wait until operation is finished;
    It should write --- Base system installed successfully. You should see now prompt   root@ps3-linux:/#   So you can type now further...
    7.Type mount -t proc none /mnt/debian/proc press ENTER ---it mounts proc which is virtual filesystem or a process information pseudo-file system to /mnt/debian/proc
    /proc is a control and information centre for the kernel ;

    8.Type mount --rbind /dev /mnt/debian/dev press ENTER ---looks like it mounts or binds /dev to /mnt/debian/dev ;

    9.Type LANG=C chroot /mnt/debian /bin/bash press ENTER ---It sets Language C and also it changes Root Directory from /mnt/debian to /bin/bash . It can not access files outside designed directory tree ....

    10.Type export TERM=xterm-color press ENTER --in previous command we changed root file system to bash, so with this command we making BASH to output proper colours;


    Mounting Partitions

    System already has nano text editor in it , so we do not need to install it.

    Type nano /etc/fstab ---It will open file /etc/fstab in nano text editor.

    You will have underneath to create in nano such text:

    /dev/ps3dd1 / ext3 defaults 0 1
    /dev/ps3vram none swap sw 0 0
    /dev/ps3dd2 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

    Do it slowly, take your time Every column has to be as column.

    After you finished typing it ---press Ctrl+x press letter y press Enter in order to save our file /etc/fstab .....

    Setting Time Zone

    Type nano /etc/default/rcS press ENTER --- I would press here Ctrl+x. Looks like here everything must stay in default condition.

    Type dpkg-reconfigure tzdata press ENTER ----will pop-up window to configure tzdata. Choose your continent and press ENTER From next window select City in which you live and press ENTER ----thats it, now you again in shell...

    Configuring networking

    Type echo "PS3Linux" > /etc/hostname press ENTER ----PS3Linux here means name for your system, you can choose whatever name you like for your computer;

    Editing and saving with NANO Text Editor file /etc/network/interfaces

    Type nano /etc/network/interfaces press ENTER ---- You have to add here such lines:

    auto lo
    iface lo inet loopback

    auto eth0
    iface eth0 inet dhcp


    Press Ctrl+x press letter y press ENTER

    Cofiguring file /etc/resolv.conf

    In General you have to add to file /etc/resolv.conf such line nameserver 192.168.1.1 but probably you do not have to do it--because maybe it is already done by system.
    So you have to check it.
    Type cat /etc/resolv.conf press ENTER --if you see nameserver 192.168.1.1, then skip this and go to next step.

    Configuring and Saving apt

    In order to configure file sources for APT you need in Nano to edit file /etc/apt/sources.list

    Type nano /etc/apt/sources.list press ENTER

    You will have to add such lines in NANO to file /etc/apt/sources.list
    Code:
    deb http://ftp.us.debian.org/debian squeeze main
    deb-src http://ftp.us.debian.org/debian squeeze main
    
    deb http://security.debian.org/ squeeze-updates main
    deb-src http://security.debian.org/ squeeze-updates main
    Add all lines slowly---so there are no mistakes. Personally I highlighted every line with mouse cursor --like we usually do if we want to copy text...

    Then press Ctrl+x press letter y press ENTER

    Type aptitude update press ENTER ---it will update all packages according to the sources list we just entered in /etc/apt/sources.list file.......

    Configuring locales and keyboard

    Type aptitude install locales press ENTER ---Installs locales;

    Type dpkg-reconfigure locales press ENTER---- choose all locales and press ENTER

    Type aptitude install console-data press ENTER press letter y press ENTER--installs console-data ---choose keyboard layout;

    Type dpkg-reconfigure console-data press ENTER --will pop-up window. I left it the way it is--did not choose anything....

    Finishing Touches

    1. Type tasksel install standard press ENTER --It installs 119 packages from Internet---wait until it finishes....

    2. Type aptitude clean press ENTER ----It cleans temporary files;

    3. Type passwd press ENTER-----It will prompt you to Enter the password which you want to be ROOT Password. So choose the one You liked, but remember----security in Your Linux as strong as is your password. So choose wisely .....

    4. Type aptitude install git build-essential ncurses-dev press ENTER press letter y press ENTER --wait until it updates packages...

    5. Type mkswap /dev/ps3dd2 press ENTER -----It creates swap partition on /dev/psdd2 ;

    6. Type swapon /dev/ps3dd2 press ENTER ---It turns on swap partition /dev/ps3dd2 .

    Creating kboot.conf

    Type nano /etc/kboot.conf press ENTER

    and add those lines to the file:

    Code:
    debian=/boot/vmlinux-3.6.4  root=/dev/ps3dd1  video=ps3fb:mode:0
    debian_Hugepages=/boot/vmlinux-3.6.4  root=/dev/ps3dd1 hugepages=1  video=ps3fb:mode:0
    Press Ctrl+x press letter y press ENTER

    Creating /dev/ps3flash device (needed for ps3-utils)

    Type nano /etc/udev/rules.d/70-persistent-ps3flash.rules press ENTER

    add this line to the file:

    Code:
    KERNEL=="ps3vflashf", SYMLINK+="ps3flash"
    Press Ctrl+x press letter y press ENTER


    Now press Ctrl+Alt+Delete in order ps3 to restart


    Installing Linux Kernel

    We will install pre-compiled Kernel-3.6.4 for PS3. You can download it here:

    DepositFiles

    or here

    http://www42.zippyshare.com/v/727482/file.html

    Place file linux-3.6.4-build.tar.xz in the root of your USB-Stick and connect to USB-Port of your PS3.

    Start Petitboot , exit to Shell and type the following:

    1. Type umount /dev/ps3dd1 press Enter

    2. Type mkdir /mnt/debian press ENTER

    3. Type mount dev/ps3dd1 /mnt/debian

    4. Type cd /tmp/petitboot/mnt/sda1 press ENTER

    5. Type ls press ENTER

    6. Type cp linux-3.6.4-build.tar.xz /mnt/debian press ENTER

    7. Type chroot /mnt/debian press ENTER

    8. Type tar -xJf linux-3.6.4-build.tar.xz press ENTER

    9. Type cp linux-3.6.4-build/boot/vmlinux-3.6.4 /boot/ press ENTER

    10. Type cp linux-3.6.4-build/boot/System.map-3.6.4 /boot/ press ENTER

    11. Type cp -r linux-3.6.4-build/lib/modules/3.6.4 /lib/modules/ press ENTER

    12. Type depmod -a 3.6.4 press ENTER

    13. Type rm -rf linux-3.6.4-build press ENTER

    14. Type rm linux-3.6.4-build.tar.xz press ENTER

    15. Type exit press Enter

    16. Type umount /mnt/debian press ENTER

    17. Type cd / press Enter

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

    Remove USB-Stick....

    Now we have installed Base System. Most all necessary parts are installed.
    You have now to restart by pressing Ctrl+Alt+Delete


    In Petitboot choose entry

    debian=/boot/vmlinux-3.6.4 root=/dev/ps3dd1 and press ENTER to start our Debian

    Debian starts...

    Enter your login information as Administrator:

    Name: root

    Password: The one you created during installation

    Notice that all letters must be lower-case....

    So now you logged in as Administrator. Administrator in Debian only manages system from Start-up Console.

    Creating User Account and Home Directory

    Now we have to create the User Account and Home Directory.

    As Administrator type the following:

    Type adduser name press ENTER ---you have to replace name for whatever you like to be name of the user( for example john)----notice , that all letters must be lower-case:

    It will ask you some questions, also you will create password for your user during this procedure,

    Type mkdir /home/name press ENTER----you have to replace name for whatever you like to be name of the user( for example john)----notice , that all letters must be lower-case.

    Type adduser name sudo press ENTER---this command adds user to sudoers list;

    Notice: Name of the user in adduser and mkdir commands must be the same.

    Notice: If command mkdir returns--that directory /home/name exists---then whether skip this part or create another user and another home directory belonging to him.

    Installing GUI (Graphical User Interface)

    Now we have to install GUI (Graphical User Interface), because we do not want all the time use our Debian in console as Administrator.

    We can install different Desktop Environments to Debian, for example KDE, GNOME, XFCE, LXDE.

    But I would recommend to use LXDE or XFCE because it is easier for PS3 to handle....

    So type as Administrator from console the following:

    Type apt-get install lxde press Enter it will take some time until it downloads, extracts and installs LXDE as Desktop Environment and GDM as Gnome Display Manager.

    After LXDE and GDM installed ----Login as the User you created before.

    Notice: You can exit Login Screen to console and return back by using button combinations Ctrl+Alt+F1 and Ctrl+Alt+F7

    Configuring Video-Output (Enabling Full-Screen Video Mode)

    At login screen press combination Ctrl+Alt+F1

    Enter Administrators ---name root and password.

    Type apt-get install ps3-utils press ENTER

    Type ps3-video-mode --help press ENTER

    Type sudo ps3-video-mode -m 133 press ENTER -----133 mode is resposible for 1080p at 60Hz.....

    Type sudo nano /etc/kboot.conf press ENTER and change in both lines mode:0 to mode:133:

    debian=/boot/vmlinux-3.6.4 root=/dev/ps3dd1 video=ps3fb:mode:0
    debian_Hugepages=/boot/vmlinux-3.6.4 root=/dev/ps3dd1 hugepages=1 video=ps3fb:mode:0


    to this:

    debian=/boot/vmlinux-3.6.4 root=/dev/ps3dd1 video=ps3fb:mode:133
    debian_Hugepages=/boot/vmlinux-3.6.4 root=/dev/ps3dd1 hugepages=1 video=ps3fb:mode:133


    Press Ctrl+x press letter y press ENTER

    Press Ctrl+Alt+Delete in order for Debian to restart. You have got now Full-Screen Mode....

    Installing Synaptic Package Manager

    In Debian at the moment is only possible to install software through Full-Screen Console when logged in as root.

    We must change it. Lets install Synaptic Package Manager.

    To do that, do the following:

    In Debian press combination Ctrl+Alt+F1 in order to exit to Full-Screen Mode and enter Administrators login info ----root and password.

    Type sudo apt-get install synaptic press ENTER, press letter y , press ENTER--it will install Synaptic Package Manager.

    After installation is complete--press Ctrl+Alt+F7 in order to return to Debians Desktop.

    Go to Synaptic and install all necessary software. Install Internet-Browser (for example Iceweasel) because Debian does not have it yet.

    Search in Synaptic for your favourite software...

    Installing Software Center.

    Lets install Software Center. It looks just amazing in Debian. It has all the software like in usual desktop version of Linux. I attached some screen-shots in order for you to understand what am I talking about.
    Believe me you have to try it at least once in your life. Different apps for different categories. If you like Open-office -it is there, if you like Ekiga---It is there. I can not even count--but number of software is countless.
    So lets do it.
    In order to install Software Center , exit from Debian to full-screen console by pressing button combination Ctrl+Alt+F1 , login as root and type the following:

    Type sudo apt-get install software-center press ENTER

    I installed it in LXDE--so at some moment appeared such text:
    Code:
    Configuration file '/etc/apt/apt.conf.d/10periodic'
    ==>File on system created by you or by a script.
    ==>File also in package provided by package maintainer.
    What would you like to do about it ? Your options are:
    Y or I  :install the packge maintainer's version
    N or O  : keep your curently-installed version
    D          : show the difference between the versions
    Z           : start the shell to examine the situation
    The default action is to keep your current version.
    ***10periodic (Y/I/N/O?D/Z)     [default=N]  ?  _ 
    So here you just press letter y and press ENTER

    After installation is complete---press button combination Ctrl+Alt+F7 in order to return to Desktop Environment.

    Click on Start Menu-Preferences-Software Center in order to start it.

    Install all your preferred Software and Enjoy Your newly installed Debian.

    Post-Install System Configuration

    First thing you have to check after installation is Software Sources ---Start Menu-Preferences-Software Sources.
    Make sure that all sources are ticked also tick for software updates on daily basis--it will check for it.
    Also after I installed Software Center--in menu appeared Update Manager.
    So update your System with Update Manager.
    You are now ready to use your up to date system. Enjoy.


    Happy Time with Debian
    Attached Thumbnails Attached Thumbnails foto1665.jpg   foto1666.jpg   foto1667.jpg   foto1668.jpg   foto1670.jpg  

    foto1671.jpg   foto1672.jpg   foto1673.jpg   foto1674.jpg   foto1675.jpg  

    foto1676.jpg   foto1677.jpg   foto1679.jpg   foto1680.jpg   foto1681.jpg  

    foto1682.jpg   foto1683.jpg   foto1684.jpg   foto1685.jpg   foto1686.jpg  

    foto1694.jpg   foto1695.jpg   foto1696.jpg   foto1697.jpg  
    Last edited by SkyNet; 12-05-2012 at 07:28 AM.

    Best Regards from PS3 Linux User
    Reply With Quote  

  2. #2  
    r04drunner's Avatar
    r04drunner is offline Developer
    Join Date
    Jul 2011
    Posts
    78
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    22
    Hi,

    I answered you about to create an user on the other thread (Help Wanted. How to install XUBUNTU or YDL to proper HDD-Partition on ps3--namely ps3dd ? Please help me to try Xubuntu on ps3....), but I had not seen that you had solved it .

    Actually, you don't need to create the user directoy at /home, because It will by created by the "adduser" command.

    Greetings
    SkyNet likes this.
    Reply With Quote  

  3. #3  
    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
    Cool I am in the news now...

    I am very glad that I created this guide.

    I hope that with simplicity in mind this guide will help to easily install Linux to ps3 for as many users as possible...

    Especially It is useful for people with broken BD-Drive.....

    I am very happy... Linux rocks....
    Dead likes this.

    Best Regards from PS3 Linux User
    Reply With Quote  

  4. #4  
    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
    Thank you guys for your support. I am so happy. I hope my tutorial will help with Linux Installation. Linux is the best....
    Dead, archicharmer and pmaster like this.

    Best Regards from PS3 Linux User
    Reply With Quote  

  5. #5  
    r04drunner's Avatar
    r04drunner is offline Developer
    Join Date
    Jul 2011
    Posts
    78
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    22
    Hi,

    I see you've completed the howto. I'm glad about that .

    Greetings
    Reply With Quote  

  6. #6  
    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
    Yep, I did. Thank you for the help. Friends forever...
    Dead and pmaster like this.

    Best Regards from PS3 Linux User
    Reply With Quote  

  7. #7  
    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
    r04drunner I have to you question. We all know that in Ubuntu is possible to use Software -center to install software.
    Well I now use Synaptic to install it. But is there exist Software-center for Debian?

    I am just using Debian for the first time--so i am not really familiar with it. All i know is that it is really stable, and all Popular Linux OSs are based on it.

    Can you tell me anyting about it?

    Best Regards from PS3 Linux User
    Reply With Quote  

  8. #8  
    r04drunner's Avatar
    r04drunner is offline Developer
    Join Date
    Jul 2011
    Posts
    78
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    22
    Quote Originally Posted by SkyNet View Post
    r04drunner I have to you question. We all know that in Ubuntu is possible to use Software -center to install software.
    Well I now use Synaptic to install it. But is there exist Software-center for Debian?

    I am just using Debian for the first time--so i am not really familiar with it. All i know is that it is really stable, and all Popular Linux OSs are based on it.

    Can you tell me anyting about it?
    Hi,

    Yes, the same tool is available at the Debian repository.

    Greetings
    SkyNet and pmaster like this.
    Reply With Quote  

  9. #9  
    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
    Cool. So it means that software-center can also be used in Debian? Then I need to add it to tutorial...

    Do you think it is possible to install it in LXDE? I just think like before we had Software -Center in GNOME, but here I do use LXDE in order to have good performance .

    Best Regards from PS3 Linux User
    Reply With Quote  

  10. #10  
    r04drunner's Avatar
    r04drunner is offline Developer
    Join Date
    Jul 2011
    Posts
    78
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    22
    Quote Originally Posted by SkyNet View Post
    Cool. So it means that software-center can also be used in Debian? Then I need to add it to tutorial...

    Do you think it is possible to install it in LXDE?
    You can install it by executing the next command:

    Code:
    sudo apt-get install software-center
    Yes, you can use it with LXDE, XFCE and Gnome.

    Greetings
    SkyNet and pmaster like this.
    Reply With Quote  

Page 1 of 3 1 2 3 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •