Editing Partitions

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 91: Line 91:
|}
|}
=== Partition Code ===
=== Partition Code ===
The partition code uniquely identifies the partition to its function.
The partition code uniquely identifies the partition to its function. It is related to [[SceKernelModulemgr#Partition Code]] but the meaning of the code is still unknown.
 
It is related to [[SceKernelModulemgr#Partition Code]] but the meaning of the code is still unknown.
 
=== Partition Type ===
The partition type code indicates the file system used or if there is no file system (for example, in the case of a [[SLB2]] archive).
{| class="wikitable"
{| class="wikitable"
|-
|-
! Code
! Code
! Description
|-
| 0x6
| FAT16
|-
| 0x7
| exFAT
|-
| 0xDA
| Raw data
|}
=== Partition Active ===
Some partitions (specifically <code>os0</code> and the boot loaders) have a shadow redundant copy. On update, only the inactive partition is written to and finally the active partition is swapped. For partitions that do not use this feature, this value is ignored.
== Default Partitions ==
{| class="wikitable"
! Name
! Name
! PartitionSize
! Location Seen
! Code
! Type
! Physical
! Description
! Description
|-
|-
| 0x0
|  
|  
|  
|  
| 0x0
| raw
| [[EMMC]]
| empty partition
| empty partition
|-
|-
| 0x1
|  
|  
|  
| Internal
| 0x1
| first eMMC partition, some data, [[IdStorage]]?
| raw
| [[EMMC]]
| first eMMC partition, some data [[IdStorage]]?
|-
|-
| 0x2
|  
|  
|  
| Internal
| 0x2
| raw
| [[EMMC]]
| [[SLB2]] [[Boot Sequence|Boot loaders]]
| [[SLB2]] [[Boot Sequence|Boot loaders]]
|-
|-
| [[Files_on_the_PS_Vita#os0|os0]]
| 15.96MB
| 0x3
| 0x3
| [https://en.wikipedia.org/wiki/File_Allocation_Table#FAT16 FAT16]
| os0
| [[EMMC]]
| Internal
| The “main” OS files. Includes all the [[kernel libraries]] and the most important [[user libraries]]. There is always two copies of this for redundancy and updating will only update the inactive partition and the active flag is swapped.
| Main OS partition, contains kernel [[Libraries#Kernel|libraries]]
|-
|-
| [[Files_on_the_PS_Vita#pd0|pd0]]
| 0x4
| 303.91 MB
| vs0
| 0xE
| Internal
| [https://en.wikipedia.org/wiki/ExFAT exFAT]
| Contains [[Libraries#System Applications|system applications]] & libraries
| [[EMMC]]
| [[Welcome Park]] and [[Intro Video]]. It is also the “preinst” PUP update.
|-
|-
| [[Files_on_the_PS_Vita#sa0|sa0]]
| 0x5
| 95.95 MB
| vd0
| 0xC
| Internal
| [https://en.wikipedia.org/wiki/File_Allocation_Table#FAT16 FAT16]
| [[Registry]] and error history
| [[EMMC]]
| The “bulky” data like fonts and handwriting information. Why is it a separate partition? Because it makes updates smaller. Your “systemdata” PUP provides the update for this partition.
|-
|-
| [[Files_on_the_PS_Vita#sd0|sd0]]
|
|
| [https://en.wikipedia.org/wiki/File_Allocation_Table#FAT16 FAT16]
|
| Unique to DEVKITs? (Needs confirmation on this). Used for sdcard storage (updates).
|-
| [[Files_on_the_PS_Vita#tm0|tm0]]
| 31.95 MB
| 0x6
| 0x6
| [https://en.wikipedia.org/wiki/File_Allocation_Table#FAT16 FAT16]
| tm0
| [[EMMC]]
| Internal
| eMMC-NAND npdrm partition.
| Unknown, has an empty folder <code>nphome</code>
|-
|-
| [[Files_on_the_PS_Vita#ud0|ud0]]
| 255.91 MB
| 0xB
| [https://en.wikipedia.org/wiki/File_Allocation_Table#FAT16 FAT16]
| [[EMMC]]
| When you update the Vita, the update file is copied here and the system reboots.
|-
| [[Files_on_the_PS_Vita#ur0|ur0]]
| 2.52 or 2.55 GB
| 0x7
| 0x7
| [https://en.wikipedia.org/wiki/ExFAT exFAT]
| ur0
| [[EMMC]]
| Internal
| NAND is the remaining user data that is structured similarly to the memory card (it shares almost the same directory structure). App icon layout for example is found here.
| User resources, [[LiveArea]] cache, database, & other stuff
|-
|-
| [[Files_on_the_PS_Vita#ux0|ux0]]
| varies
| 0x8
| 0x8
| [https://en.wikipedia.org/wiki/ExFAT exFAT]
| ux0
| [[Memory_Card]]
| Memory Card
| User Storage, commonly used for homebrew
| [[Memory Card]]
|-
| 0x9
| gro0
| Game Card
| [[Game Card]]
|-
|-
| [[Files_on_the_PS_Vita#vd0|vd0]]
| 0xA
| 31.95 MB
| grw0
| 0x5
| Game Card
| [https://en.wikipedia.org/wiki/File_Allocation_Table#FAT16 FAT16]
| [[Game Card]] writable area
| [[EMMC]]
|-
| [[Registry]] and [[error history]]
| 0xB
| ud0
| Internal
| [[Updater]] copied here before reboot
|-
|-
| [[Files_on_the_PS_Vita#vs0|vs0]]
| 0xC
| 255.73 MB
| sa0
| 0x4
| Internal
| [https://en.wikipedia.org/wiki/File_Allocation_Table#FAT16 FAT16]
| Dictionary and font data
| [[EMMC]]
| Rest of the OS including all the system apps, the main shell, and the remaining user libraries.
|-
|-
| gro0
| 0xD
| varies
| 0x9
|  
|  
| [[Game_Card]]
| External
| Read-Only partition of the Game Card
| Some data on [[Memory Card]] & [[Game Card]]
|-
| 0xE
| pd0
| Internal
| [[Welcome Park]] and welcome video
|}
 
=== Partition Type ===
The partition type code indicates the file system used or if there is no file system (for example, in the case of a [[SLB2]] archive).
{| class="wikitable"
|-
! Code
! Description
|-
|-
| grw0
| 0x6
| varies
| FAT16
| 0xA
|-
|  
| 0x7
| [[Game_Card]]
| exFAT
| Read-Write partition of the game card if supported (for storing save games, patches and DLC of the game to cartridge).
|-
| 0xDA
| Raw data
|}
|}
=== Partition Active ===
Some partitions (specifically <code>os0</code> and the boot loaders) have a shadow redundant copy. On update, only the inactive partition is written to and finally the active partition is swapped. For partitions that do not use this feature, this value is ignored.
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita 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)