Home >Operation and Maintenance >Linux Operation and Maintenance >What are the minimum partitions required to install a linux system?
Installing a Linux system requires at least 2 partitions, namely the root partition (/) and the swap partition (/swap).
(Recommended tutorial: linux tutorial)
Root partition (/)
The root partition is the root partition , everything is within this partition.
Swap partition (/swap)
/swap partition is a swap partition, which is a certain disk space (partition or file) used to exchange part of the data in the memory. down to free up memory space for other needs.
In a system, when the physical memory is almost used up, the operating system will use the swap partition. When the system memory is tight, the operating system saves some recently unused memory pages to the swap partition according to certain algorithm rules, thereby leaving enough memory space for programs that require memory.
When the memory page in swap is accessed, the system will reload it into physical memory for operation.
The above is the detailed content of What are the minimum partitions required to install a linux system?. For more information, please follow other related articles on the PHP Chinese website!