difference between MBR and disk label

Posted on

Problem :

Is MBR/partition table = disk label ?

I read about about the description of disk label as

The first sector of a disk that contains disk geometry and partition
information.

http://docs.oracle.com/cd/E19253-01/817-5093/6mkisoq4v/index.html

enter image description here

And what I read talks about EFI and VTOC (Volume Table of Contents), e.g.
http://docs.oracle.com/cd/E19455-01/805-7228/6j6q7uet6/index.html

About Disk Labels

A special area of every disk is set aside for storing information about the disk’s controller, geometry, and slices. That information is
called the disk’s label. Another term used to described the disk label
is the VTOC (Volume Table of Contents).

But isn’t MBR considered to be a disk label too since it is on the 1st sector of a disk as well ?

What is the difference between MBR and VTOC?

Solution :

A “disklabel” defines the boundaries of sections of the hard drive. The MBR does this same thing. The GPT format does the same thing. They are different ways to do the same thing.

Here’s an analogy: it is like having a text file that says:

Prefix=Mr. FirstName=George LastName=Washington

and another file that says:

[FamilyName:Washington] [FirstName:George] [Gender:Male]

Both descriptions provide essentially the same details about the person, but the technical ways that it is done are a bit different.

If you use a BSD operating system, it will likely rely mostly on the BSD disklabel. (In fact, some software will call the BSD disklabel a “bsdlabel”.) If you use Microsoft Windows, you’re more likely to rely more on the information in the MBR. (I’m not commenting much on what supports GPT, since it is newer and, as I write this, specific details about support have been changing over the years. Basically, though, the GPT is another way to record the same sort of information.)

The BSD disklabel can co-exist alongside with the MBR. Both the BSD disklabel and the MBR describe boundaries; these are separate descriptions, so they don’t affect each other. (It only makes sense to have both of these descriptions provide identical values for the details. If the different descriptions are providing different values, that would be confusing because there would be some question about which record is more trustworthy)

Which one do you want to use? Well, if you’re using a hard drive over 2TB, the answer is not MBR. (It may be GPT.) Beyond that, the answer is probably going to depend on what operating system you’re using. If you use multiple operating systems, you might use both.

“Disklabel” is a generic term for the block of information which describes the disk’s structure (partitions and sometimes boot information).

PCs usually use either the MBR (aka “MS-DOS”) format disklabel, or the newer GPT one. (Older BSD systems also have their own disklabel format, which either replaces MBR or is nested inside it.) Earlier Mac computers used to use “Apple Partition Map” (APM).

Leave a Reply

Your email address will not be published. Required fields are marked *