Hard Disk partitioning scheme
Installing Linux on a computer is an important step in partitioning a hard disk. The following describes several partitioning schemes.
(1) solution 1
/: The recommended size is 5 Gb or above.
Swap: swap partition. the recommended size is 1 ~ of the physical memory ~ 2 times.
(2) solution 2
/Boot: used to storeProgramFor example, to start the boot loader, the recommended size is 100 MB.
/: Linux root directory. All directories are mounted under this directory. the recommended size is 5 Gb or above.
/Home: stores the data of common users, which is the home directory of common users. The recommended size is the remaining space.
Swap: Implements virtual memory. The recommended size is 1 ~ of physical memory ~ 2 times.
(3) solution 3
/Boot: used to store programs related to Linux Startup, such as boot loader. the recommended size is 100 MB.
/Usr: used to store applications in the Linux system. The related data is large. It is recommended that the data size be greater than 3 GB.
/Var: used to store frequently-changing data and log files in Linux. It is recommended that the value be larger than 1 GB.
/Home: stores the data of common users, which is the home directory of common users. The recommended size is the remaining space.
/: Linux root directory. All directories are mounted under this directory. the recommended size is 5 Gb or above.
/Tmp: place the temporary disk in an independent partition to avoid affecting the system stability when the file system is full. The recommended size is more than MB.
Swap: Implements virtual memory. The recommended size is 1 ~ of physical memory ~ 2 times.
Bytes -------------------------------------------------------------------------------------------------------------------------------