Editing Resizing VFLASH Storage Device

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]]
= Introduction =
= Introduction =


Line 8: Line 7:
HV hides VFLASH HDD region from LPAR 2 and it doesn't see it.
HV hides VFLASH HDD region from LPAR 2 and it doesn't see it.


First, i resized the VFLASH. '''By doing this, you will lose your data on HDD but NOT on VFLASH !!!
First, i resized the VFLASH. '''By doing this, you will loose your data on HDD but NOT on VFLASH !!!
VFLASH data remains untouched. Resizing VFLASH doesn't cause corruption of data already installed there !!!
VFLASH data remains untouched. Resizing VFLASH doesn't cause corruption of data already installed there !!!
So backup your GameOS data from UFS2 partition before you will do it.'''
So backup your GameOS data from UFS2 partition before you will do it.'''
Line 26: Line 25:
* VFLASH is HDD, so you won't loose any performance compared with HDD
* VFLASH is HDD, so you won't loose any performance compared with HDD
* You won't loose your Linux if GameOS reformats your HDD
* You won't loose your Linux if GameOS reformats your HDD
* By upgrading/downgrading PS3's firmware you won't loose your Linux region. The only problem is how to boot Linux  again :-)
* But now that SONY knows how we can install Linux on the HDD of a PS3 slim they could of course make it harder for us in the future firmwares.


= Dumping HDD Partition Table =
= Dumping HDD Partition Table =
Line 78: Line 75:


== 1. Method ==
== 1. Method ==
On Linux/Windows/Mac (from a PC), create a new partition table. No partitions need be created.


== 2. Method ==
== 2. Method ==
Line 116: Line 111:


I set sector count of VFLASH region to '''0x4080000''' sectors.
I set sector count of VFLASH region to '''0x4080000''' sectors.
Of course you shouldn't use here sector count larger than your HDD allows :-)


== Writing Patched HDD Partition Table to HDD ==
== Writing Patched HDD Partition Table to HDD ==
Line 130: Line 123:
= Adding New VFLASH Region =
= Adding New VFLASH Region =


* Now the last step is adding new VFLASH region where we can install our beloved Linux :-)
* '''VFLASH storage device has one unused region - region #7 - which we can use !!!'''
* To complete this step you will need my '''ps3stor-utils''' and my Linux kernel driver '''ps3stormgr'''
* Make sure you reboot after patching HDD partition table
<pre>
# ps3stor_region /dev/ps3stormgr create 4 0x80000 0x4000000 0x1070000002000001
</pre>
* The above command creates a new VFLASH region which starts at sector '''0x80000''' and has '''0x4000000''' sectors.
You can of course use another value for sector count. But it shouldn't be larger than the free space you added to VFLASH of course :-)
* The command should return '''0x7'''. It means the new region has index 7.
* Now reboot your Linux and if you are using my VFLASH Linux driver then you should see now a new VFLASH device '''/dev/ps3vflashh'''.
* Now you can partition it with '''fdisk''' e.g. and install Linux there :-) Have fun.
* If you have any problems then contact me and i will try to help you.






{{Linux}}<noinclude>[[Category:Main]]</noinclude>
'''TO BE CONTINUED !!!'''
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)