标签:
linux安装ntfs-3g模块来支持ntfs文件系统挂载
所需包
ntfs-3g_ntfsprogs-2011.4.12.tgz
step1. 解压fuse-2.9.3.tar.gz
tar -zxvf fuse-2.9.3.tar.gz
step2. 编译安装fuse
cd fuse-2.9.3
./configure
./make
./make install
可能出现的错误
cofigure:error:c compiler cannot create executables
参考:http://askubuntu.com/questions/347466/configure-error-c-compiler-cannot-create-executables
解决方法:
export PATH="/usr/bin:$PATH"
It looks like you have a non-standard version of the GNU linker ld
in your /usr/local/bin
directory (possibly installed from source), and your PATH environment variable is set such that the system finds that version before the ‘system‘ version (which should be at /usr/bin/ld
). If you want to build using the standard system versions of the build tools, you will need to adjust your PATH environment variable so that it searches /usr/bin
ahead of /usr/local/bin
If you want to permanently fix your PATH variable, you will need to find out where you set it originally - probably in your ~/.bashrc file, but other locations are possible. Alternatively, if you just need a temporary fix for this build, you could try
export PATH="/usr/bin:$PATH"
in the terminal before executing the ./configure
step3. 解压ntfs-3g_ntfsprogs-2011.4.12.tgz
tar -zxvf ntfs-3g_ntfsprogs-2011.4.12.tgz
step4. 安装ntfs-3g
cd ntfs-3g_ntfsprogs-2011.4.12
./configure
./make
./make install
step5. 测试
查看那个磁盘是ntfs,然后挂载,假设/dev/sdc1是ntfs文件系统
fdisk -l
挂载/dev/sdc1 的ntfs文件系统设备
mkdir /mnt/hdd
mount -t ntfs-3g /dev/sdc1 /mnt/hdd
如果挂载成功则说明安装正确。
redhat6.5安装ntfs-3g rpm来支持ntfs文件系统挂载
标签:
原文地址:http://www.cnblogs.com/wrencai/p/4515656.html