I have sorted out basic knowledge about Ubuntu partitioning and provided a reference for new Linux beginners. /Boot partition, which contains the kernel of the operating system and the files to be used during system startup. It is necessary to create this partition, because most PCs are subject to BIOS restrictions, moreover, if you have a separate/boot partition, the computer can still start even if the primary root partition has a problem. The partition size is about 60 mb-120mb. /Usr partition: the place where the software is stored in Linux. If possible
I have sorted out basic knowledge about Ubuntu partitioning and provided a reference for new Linux beginners.
/Boot partition, which contains the kernel of the operating system and the files to be used during system startup. It is necessary to create this partition, because most PCs are subject to BIOS restrictions, moreover, if you have a separate/boot partition, the computer can still start even if the primary root partition has a problem. The partition size is about 60 mb-120mb.
/Usr partition is the place where the software is stored in Linux. If possible, the maximum space should be allocated to it.
/Home partition is the location of your home directory. The size of this partition depends on the number of users. If multiple users use a computer together, this partition is completely necessary. Moreover, root users can well control the use of computers by common users, such as using hard disks for users or user groups, restrict common users to which files to access.
/Var/log partition is the System log Record Partition. If this independent partition is set up, even if the system log file has a problem, they also do not affect the primary partitions of the operating system.
/Tmp partition, used to store temporary files. This is necessary for multi-user systems or network servers. In this way, even if a large number of temporary files are generated during the running of the program, or the user has performed wrong operations on the system, other parts of the file system are still safe. Because this part of the file system is still subject to read/write operations, it usually occurs faster than other parts.
/Bin partition, which stores standard system utilities.
This section describes several common Linux partitions, but remember to have at least two partitions, one SWAP partition and one/partition.