TranslateProject/sources/tech/20210707 How to Know if Your System Uses MBR or GPT Partitioning -on Windows and Linux.md
DarkSun 58a45a7507 选题[tech]: 20210707 How to Know if Your System Uses MBR or GPT Partitioning [on Windows and Linux]
sources/tech/20210707 How to Know if Your System Uses MBR or GPT Partitioning -on Windows and Linux.md
2021-07-07 05:03:04 +08:00

5.4 KiB
Raw Blame History

How to Know if Your System Uses MBR or GPT Partitioning [on Windows and Linux]

Knowing the correct partitioning scheme of your disk could be crucial when you are installing Linux or any other operating system.

There are two popular partitioning schemes; the older MBR and the newer GPT. Most computers use GPT these days.

While creating the live or bootable USB, some tools (like Rufus) ask you the type of disk partitioning in use. If you choose GPT with an MBR disk, the bootable USB might not work.

In this tutorial, Ill show various methods to check the disk partitioning scheme on Windows and Linux systems.

Check whether your system uses MBR or GPT on Windows systems

While there are several ways to check the disk partitioning scheme in Windows including command line ones, Ill stick with the GUI methods.

Press the Windows button and search for disk and then click on “Create and format disk partitions“.

In here, right-click on the disk for which you want to check the partitioning scheme. In the right-click context menu, select Properties.

Right click on the disk and select properties

In the Properties, go to Volumes tab and look for Partition style.

In Volumes tab, look for Partition style

As you can see in the screenshot above, the disk is using GPT partitioning scheme. For some other systems, it could show MBR or MSDOS partitioning scheme.

Now you know how to check disk partitioning scheme in Windows. In the next section, youll learn to do the same in Linux.

Check whether your system uses MBR or GPT on Linux

There are several ways to check whether a disk uses MBR or GPT partitioning scheme in Linux as well. This includes commands and GUI tools.

Let me first show the command line method and then Ill show a couple of GUI methods.

Check disk partitioning scheme in Linux command line

The command line method should work on all Linux distributions.

Open a terminal and use the following command with sudo:

sudo parted -l

The above command is actually a CLI-based partitioning manager in Linux. With the option -l, it lists the disks on your system along with the details about those disks. It includes partitioning scheme information.

In the output, look for the line starting with Partition Table:

In the above screenshot, the disk has GPT partitioning scheme. For MBR, it would show msdos.

You learned the command line way. But if you are not comfortable with the terminal, you can use graphical tools as well.

Checking disk information with GNOME Disks tool

Ubuntu and many other GNOME-based distributions have a built-in graphical tool called Disks that lets you handle the disks in your system.

You can use the same tool for getting the partition type of the disk as well.

Checking disk information with Gparted graphical tool

If you dont have the option to use GNOME Disks tool, no worries. There are other tools available.

One such popular tool is Gparted. You should find it in the repositories of most Linux distributions. If not installed already, install Gparted using your distributions software center or package manager.

In Gparted, select the disk and from the menu select View->Device Information. It will start showing the disk information in the bottom-left area and this information includes the partitioning scheme.

See, not too complicated, was it? Now you know multiple ways of figuring our whether the disks in your system use GPT or MBR partitioning scheme.

On the same note, I would also like to mention that sometimes disks also have a hybrid partitioning scheme. This is not common and most of the time it is either MBR or GPT.

Questions? Suggestions? Please leave a comment below.


via: https://itsfoss.com/check-mbr-or-gpt/

作者:Abhishek Prakash 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出