redhat6.5安装ntfs-3g rpm来支持ntfs文件系统挂载

linux安装ntfs-3g模块来支持ntfs文件系统挂载

所需包

fuse-2.9.3.tar.gz

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

如果挂载成功则说明安装正确。

转载于:https://www.cnblogs.com/wrencai/p/4515656.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值