[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