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;
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/procCode: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...
/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
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...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
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:
Press Ctrl+x press letter y press ENTERCode: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
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:
Press Ctrl+x press letter y press ENTERCode:KERNEL=="ps3vflashf", SYMLINK+="ps3flash"
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:
So here you just press letter y and press ENTERCode: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] ? _
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


46Likes
LinkBack URL
About LinkBacks






.
