Insight: Difference Between MBR vs GPT: Linux Partitioning Guide For Beginner
You might see the two option while setting up your Harddisk. You’ll be asked whether you want to use MBR (Master Boot Record) or GPT (GUID Partition Table). This post is for beginner who are confused with these two terms. Today we’re explaining the difference between GPT and MBR.
MBR was introduced with IBM PC DOS 2.0 in March 1983 whereas GPT was developed in the late 1990s .MBR consists of 3 parts and the are master boot code, a partition table for the disk, and disk signature. It stores its data in the first sector of the disk. MBR only supports drives up to 2TB in size and can hold maximum number of 4 entries for primary partitions in Windows operating system.
To check if it’s MBR, you can use the
gdisk -l command
The first three partitions should be primary partition if you are using MBR but you can use the last partition as an extended partition which can be further subdivided into smaller logical partitions.
What is GPT?
GPT or GUID Partition Tables is a different format than the MBR and it supports more than 2 TB and up to 128 partitions. GUID Partition Table is composed of a Protective MBR and it also stores cyclic redundancy check (CRC) values to check that its data is intact.
If you want to install your system on a GPT disk, you must enable the Unified Extensible Firmware Interface (UEFI) by going through the bios configuration setting in your system.
If you want to check if you are using the GPT partition in Linux, use the
gdisk -l command
One of biggest advantage of GPT over MBR is, on an MBR disk, the partitioning and boot data is stored in one place. If this data is corrupted, you’re in trouble meanwhile in GPT stores multiple copies of this data across the disk, so you can recover if the data is corrupted.