Get the App
SLTechnology News&Howtos  ›  Servers  › 

Minimum number of partitions required for linux system installation

Shulou Source: shulou.com Published: 2022-06-03 01:19:52 09月22日 Update

What is the minimum number of partitions required for linux system installation? In response to this problem, the editor summed up this article today, hoping to help more friends who want to solve this problem to find a more simple and feasible way.

At least 2 partitions are required to install the linux system, namely the root partition (/) and the swap partition (/ swap).

Root partition (/)

The root partition is the root partition, and everything is in it.

Swap partition (/ swap)

/ swap partition is a swap partition, which is a certain amount of disk space (partition or file) that is used to swap out some of the data in memory to free up memory space for other requirements.

In a system, when physical memory is running out, the operating system uses swap partitions. When the system memory is tight, the operating system saves part of the recently unused memory pages to the swap partition according to certain algorithm rules, thus leaving enough memory space for programs that need memory.

When the memory page in swap is accessed, the system reloads it into physical memory to run.

This is the end of the partition explanation on the installation of the linux system. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Memory system more space operating system physics problems pages help good easy easy things content methods that is data files articles friends Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Linux NVidia Shulou Information Huawei