Article Title: How to Select hard disk partitions in Linux installation mode. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In fact, during Linux installation, a considerable number of Preset modes have been provided for you to choose the partitioning method. However, no matter what, the split behavior is not very consistent with your host! After all, everyone's "thoughts" are different! Therefore, we strongly recommend that you use the "Custom installation, Custom" installation mode! In some Linux distribution, this mode is very powerful, called "Expert, Expert mode". This is amazing. Please believe in yourself, learn more about what we call it an expert! No problem!
Custom installation "Custom 」:
A: For the first time, you only need to cut "/" and "Swap!
Well, we usually recommend that you install Linux directly with the biggest sector "/" for the first time. This is a benefit, it is not afraid of segmentation errors that cause installation failure! For example,/usr/is the directory of Linux executable programs and related files, so his capacity requirement is quite large. In case you split a slice to/usr, but it is not big enough, so it hurts! The installation may fail because the data cannot be fully written! Therefore, if you are installing it for the first time, you can split it into two slice "/and Swap!
B: We recommend that you reserve a backup sector!
As mentioned in the previous articles, because the preset directories in Linux are fixed, we usually increase the directories of/var and/home slightly, if the hard disk is large enough, you cannot add a few GB! In addition,/usr should at least give him 3 ~ 5 GB, if the hard disk is really big! And/can also provide several GB space. Finally, since Linux may be in the "trial" phase, it is likely to be installed repeatedly. Therefore, laruence will reserve a sector to back up my core. scripts (a bit like a DOS batch file) that seems good in practice. Of course, you can also have a backup place under my/home, and the source file of the installation package can also be placed here! One of the biggest advantages is that when I reinstall Linux, some of my kits can be found directly on the hard disk! Haha! Reinstallation is convenient!
Select the default hard disk partitioning method provided by the Linux Installer:
We do not recommend that you use the preset Server installation method provided by each distribution for the first time, because it will make you unable to know what Linux is doing, and it does not necessarily meet your needs! Note: When selecting Server, please "OK" your hard disk data is not required! Because Linux will automatically kill all the old data in your hard disk! In addition, the hard disk must be at least 2 GB to select this mode!
Hard Disk planning is similar! Be careful when planning hard disks!