A removable hard disk with the NTFS file system type mounted under "Centos7"

Source: Internet
Author: User

A removable hard disk with the NTFS file system type mounted under "Centos7"


Reference

1.http://www.tuxera.com/community/open-source-ntfs-3g/

2.http://www.blogjava.net/freeman1984/archive/2013/05/17/399427.html

3. http://blog.csdn.net/hotday_kevin/article/details/6873162


Process


1.wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz


2. Decompression, configuration, compilation, installation

$tar ZXVF ntfs-3g_ntfsprogs-2017.3.23.tgz

$ cdntfs-3g_ntfsprogs-2017.3.23/

#./configure

#make

#make Install


3. Use

be sure to find out your own mobile hard disk corresponding to the device, or mount failure ...

View Device

#fdisk-L

Own mobile hard disk corresponding device/DEV/SDC1

Start mount

# mount-t Ntfs-3g/dev/sdc1/mnt/windows

Now go to the/mnt/windows directory, which is the root directory of the removable hard disk


Special Note: The following steps do not operate as far as possible, because once you set up automatic mount, in the process of your power-on reboot, if your mobile hard drive is not connected to the computer, will cause the system can not start normally. Because the boot process, it will execute the contents of the/etc/fstab file, but your mobile hard disk is not connected, the implementation of the Mount statement you add will be wrong, resulting in the failure to enter the system.

You can edit the/etc/fstab file if you want to automatically mount the boot

# Vi/etc/fstab

Add a row to the end of a file

/dev/sda1/mnt/windowsntfs-3g Defaults 0 0



Appendix

Source: http://www.tuxera.com/community/open-source-ntfs-3g/


installation

Linux:most distributions Includeand use NTFS-3G by default. Please use this one unless it ' s anoldversion. If you are wish to install ntfs-3g fromthe Source code then make sure you have installed the Basicdevelopment tools (gcc Compi Ler, Libc-dev Libraries). Then Type:

./configure Make makeinstall # or 'sudo makeinstall' If you aren ' t root

Non-linux:please the OS specific Installationand source packages above. Usage

If There is no error duringinstallation then the NTFS volume can is mounted in read-write modefor as everybody. Unmount the volume if it had already beenmounted, replace/dev/sda1 and/mnt/windows, if needed.

Mount-t ntfs-3g/dev/sda1/mnt/windows

Please have a ntfs-3gmanual for more options and examples.

You can also make NTFS to bemounted during boot by adding the following line to the endof file:

/dev/sda1/mnt/windowsntfs-3g Defaults 0 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.