With SATA interface (check its order according to Linux kernel sda,sdb ...) As an example,
1, the limit of the hard disk, can only set up 4 partitions (primary partition + extended partition), the path is as follows,
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda4
2, the operating system limits, the extended partition can only have 1, may be 3 (or the following) primary partition + an extended partition,
3, the extended partition uses the additional sector record logical partition information, which itself cannot be formatted,
4, partitions partitioned by extended partitions are called logical partitions and can be formatted
5, the partition ordinal 1,2,3,4 is reserved to the primary partition, the extended partition, the logical partition only starts from 5,/DEV/SDA5,
If a hard disk separates 1 primary partitions, one extended partition, and 2 logical partitions, then the partition path:
/dev/sda1
/dev/sda2
/dev/sda5
/dev/sda6
6, if the extended partition is destroyed, all logical partitions are deleted and the logical partition information is recorded in the extended partition.
7, IDE hard drive path will change SD to HD
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Linux disk partition, primary partition, extended partition, logical partition with SATA interface as an example