Ubuntu12.04 automatically mount ntfs partitions upon startup

Source: Internet
Author: User
In the new 64-bit Ubuntu12.04 version, the ntfs write support program cannot run normally. To automatically mount ntfs partitions in Ubuntu, manually edit the/etc/fstab file. /Etc/fstab contains the necessary information for mounting on the disk and is read at system startup. 1. Use the fdisk command to view disk information/dev/sda1 *&

In the new 64-bit Ubuntu 12.04 version, the ntfs write support program cannot run normally. To automatically mount ntfs partitions in Ubuntu, manually edit the/etc/fstab file. /Etc/fstab contains the necessary information for mounting on the disk and is read at system startup.

1. Use the fdisk command to view disk information.
/Dev/sda1*1 851 6835626 83 Linux
/Dev/sda2 852 4039 25607610 f W95 Ext 'd (LBA)
/Dev/sda5 945 2135 9566676 7 HPFS/NTFS
/Dev/sda6 2136 4039 15293848 + 7 HPFS/NTFS

/Dev/sda5 and/dev/sda6 are the two ntfs partitions to be mounted.

2. Add the following content to the end of the/etc/fstab file. Restart the file to automatically mount the NTFS partition.

/Dev/sda6/media/my ntfs-3g ults, locale = zh_CN.UTF-8 0 0
/Dev/sda5/media/tools ntfs-3g defaults, locale = zh_CN.UTF-8 0 0

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.