MBR (master boot record) master boot Record analysis

Source: Internet
Author: User

[Email protected]:/home/chen# fdisk-l/dev/Sda1disk/DEV/SDA1:254MB,254803968bytes255Heads theSectors/track, -Cylinders, Total497664sectorsunits= Sectors of1* += +bytessector size (logical/physical): +Bytes/ +Bytesi/o Size (minimum/optimal): +Bytes/ +bytesdisk Identifier:0x00000000Disk/DEV/SDA1 doesn't contain a valid partition table
[Email protected]:/home/chen# fdisk-l/dev/Sda5disk/DEV/SDA5:21.2GB,21216886784bytes255Heads theSectors/track,2579Cylinders, Total41439232sectorsunits= Sectors of1* += +bytessector size (logical/physical): +Bytes/ +Bytesi/o Size (minimum/optimal): +Bytes/ +bytesdisk Identifier:0x00000000Disk/dev/sda5 doesn't contain a valid partition table

Storage byte bit Content and Meaning
No. 0 Byte The boot flag. A value of 80H indicates the active partition, and a value of 00H indicates an inactive partition.
First byte The starting magnetic number, sector code, and cylinder number of this partition. Where: Magnetic number one--1th byte;
Sector code-2nd byte low 6 bits;
Cylinder number--2nd byte high 2 bit + 3rd byte 8 bit.
4th byte The partition type character. 00h--indicates that the partition is unused (that is, not specified);
06h--fat16 basic partition;
0bh--fat32 basic partition;
05h--extended partition;
07H--NTFS partition;
0fh--(LBA mode) extended partition (83H for Linux partitions, etc.).
Section 5,6,7 bytes The end of this section of the magnetic number, sector code, cylinder number. Where: Magnetic Number one--5th byte;
Sector code-6th byte low 6 bits;
Cylinder number-The 6th byte high 2 bits + 7th byte.
Section 8,9,10,11 bytes The number of sectors that have been used before this partition.
Section 12,13,14,15 bytes The total number of sectors in this partition.

Note: In the "Sector in partition 1=497664" corresponds to "00 98 07 00", check the data, more than 1 bytes, the actual should correspond to "00 07 98 00" (like mirrored a bit)

MBR (master boot record) master boot Record analysis

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.