Editing Booting Linux from PS3 internal HDD

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[Category:OtherOS]]
[[Category:PS3]]
''' Source: graf_chokolo @ http://ps3wiki.lan.st/index.php/Booting_Linux_from_internal_HDD '''
''' Source: graf_chokolo @ http://ps3wiki.lan.st/index.php/Booting_Linux_from_internal_HDD '''
----
----
Line 18: Line 18:
custom=/boot/vmlinux-2.6.37-custom initrd=/boot/initrd.img-2.6.37-custom root=/dev/ps3dd1
custom=/boot/vmlinux-2.6.37-custom initrd=/boot/initrd.img-2.6.37-custom root=/dev/ps3dd1
</pre>
</pre>
''' Source: graf_chokolo @ http://ps3wiki.lan.st/index.php/Installing_Linux_on_internal_HDD '''
----
= Booting Debian netinstall with petitboot from USB =
* I used a netboot image of Debian for installation: http://d-i.debian.org/daily-images/powerpc/daily/powerpc64/netboot/
* Download '''vmlinux''' and '''initrd.gz''' and store it on a USB device
* Mount the USB device with petitboot on '''/mnt/usb'''
That's how i booted Debian netinstall from petitboot:
<pre>
kexec -l /mnt/usb/vmlinux --initrd=/mnt/usb/initrd.gz --append="root=/dev/ps3da1 video=720p"
sync
kexec -e
swapoff -a
</pre>
= Installing Debian on internal HDD =
* The problem with the default Debian Installer is that it uses the default SONY ps3disk block device driver to access HDD. This driver tries to use the first accessible HDD region for installation, and in petitboot booted with GameOS rights the first accessible HDD region will be the one owned by GameOS (UFS2), so be carefull or you will install your Linux on GameOS HDD region.
* To fix this i patched HV temporarily and disabled access to all HDD regiosn except the one for Linux during Debian installation.
* In the next days i will try to recompile the Debian Squeeze Installer and replace the default SONY ps3disk device driver with my own which i already tested on my PS3 Linux successfully.
* Now, cryptr have build a proper Debian netinstall iso with graf_chokolo Kernel in order to allow the debian-installer to detect vflash. Here is the link with the iso and some explanations : http://cryptr.net/?dir=ps3
* graf_chokolo talking about GNU/Linux installation, and some issues about it : http://pastie.org/private/memiq2pokbbmeffmalbiaq ; http://pastie.org/private/by4d6ezmjbxycnresgcjg ( source : http://grafchokolo.com/ps3-development-page.html#comments ; website backup provide by cookie42 : http://www.multiupload.com/48HFI5KGET )
{{Linux}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)