Objective:
Prior to the first knowledge of Linux, the Linux system installation of the choice of partition, a little did not understand, resulting in a few times can not be installed next, so calm down, dedicated to take time to study this knowledge;
The following are some of the previous knowledge of the partitioning of the Linux installation process, as well as a backup, and hopefully some help for Linux beginners.
Body:
In general, there are at least two mount points in the Linux system, namely / (root directory) and swap(swap partition), in which,/ is required;
See below for details:
Recommended list of directories to mount:
/-------root directory, the only directory that must be mounted. Don't hesitate to choose a partition and mount it! (in the vast majority of cases, 2G capacity should be sufficient.) Of course, a lot of things are more and more.
swap----Swap partition may not be necessary, but by tradition, and take care of your security, just mount it. Its capacity is just about equal to your physical memory, which is a waste if it exceeds your physical memory by twice times the capacity.
/Home---This is your family directory, usually you create your own files, are saved here, you'd better assign it a partition
/ usr----the application directory. Most of the software is installed here, if you plan to install a lot of software, it is recommended to assign it a partition
/ var----If you want to do some server applications, consider assigning it a larger partition
/ Boot---If your hard drive does not support LBA mode (unlikely), you might want to mount it, and if you mount it, mount it on the first partition of the hard disk and it should be more secure. In general, the mounted partition will suffice if it is 100M in size.
Whether you want to separate these mount points is dependent on your planning needs. Refer to the following recommendations:
1. Initial contact for novice or hard disk space Limited desktop installation recommendations:
mount point Device Description
/ /dev/hda1 free space-swap all space after size
swap /dev/hda2 approx. memory size recommended at least 512MB
2. Installation recommendations for advanced user desktop:
mount point Device Description
/ /dev/hda1 10~15g is sufficient
/Home/dev/hda2 the largest remaining space
swap /dev/hda5 approx. memory size (at least 512MB recommended)
or
/ /dev/hda1 10~15g is sufficient
/Home/dev/hda2 the largest remaining space
/ boot /dev/hda3 100MB
swap /dev/hda5 approx. memory size (at least 512MB recommended)
3. Installation recommendations for Advanced Server users:
mount point Device Description
/ /dev/hda1 10~15g is sufficient
/Home/dev/hda2 the largest remaining space
/ boot /dev/hda3 100MB
swap /dev/hda5 approx. memory size (at least 512MB recommended)
/ var /dev/hda6 depends on server function size, at least 1GB
Or
/ /dev/hda1 10~15g is sufficient
/home/dev/hda2 half of the largest remaining space
/ boot /dev/hda3 100MB
swap /dev/hda5 approx. memory size (at least 512MB recommended)
/ var /dev/hda6 depends on server function size, at least 1GB
/ usr /dev/hda7 half of the largest remaining space
Note 1:linux There is no partition, only mount point, similar to the partition under window
NOTE 2:swap size is approximately equivalent to your memory size, or slightly larger, it is recommended to set at least 512MB Note 3: About file systems under Windows, we often see file systems with FAT, FAT32, NTFS
The file systems available with Linux are:
EXT2: Early format, no log feature supported
EXT3:EXT2 modified version, added the log function, is the most basic and most commonly used format
EXT4: Extended journaled File system for EXT3 systems, a successor to the Ext3 file system
ReiserFS: also has the log function, its characteristic is the processing small file speed quickly.
XFS: Stable and efficient, with superior performance in mixed-size file systems.
JFS: Feature is the least CPU-intensive, if your computer is old then this is the best choice.
Linux partitioning scheme