Linux disk partition, primary partition, extended partition, logical partition with SATA interface as an example

Source: Internet
Author: User
Tags ide hard drive
??

To SATA interface (according to the Linux kernel to check its order sda,sdb ...) As an example,

1, the limit of the hard disk, the maximum can only set 4 partitions (primary partition + extended partition), the path such as the following,

/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda4

2, operating system restrictions, the extended partition can only have up to 1, can be 3 (or below) primary partition + an extended partition,

3, the extended partition uses the additional sector record logical partition information, which itself cannot be formatted,

4, partitions cut by the extended partition 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 can start from 5,/dev/sda5,
Suppose 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, assuming that the extended partition is destroyed, all logical partitions will be deleted, and the logical partition information is recorded in the extended partition.

7, IDE hard drive path will change SD to HD

Linux disk partition, primary partition, extended partition, logical partition with SATA interface as an example

Related Article

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.