Linux disk partitions, primary partitions, extended partitions, and logical partitions take the sata interface as an example.

Source: Internet
Author: User
Tags ide hard drive

Linux disk partitions, primary partitions, extended partitions, and logical partitions take the sata interface as an example.
Zookeeper

Taking the sata interface (sda, sdb...) as an example,

1. Hard Disk restrictions. A maximum of four partitions can be set (primary partition + extended partition). The path is as follows,

/Dev/sda1
/Dev/sda2
/Dev/sda3
/Dev/sda4

2. Operating System Restrictions: the maximum number of extended partitions can be 1, which can be 3 (or below) Primary partitions + 1 extended partition,

3. Extended partitions use additional sectors to record logical partition information, which cannot be formatted,

4. partitions separated by extended partitions are called logical partitions and can be formatted.

5. The partition numbers 1, 2, 3, and 4 are reserved for the primary partition, extended partition, logical partition can only start from 5,/dev/sda5,
If a hard disk is separated by one primary partition, one extended partition, and two logical partitions, the partition path is:

/Dev/sda1
/Dev/sda2
/Dev/sda5
/Dev/sda6

6. If the extended partition is damaged, all the logical partitions will be deleted and the information of the logical partitions will be recorded in the extended partition,

7. Change the IDE Hard Drive path to sd to hd.

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.