Ubuntu12.04 automatically mount windows partitions upon startup

Source: Internet
Author: User
In linux, apart from using the disk code (/dev/sd *), you can also directly use the disk label as the disk mount point. Advantage: no matter how the disk code changes, no matter which IDE interface you insert the disk into, because it is mounted through the label...
In linux, apart from using the disk code (/dev/sd *), you can also directly use the disk label as the disk mount point. Advantage: no matter how the disk code changes, no matter which IDE interface you insert the disk into, because the disk is mounted through the label, which interface the disk is inserted will not be affected!
Disadvantages of www.2cto.com: it is a tragedy to insert two disks with duplicate labels because the system cannot determine which disk partition slot is correct! View the system disk code: System Mount restriction root directory/must be mounted, and be sure to be mounted to other mount points before other mount points. The UUID command [html] sudo blkid of the disk partition must be viewed for the created directory www.2cto.com. note: you can use the windows partition label to obtain its uuid www.2cto.com and modify the automatically mounted configuration file command [html] sudo vim/etc/fstab configuration instructions [html] For details, take mounting/dev/sda3 as an example (my windows System D disk ): : Partition location, which can be UUID or LABEL, for example, UUID = 6E9ADAC29ADA85CD or LABEL = software : The location of the specific mount point, for example:/home/wzy/ : Disk mounting type. linux partitions are generally ext4 and windows partitions are generally ntfs. : Mount parameter, which is generally ULTS : Disk check. the default value is 0. : Disk check. the default value is 0. if you do not need to check www.2cto.com and configure the instance, remember that www.2cto.com must not be mounted to the root directory of the current user. Otherwise, you will be paralyzed, because the mounted partition will overwrite the content of the current partition! After saving the file and restarting the machine, you can see that the partition is automatically mounted! Hey, I hope it will help you!
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.