Mount point in Ubuntu)

Source: Internet
Author: User

During Ubuntu installation, You need to select the mount point of the system directory.

We know that when installing windows, we can choose the partition where the system is installed and mount the system to the partition. In ubuntu/Linux, we need to mount partitions to the system.

When we use the Windows Installation Method to mount the system to a partition, we cannot put the Windows directory on drive C, but the mydocuments directory on other partitions. You can also put documents in other partitions due to habits or data security considerations. However, in windows, the default directory of files stored by many software programs is the mydocument Directory, which is inconvenient.

After the system is installed, we can still transfer the mydocuments directory to other partitions, but it is a little troublesome. Many friends may not know how to do it ......

For any Linux system, including Ubuntu, We can mount the partition to the directory during system installation,/HomeDirectory is equivalentMydocuments, We can/Dev/hda5Mount to this directory./HomeWhen the contents are stored, they are actually saved in the first extended partition. If you install the system again, you only need to mount the partition/HomeDirectory, then entering the new system is like going home. It's amazing.

Theoretically, you can mount a partition to any directory. You can customize the Mount path. However, we do not recommend that you do this because it makes no sense.

install the Program to the recommended Mount Directory, which is usually recommended by you. Now let's take a look at it, what are these directories used for?

/
The root directory, which must be mounted. Do not hesitate to select a partition and mount it! (In most cases, 2 GB of capacity should be enough. Of course, many things are more and better :)
swap
Swap partition may not be necessary, but according to the tradition, and take care of your security, mount it. It can only be larger than your physical memory. If the capacity exceeds twice your physical memory, it is definitely a waste.
/home
As mentioned above, this is your home directory. files created by yourself are usually stored here. You 'd better allocate a partition to it.
/usr
Application directory. Most of the software is installed here. If you plan to install many software, we recommend that you allocate a partition to it.
/var
If you want to make some server applications, you can consider assigning a large partition to it.
/boot
If your hard disk does not support the LBA mode (I think it is unlikely), You 'd better mount it. If you mount the first partition of the hard disk, It should be relatively safe. Generally, the size of the mounted partition is only MB.

in the file system, we recommend that you choose reiserfs

in windows, the drive letter is used to indicate both hardware (partitions on the hard disk) and paths in the system. In Linux, hardware is the hardware, path is the path, and will not be confused together, simple and direct!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.