Describes how to mount a partition in a Linux Hard Drive System

Source: Internet
Author: User

I like the Linux hard drive system very much. I also like to sum up the Linux experience and lessons in my work. The knowledge of Linux hard drive system introduces some common mount points, and users can operate Linux as soon as they learn.

Naming rules for hard drive and other devices in Linux

Linux hard drive systems seem to like "alternative". Its naming method for hard drive devices is also very different from that for Windows. In the Linux hard drive system, your hard drive device information is stored in the "dev" mount point. I didn't mention this mount point above. You know it. We will see you later. Its hard disk naming method is:
1. Hard Disk of the IDE interface, which is called or displayed in Linux): HD
2. SATA hard disk or SCSI hard disk, called SD
3. The optical drive is CDROM. If multiple optical drives are available, they are listed in numbers, such as CDROM0, CDROM1, and CDROM2.
4. Windows partitions in the hard disk take Ubuntu 8.04 or above as an example. It supports read and write operations of Windows partition type FAT32, FAT, NTFS. After your system is installed, it can automatically identify these Windows partitions. They are marked with "Capacity of the partition + volume label of the partition", such as: 22.5g game, 30G System ^. In the "location" of your system, you can see it.

5. If you have multiple hard disks .................. As mentioned earlier, in Linux, hard disks are divided into HD and SD, which are in the order of 26 English letters. The first hard disk is hda, so the first mount point of this hard disk is hda1, and so on hda2, hda3 ^
As I mentioned earlier, multiple hard disks are listed in 26 alphabetical order, so hdb is the second hard disk. This should be easy to understand, right? Its "partition" is, naturally, hdb1, hdb2, hdb3 ........................ In the same way, you should know what sdb3 means?

Capacity settings for Common mount points

Each person's hard disk size is different, and naturally there is no "final conclusion". I 'd like to say that you can consider it as appropriate based on your actual situation.
1. boot Linux hard drive system. The boot file is very small. This boot mount point is divided into 100 MB, which is enough to be final! No matter how big your hard disk is, that's enough! After you have installed the system, check it out. In fact, it takes 45-50 m.) Tips: BOOT mount points are not required. However, I personally suggest that if you want to create a dual-system, you 'd better separate it. When you install the grub boot, install it on the boot, that is, the dual-system, the purpose is to be clearer and more convenient.
2./For some Linux distributions, this is also written as:/root. The function is the same.) As I said just now, it must be at least 5 GB.
3. home said just now that it is the largest and largest requirement ...... Try your best. Hey! Common online hard drives of 80 are distributed to 70 GB ..................
4. SWAP has an unwritten small rule: computer memory, less than 1g, SWAP points 512 M; memory greater than 1g, just 1g.
5. TMP temporarily stores some junk data. Let's watch it. It's a big deal. TIPS: Linux and windows are not the same. There are very few spam. It can be said that there is almost no spam. Therefore, in a Linux hard drive system, you don't have to worry about the spam file problem! Therefore, Linux does not need to make a noise every day: How can I clean up garbage!
6. usr accounts for about 15% of your total capacity. You can choose not to "Attach. Linux partition is a headache because it does not assign a "letter drive" to each partition. Instead, it uses a specific folder name to mount the partition ", differentiate functions. In fact, you can understand the meaning of these mount points in the subconscious. Do not think about Windows. A drive letter is required for partitioning ....... To use Linux, many concepts must be changed ~

Ubuntu 8.04.1 hard disk partitioning

After the basic knowledge is finished, it is time to get started. Take Ubuntu as an example to explain the partition process step by step. The hard disk "partition" is the installation process of the Ubuntu system: Step 3. The first two steps are unnecessary.
1. System language selection-all know how to choose Simplified Chinese? By default, press Enter!
2. Select the time zone-SHANGHAI by default), which will be understood in pinyin. Shanghai, China. Press ENTER
3. This interface is the first to appear in the hard disk partition that has a headache. We select "Manual"
(1) Here, it is the "partition" software interface of the Ubuntu system. Each Linux hard drive system comes with its own partitioning software. Their interfaces and usage are roughly the same. cainiao can simply cope with all of them by learning one. Although there are many third-party software dedicated to "Partitioning" Linux hard drive systems on the internet, I personally recommend that you use the software that comes with the Linux hard drive system, which is convenient and quick ~ Which of the following is my hard drive device dev/sda? Sda: "The first hard disk of the sata interface"
(2) Select the "free space" line below and click "new partition.
(3) Click "new partition" to create a mount point. Interface, I will explain one by one
◆ The new partition type boot and swap partitions) is the master, and other mount points are all logic. This is not explained. Of course not final
◆ New partition capacity: Enter it by yourself
◆ New partition location: the default option is "start"
◆ There are many types of partitions used in Linux hard drive systems, such as Windows including NTFS and FAT32. In this era, we recommend that you select the Ext3 log file system. There is also a kind of R... FS, the specific name is forgotten, you can also. However, I use Ext3 to store the division of files. In fact, apart from ext3, GNU/Linux can use ext2, xfs, reiser, jfs, and other file systems to store files. Each file system has its own length, but Beginners first use ext3.
To create a SWAP mount point in a moment, select it here! Don't forget!
◆ The mount point is not explained. As mentioned earlier, the "partition" software lists the common: boot,/, home, usr, temp, the following mount points have been provided, and you can choose them directly:
(4) The first step is to create a "partition" for the BOOT mount point. See the figure.
Step 2: Create a SWAP and SWAP space
Create/, root directory mount point
Creating a HOME, user mount point
Here, the most basic thing is to set up and forget. In the tutorial, I will set up these items. Others, if you want to set up one, you can just draw pictures and pictures, should I have all this skills? The figure below shows the hard disks already mounted.
4. Enter personal information: user name and password twice) and enter the computer name
5. Start "automatic" installation .........
6. restart the system!
I think writing is simple enough, and it should be enough for cainiao. Please refer to the post for details. What can be solved? Try to help you solve the problem. As for the operation after the system is installed, it is not a sentence, or even thousands of words can be clearly said ........... If you really want to learn, you can go to the bookstore to buy books ..... Or students, go directly to the "sit in the library. At that time, I borrowed three books from the library and came back to study for a few months.

Partitions of other Linux hard drive Distribution Systems"

As we have said just now, we should be able to understand at least the "mount point" knowledge of the Linux hard drive system and the naming method of the hardware hard drive and optical drive for the Linux hard drive system, the usage and general capacity of Common mount points.
This knowledge is completely universal for any Linux hard drive distribution system. It means that no matter what release version you use, redhat, Hongqi, Qilin, fedora, opensuse, etc, all their "partitions" follow the following steps: New -- select format ext3 and so on) -- set the mount point -- fill in the capacity. The difference is that, hey, their own installer, at the partitioning step, the interface image background color is pulled, and the button placement is pulled) is slightly different.

  1. In-depth analysis of Linux Graphics System
  2. How to build a Desktop Linux?
  3. Operation Manual: Install the sound card driver in Linux
  4. System of Linux virtual desktop Module
  5. Five popular Linux music players

Related Article

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.