If you want to work with partitions, there's a choice.
Either you use the old way, MBR, or you go for the new way,
which is GPT.
Let's talk about it.
MBR is Master Boot Record.
It was invented in 1981.
And it works with basic input-output system, or BIOS,
to store partition information in a 512 bytes on-disk area,
as well as the bootstrap loader.
The bootstrap loader is taking care
of loading your operating system.
And with this bootstrap loader, there
is 64 bytes remaining for partitions.
And that gives you place for four primary partitions
with a size of 16 bytes each to address metadata information
about these partitions.
To address more partitions, extended and logical partitions
are needed.
So the trick is that one of the primary partitions
is used as an extended partition.
And within the extended partition,
you can create logical partitions.
Now, in MBR, you can address a maximum
of two tebibytes of storage.
And that is for the simple reason
that there is only 64 bits.
And in 64 bits, well, addresses that can be used
are maximized.
Storage is limited.
FDisk is the recommended utility to create MBR partitions.
GWT partition table, or GPT, was developed
to manage the shortcomings of MBR.
It was introduced in 2010.
And it offers larger area to store up
to 128 partitions in total.
Because in GPT, many partitions can be stored,
there is no more need for extended partitions.
And GPT is the default on systems
that work with the Unified Extensible Firmware
Interface, or UEFI, which is a default on all physical systems
nowadays.
Partet or GDisk are the tools to work with GPT partitions.
But nowadays, FDisk has been modified
to manage GPT partitions also.
That depends on your distribution.
If you're on Red Hat, you can use FDisk.
But if I may give you a tip for your exam,
make sure that you're also familiar with the Partet
utility.
There might be some questions about them.