Home  >  Article  >  Operation and Maintenance  >  What is mbr?

What is mbr?

藏色散人
藏色散人Original
2019-05-15 10:28:2152040browse

What is mbr?

MBR is the master boot record, the full name is Main Boot Record, which is a piece of boot (Loader) code located at the front of the disk. It is responsible for determining the legality of partitions and locating partition boot information when the disk operating system (DOS) reads and writes the disk. It is generated by the disk operating system (DOS) when initializing the hard disk.

Usually, we call the sector containing the MBR boot code the main boot sector. Because the boot code occupies most of the space in this sector, it is customary to call this sector the MBR sector (MBR for short). Since this sector assumes special management functions that are different from other ordinary storage spaces on the disk, as a special space that manages the entire disk space, it does not belong to any partition on the disk, so the formatting command in the partition space cannot clear the main disk space. Any information logged by the boot.

The master boot sector consists of three parts (occupies 512 bytes in total):

1. The master boot program is the master boot record (MBR) (occupies 446 bytes)

Can be found in the FDISK program, which is used to transfer system control to an operating system specified by the user and registered in the partition table when the hard disk is started.

2. Disk Partition Table (DPT, Disk Partition Table)

consists of four partition table entries (16 bytes each).

is responsible for describing the partition situation on the disk. Its content is determined by the disk media and the user when using FDISK to define the partition. (Details omitted)

3. End flag (occupies 2 bytes)

The value is AA55. When stored, the low bit is in front and the high bit is in the back, that is, it looks like 55AA (ten hexadecimal).

The above is the detailed content of What is mbr?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is PR?Next article:What is PR?