Mount NTFS partition __linux on Linux

Source: Internet
Author: User
1. IntroductionThe purpose of this article is to provide readers with a step-by-step guide on how to Mount NTFS-partitioned file systems on Linux operating systems. This article includes two parts: Mount the NTFS file system as read-only, and mount the NTFS file system in read-write mode; 2. Read-only mount NTFS file system 2.1. NTFS Kernel supportMost Linux distributions today support the NTFS file system. Supporting the NTFS file system is a feature of the Linux kernel module, not the Linux distribution.  First determine if the NTFS module has been installed in your system. # ls/lib/modules/2.6.18-128.el5pae/kernel/fs/| grep NTFS if the NTFS module exists, let's identify the NTFS partition. If you do not have an NTFS module, you need to install it first. View kernel version: [root@localhost mnt]# uname-r 2.6.18-128.el5pae Search from the Internet Kernel-module-ntfs 2.6.18-128.el5pae. Download the RPM package for installation. # RPM-IVH KERNEL-MODULE-NTFS-2.6.18-128.EL5-2.1.27-0.RR.10.11.I686.RPM If there is no error, the system can now support NTFS. NOTE: No NTFS modules were found on the web under PAE. 2.2. View partitions for NTFSAn easy way to identify NTFS partitions is as follows: # Fdisk-l |  The hard disk for the grep ntfs/dev/sdb1 2 62016256 1953512032+ 7 Hpfs/ntfs NTFS partition is:/DEV/SDB1 2.3. Mount NTFS partitions first create mount points: # Mkdir/mnt/ntfs and then simply mount it with mount command: # mount-t NTFS/DEV/SDB1/MNT/NTFS Now we can access the NTFS partition and the files in it, but Only Read permission. 3. Mount NTFS file system in read-write modeThe Mount NTFS file system makes it a little more complicated to have access to read and write. This involves the installation of other software, such as Fuse and ntfs-3g. In either case you might want to use the package manager, such as Yum, apt-get,synaptic, and so on, and install it on your standard release hard disk. Check package ntfs-3g and fuse. 3.1. Install other software 3.1.1. Fuse installationDownload source code from http://fuse.sourceforge.net # wget http://easynews.dl.sourceforge.net/sourceforge/fuse/fuse-2.7.1.tar.gz Extract source code: # tar zxf fuse-2.7.1.tar.gz compile and install fuse source code # CD fuse-2.7.1 #./configure--exec-prefix=/; Make Make install 3.1.2. ntfs-3g installationDownload source code packages from the site http://www.tuxera.com/community/ntfs-3g-download/: http://tuxera.com/opensource/ntfs-3g_ Ntfsprogs-2011.4.12.tgz uncompressed Installation: # tar zxf ntfs-3g_ntfsprogs-2011.4.12.tgz compile and install ntfs-3g source code. # CD ntfs-3g_ntfsprogs-2011.4.12 #/configure # make Install 3.2. Mount NTFS partitionIf no errors occur during the installation process, the NTFS volume can be mounted on Linux and have read and write access. # Fdisk-l | grep NTFS # mount-t Ntfs-3g/dev/sdb1/mnt/ntfs [root@localhost ntfs-3g_ntfsprogs-2011.4.12]# mount-t NTFS-3G/DEV/SDB1  /mnt/ntfs fatal:module fuse not found. (This is because the fuse module is not installed) Download URL: http://ftp.riken.go.jp/Linux/cern/slc52test/extras/x86_64/failed/ Find the Kernel-module-fuse-2.6.18-128.el5pae rpm installer on Google, download the installation and mount it again.

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.