Editing Resizing VFLASH Storage Device
Jump to navigation
Jump to search
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: | ||
= 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 | 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 19: | Line 18: | ||
'''I did all these steps from a Linux with my kernel booted by BootOS but it's not necessary and can be easily done from GameOS itself'''. I implemented my dual boot on 3.41 PS3 from GameOS before SONY took it away. | '''I did all these steps from a Linux with my kernel booted by BootOS but it's not necessary and can be easily done from GameOS itself'''. I implemented my dual boot on 3.41 PS3 from GameOS before SONY took it away. | ||
== Advantages Of Installing Linux on VFLASH == | == Advantages Of Installing Linux on VFLASH == | ||
Line 26: | Line 23: | ||
* 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 | ||
= Dumping HDD Partition Table = | = Dumping HDD Partition Table = | ||
Line 33: | Line 28: | ||
* Partition table is stored on first sectors of HDD | * Partition table is stored on first sectors of HDD | ||
* Dump it with my '''ps3disk''' Linux kernel driver or with GameOS and HV call '''lv1_storage_read''' | * Dump it with my '''ps3disk''' Linux kernel driver or with GameOS and HV call '''lv1_storage_read''' | ||
<pre> | <pre> | ||
# dd if=/dev/ps3da of=partition_table_old.bin bs=512 count=2 | # dd if=/dev/ps3da of=partition_table_old.bin bs=512 count=2 | ||
</pre> | </pre> | ||
= Removing GameOS Partitions From HDD = | = Removing GameOS Partitions From HDD = | ||
There are actually 2 methods i used to do these. First method is to modify the HDD partition table directly. The second method is to use my PS3 Linux kernel and '''ps3stormgr''' kernel module | There are actually 2 methods i used to do these. First method is to modify the HDD partition table directly. The second method is to use my PS3 Linux kernel and '''ps3stormgr''' kernel module. | ||
== 1. Method == | == 1. Method == | ||
== 2. Method == | == 2. Method == | ||
* You will need my '''ps3stormgr''' Linux kernel module and '''ps3stor-utils''' | * You will need my '''ps3stormgr''' Linux kernel module and '''ps3stor-utils''' | ||
= Patching HDD Partition Table = | = Patching HDD Partition Table = | ||
= Adding New VFLASH Region = | = Adding New VFLASH Region = | ||