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