7

Question: Should I use fdisk when creating partitions?

Or is it advisable to use parted since it uses GPT? (by default?) And with that I can create partitions larger than 2TB.

7

MBR: Wikipedia excerpt; link

A master boot record (MBR) is a special type of boot sector at the very beginning of partitioned computer mass storage devices like fixed disks or removable drives intended for use with IBM PC-compatible systems and beyond. The concept of MBRs was publicly introduced in 1983 with PC DOS 2.0.

I intentionally pasted this for you to see that MBR comes all the way from 1983.


GPT: Wikipedia excerpt; link

GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical storage device used in a desktop or server PC, such as a hard disk drive or solid-state drive, using globally unique identifiers (GUID). Although it forms a part of the Unified Extensible Firmware Interface (UEFI) standard (Unified EFI Forum proposed replacement for the PC BIOS), it is also used on some BIOS systems because of the limitations of master boot record (MBR) partition tables, which use 32 bits for storing logical block addresses (LBA) and size information on a traditionally 512 byte disk sector.


To answer your question, I advise you to use GPT partitioning where possible; in other words, if you don't have to use MBR, use GPT instead:

  • it has a backup partition table

  • it has no ridiculous limit for primary partitions, bye bye extended partitions

  • it also stores cyclic redundancy check (CRC) values to check that its data is intact

  • as you mentioned, it supports large drives


The usual tools with links to wiki or manual follow.

MBR in a CLI:

GPT in a CLI:

For both MBR and GPT in a CLI:

For both MBR and GPT in a GUI:

3

fdisk from linux-utils 2.30.2 now understands GPT tables

0

To create GPT partitions, I recommend gdisk ("GPT fdisk") instead of fdisk.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.