http://xu3stones.blog.163.com/blog/static/205957136201210309424303
Primary partition, extended partition, logical partition, active partition, system partition, boot partition ...
Main boot sector, Mbr,bootloader .....
All kinds of concepts, do you know what it means?
It took a day to finally study clearly, the online many of the explanations are wrong, or do not go deep into the essence, what is the C-disk Ah, D, ah, are Windows brainwashed. Wasted a good long time.
Primary partition: In fact, there is no concept of primary partition, extended partition and logical partition in the earlier hard disk partition, each partition type is primary partition. Since the hard disk retains only 64 bytes of storage for the partitioned table, and the parameters for each partition occupy 16 bytes, the total in the main boot sector can only store data for 4 partitions. In other words, a physical hard disk can only be divided into 4 logical disks. In a specific application, 4 logical disks often fail to meet the actual requirements. To create more logical disks for use by the operating system, extended partitions and logical partitions are introduced, and the original partition type is referred to as the primary partition.
Extended partition: as stated above, 4 partitions clearly do not meet the requirements, but the physical hardware limit can only have 4 partitions what to do? So the operating system began to do, the name of one of the main partition is extended partition, remember just named Oh, in principle, extended partition and primary partition is the same, but the function is different. Now that you're done with the logical partition, you know what I'm talking about.
logical Partition:4 partitions Certainly not enough, I want 20 partitions, how to do? Turn one of the main partitions into an extended partition, and then cut on this extended partition, turning into D, E, F, and so on, but these disks are integrated into an extended partition, which are linked to each other, and not like the main partition, where 4 of them are independent from each other. The logical partition is linked with a linked list, and if the partition information in the E drive is lost, the operating system cannot find the F drive.
boot partition:Very simple, the partition that holds the operating system file, for example you installed 2 system: Win7+linux then you are 2 boot partition. If you have windows, look at the Windows folder (system32 file) in that area, which is your boot partition, the default is C drive, you can also install F disk and so on. If you have Linux, you can see where the partition is installed, and which is the boot partition.
system Partition:The partition that holds the NTLDR program or the GRUB program, Windows is usually installed in the C drive, Linux usually loads the/boot partition
Active partition:Active partition is the primary partition, the active partition is the system partition, each time the PC starts, a hard disk can only have one active partition, if you want to start Windows to set the Windows system partition as the active partition, the computer will go there to load the boot program (NTLDR or GRUB) and execute, If you want to start Linux, set the Linux system partition as the active partition.
Did you see that? Is my hard disk partition situation, my win7 installed in the C drive, that is my Windows folder on the C drive, so the C drive is the boot partition, but I put grub to Z disk, which is the boot program NTLDR. Boot. ini or something, so Z disk is the system partition ..... Since I am currently booting the Win7 system, the Win7 system partition is also the active partition.
You should know all the kids ' shoes, ~~~~~.
Let's talk about starting things.
Main boot sector: per hard disk, yes, each disk is not each partition, there is only one main boot sector, that is, the hard disk No. 0 cylinder, the first sector of the No. 0 head, the size of 512 bytes. The main boot sector contains the MBR (HDD master boot MBR accounts for 446bytes), DPT (partition table DP to 64bytes), MN (hard disk valid flag Magic Numbe for 2byte. AA and 55 are called Magic Numbers (magic number), Bois read the MBR always check that the last is not the two magic numbers, if not is considered to be a non-partitioned hard disk, these 3 areas are operating system-independent, on each hard disk is present; MBR is an executable program, Different code is written by each operating system. MBR is limited to 446 bytes of storage space, and the only thing MBR does is load the second boot loader. The MBR load generated by Windows generates an MBR mount run Pbr;grub run GRLDR
MBR: As mentioned above, it is a program with a length of 446 bytes, which is loaded bootloader.
[to] the hard drive (primary partition, extended partition, logical partition, active partition, system partition, boot partition, boot sector, MBR, etc.)