Fedora16 automatically mounts Windows partitions upon startup

Source: Internet
Author: User
Note: this operation requires the root permission. Step 1: Check if the ntfs-3gyumlistntfs-3gyuminstallntfs-3g.x86_64 is installed (note: select the appropriate version for installation, root permission required) Step 2: Use the fdisk-l; df-lh command to determine...

Note: this operation requires the root permission.
 
Step 1:
 
Check if NTFS-3G is installed
 
Yum list NTFS-3G
 
Yum install ntfs-3g.x86_64
 
(Note: If you select an appropriate version for installation, you must have the root permission)
 
Step 2:
 
Use the fdisk-l and df-lh commands to determine the ntfs partitions respectively. (Root permission required)
 
For example,/dev/sdb1 corresponds to a C disk in windwos.
 
Step 3:
 
In the/media/directory, run the mkdir command to create a folder. (Root permission required)
 
For example,/media/C corresponds to a Windows C drive.
 
Step 4:
 
Configure the/etc/fstab file to enable automatic mounting upon startup. (Root permission required)
 
Vi/etc/fstab
 
For example,/dev/sda1 is a Windows C drive partition. if it is mounted to the/media/C Directory, add it to/etc/fstab.
 
/Dev/sda1/media/C NTFS-3G users, uid = 1000, gid = 100, fmask = 0113, dmask = 0002 0
 

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.