Linux system disk partition, delete partition, format, mount, uninstall, boot automatic Mount method summary

Source: Internet
Author: User

The Linux system follows the MBR traditional partitioning mode:

Disk Partitioning: 1~4 primary partition

or 0~3 a primary partition + an extended partition (n logical partitions)

Precautions:

MBR partition table can only record 4 primary partitions, numbering range 1~4;

When it is necessary to use more than 4 partitions, you need to establish an extended partition (the primary partition number), the extended partition can have up to 1

An extended partition is a container of intermediate nature, and the partition space from which it is partitioned is a logical partition

Steps for Linux system partitioning:

1, first check the disk has no partition, with lsblk command view, partprobe command to refresh the disk partition information and re-view more accurate information

In the virtual machine operation, see here there are two hard disks, only one partition, the hard disk VDA has only one vda1 partition, the partition VDA1 mount point is/, that is, the root directory is the mount point.

2, need more partitions, start partitioning, with fdisk command, format: Fdisk hard drive path

Linux system disk partition, delete partition, format, mount, uninstall, boot automatic Mount method summary

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.