Created
May 14, 2025 17:01
-
-
Save jevinskie/bccaf9397397e97cdd8373a640fedcbc to your computer and use it in GitHub Desktop.
parti MBR/GPT dumper demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# parti dumps more detailed info than fdisk etc | |
# https://github.com/wfeldt/parti | |
# depends on: https://github.com/openSUSE/checkmedia | |
-> 🌩 % sudo ~/base/util/bin/parti --verbose /dev/sda | |
/dev/sda: 480103981056 bytes | |
- - - - - - - - - - - - - - - - | |
mbr id: 0x00000000 | |
sector size: 512 | |
disk size: 937703088 | |
mbr partition table (chs 58369/255/63, inconsistent geo): | |
1 1 - 937703087 (size 937703087), chs 0/0/2 - 1023/255/63, [ref 0.0] | |
type 0xee (gpt) | |
- - - - - - - - - - - - - - - - | |
gpt (primary) guid: 17afffd8-cbde-488b-bd65-ea232a1f0464 | |
sector size: 512 | |
disk size: 937703088 | |
revision: 1.0 | |
header: size 92, crc 0xb6cb5837 - ok | |
position: current 1, backup 937703087 | |
usable area: 34 - 937703054 (size 937703021) | |
partition table: 2 - 33 (size 32, crc 0xd93f50dc - ok), entries 128, entry_size 128 | |
1 2048 - 2099199 (size 2097152) | |
type c12a7328-f81f-11d2-ba4b-00a0c93ec93b (efi system), attributes 0x0 | |
guid 51c8ef6b-f3a3-4d7c-b202-5660b7c79c39 | |
name[20] "EFI system partition" | |
fs "vfat", uuid "7897-0D58" | |
fat32: | |
sector size: 512 | |
bpb[90], oem "mkfs.fat", media 0xf8, drive 0x80, hs 255/63 | |
vol id 0x78970d58, label "NO NAME", fs type "FAT32" | |
extflags 0x00, fs ver 0.0, fs info 1, backup bpb 6 | |
fs size 2097144, hidden 2048, data start 4128 | |
cluster size 8, clusters 261627 | |
fats 2, fat size 2048, fat start 32 | |
root cluster 2 | |
2 2099200 - 2131967 (size 32768) | |
type e3c9e316-0b5c-4db8-817d-f92df00215ae, attributes 0x8000000000000000 | |
guid 9ecccc18-6399-4897-9fcf-d3c1cd5dabcc | |
name[28] "Microsoft reserved partition" | |
3 2131968 - 329779199 (size 327647232) | |
type ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 (windows data), attributes 0x0 | |
guid 07cfaeec-b5ef-4b90-bf05-104b38409290 | |
name[20] "Basic data partition" | |
4 329779200 - 937699327 (size 607920128) | |
type 0fc63daf-8483-4772-8e79-3d69d8477de4 (linux data), attributes 0x0 | |
guid 01ded77f-46a3-4624-b2c2-c67db0c5ad30 | |
name[0] "" | |
fs "ext4", uuid "994be80c-814f-424c-babc-bb4365bb65a4" | |
- - - - - - - - - - - - - - - - | |
gpt (backup) guid: 17afffd8-cbde-488b-bd65-ea232a1f0464 | |
sector size: 512 | |
disk size: 937703088 | |
revision: 1.0 | |
header: size 92, crc 0x8dd6a63f - ok | |
position: current 937703087, backup 1 | |
usable area: 34 - 937703054 (size 937703021) | |
partition table: 937703055 - 937703086 (size 32, crc 0xd93f50dc - ok), entries 128, entry_size 128 | |
1 2048 - 2099199 (size 2097152) | |
type c12a7328-f81f-11d2-ba4b-00a0c93ec93b (efi system), attributes 0x0 | |
guid 51c8ef6b-f3a3-4d7c-b202-5660b7c79c39 | |
name[20] "EFI system partition" | |
fs "vfat", uuid "7897-0D58" | |
fat32: | |
sector size: 512 | |
bpb[90], oem "mkfs.fat", media 0xf8, drive 0x80, hs 255/63 | |
vol id 0x78970d58, label "NO NAME", fs type "FAT32" | |
extflags 0x00, fs ver 0.0, fs info 1, backup bpb 6 | |
fs size 2097144, hidden 2048, data start 4128 | |
cluster size 8, clusters 261627 | |
fats 2, fat size 2048, fat start 32 | |
root cluster 2 | |
2 2099200 - 2131967 (size 32768) | |
type e3c9e316-0b5c-4db8-817d-f92df00215ae, attributes 0x8000000000000000 | |
guid 9ecccc18-6399-4897-9fcf-d3c1cd5dabcc | |
name[28] "Microsoft reserved partition" | |
3 2131968 - 329779199 (size 327647232) | |
type ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 (windows data), attributes 0x0 | |
guid 07cfaeec-b5ef-4b90-bf05-104b38409290 | |
name[20] "Basic data partition" | |
4 329779200 - 937699327 (size 607920128) | |
type 0fc63daf-8483-4772-8e79-3d69d8477de4 (linux data), attributes 0x0 | |
guid 01ded77f-46a3-4624-b2c2-c67db0c5ad30 | |
name[0] "" | |
fs "ext4", uuid "994be80c-814f-424c-babc-bb4365bb65a4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment