Gpt partition table
Перейти к навигации
Перейти к поиску
Old table
Number | Size | Start sector | Sector count | Name |
---|---|---|---|---|
2 | 3145728 | 0 | 1536 | BCT |
3 | 524288 | 1536 | 256 | PT |
4 | 2097152 | 1792 | 1024 | EBT |
5 | 5242880 | 2816 | 2560 | SOS |
6 | 8388608 | 5376 | 4096 | LNX |
7 | 1048576 | 9472 | 512 | MBR |
8 | 314572800 | 9984 | 153600 | APP |
9 | 419430400 | 163584 | 204800 | CAC |
10 | 2097152 | 368384 | 1024 | MSC |
11 | 524288 | 369408 | 256 | EM1 |
12 | 1294991360 | 369664 | 632320 | UDA |
13 | 524288 | 1001984 | 256 | EM2 |
14-8G | 5950144512 | 1002240 | 2876672 | UDB |
14-32G | 5950144512 | 1002240 | ||
UDB |
old table gpt sizes 8Gb
Model: MMC SEM08G (sd/mmc) Disk /dev/mmcblk1: 15515648s Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 7168s 17407s 10240s ext2 SOS 2 17408s 33791s 16384s ext2 LNX 3 35840s 650239s 614400s ext3 APP 4 650240s 1469439s 819200s ext3 CAC 5 1469440s 1473535s 4096s ext3 MSC 6 1474560s 4003839s 2529280s ext3 UDA
Beta4 Resized table
Model: MMC SEM08G (sd/mmc) Disk /dev/mmcblk1: 15515648s Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 7168s 17407s 10240s ext2 SOS 2 17408s 33791s 16384s ext2 LNX 3 35840s 1085439s 1049600s APP 4 1085440s 1904639s 819200s CAC 5 1904640s 1908735s 4096s MSC 6 1909760s 10101759s 8192000s UDA 7 10102784s 15511551s 5408768s UDB
GPT Table
Number | Size | Start sector | Sector count | Name | Desc |
---|---|---|---|---|---|
1 | 64MB | 35 | SOS | /recovery | |
2 | 64MB | LNX | /boot | ||
3 | 512MB | APP | ANDROID /system | ||
4 | 512MB | CAC | ANDROID /cache | ||
5 | 2MB | MSC | ANDROID /misc | ||
6 | 2784MB | UDA | ANDROID /data | ||
7 | 4000MB | UDB | LINUX / |
Something goes wrong on 8gb emmc
parted /dev/mmcblk1 -s mkpart primary 3670kB 68MB parted /dev/mmcblk1 -s mkpart primary 68MB 132MB parted /dev/mmcblk1 -s mkpart primary 132MB 644MB parted /dev/mmcblk1 -s mkpart primary 644MB 1156MB parted /dev/mmcblk1 -s mkpart primary 1156MB 1158MB parted /dev/mmcblk1 -s mkpart primary 1158MB 3942MB parted /dev/mmcblk1 -s mkpart primary 3942MB 7943MB parted /dev/mmcblk1 -s name 1 SOS name 2 LNX name 3 APP name 4 CAC name 5 MSC name 6 UDA name 7 UDB parted /dev/mmcblk1 print
GPT table in sectors
Model: MMC SEM08G (sd/mmc) Disk /dev/mmcblk1: 15515648s Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 7168s 132168s 125001s ext2 primary 2 132169s 257169s 125001s primary 3 257170s 1257170s 1000001s primary 4 1257171s 2257171s 1000001s primary 5 2257172s 2261078s 3907s primary 6 2261079s 7698579s 5437501s primary 7 7698580s 15513695s 7815116s primary
Correct parted commands
parted /dev/mmcblk1 -s mkpart primary 7168s 132168s parted /dev/mmcblk1 -s mkpart primary 132169s 257169s parted /dev/mmcblk1 -s mkpart primary 257170s 1257170s parted /dev/mmcblk1 -s mkpart primary 1257171s 2257171s parted /dev/mmcblk1 -s mkpart primary 2257172s 2261078s parted /dev/mmcblk1 -s mkpart primary 2261079s 7698579s parted /dev/mmcblk1 -s mkpart primary 7698580s 15513695s parted /dev/mmcblk1 -s name 1 SOS name 2 LNX name 3 APP name 4 CAC name 5 MSC name 6 UDA name 7 UDB parted /dev/mmcblk1 unit s print