Difference between revisions of "Linux Partition Table"
From Free Knowledge Base- The DUCK Project: information for everyone
m |
m |
||
Line 6: | Line 6: | ||
=== GPT === | === GPT === | ||
Use the command 'gdisk' which is GPT fdisk to work with your GPT partition table. | Use the command 'gdisk' which is GPT fdisk to work with your GPT partition table. | ||
+ | |||
+ | More useful might be 'parted'. Here is example output: | ||
+ | (parted) print | ||
+ | Model: ATA ST3500413AS (scsi) | ||
+ | Disk /dev/sda: 500GB | ||
+ | Sector size (logical/physical): 512B/512B | ||
+ | Partition Table: gpt | ||
+ | Disk Flags: | ||
+ | |||
+ | Number Start End Size File system Name Flags | ||
+ | 1 1049kB 1075MB 1074MB fat32 EFI System Partition boot, esp | ||
+ | 2 1075MB 18.3GB 17.2GB linux-swap(v1) | ||
+ | 3 18.3GB 156GB 137GB ext4 / | ||
+ | 4 156GB 293GB 137GB ext4 /2 | ||
+ | 5 293GB 500GB 207GB ext4 /share |
Revision as of 12:33, 30 August 2019
MBR (Master Boot Record) and GPT (GUID Partition Table) are two different types of partition table available to linux users now.
- MBR standards for Master Boot Record. It was introduced with IBM PC DOS 2.0 in 1983.
- GPT stands for GUID Partition Table. It is associated with UEFI
GPT
Use the command 'gdisk' which is GPT fdisk to work with your GPT partition table.
More useful might be 'parted'. Here is example output:
(parted) print Model: ATA ST3500413AS (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 1049kB 1075MB 1074MB fat32 EFI System Partition boot, esp 2 1075MB 18.3GB 17.2GB linux-swap(v1) 3 18.3GB 156GB 137GB ext4 / 4 156GB 293GB 137GB ext4 /2 5 293GB 500GB 207GB ext4 /share