centos(linux)下挂载ntfs文件

最近在自己的没有用的台式机上面装了centos, 准备在上面装些软件来做分布集群的测试。装系统倒是挺快的,可装上了发现NTFS文件挂载不了。今天google下, 具体的操作如下:
1. 安装fuse
  • wget http://sourceforge.net/project/showfiles.php?group_id=121684
  • ./configure --prefix=/usr
  • make
  • modprobe fuse

这个过程中发现的错误有:
a. configure: error: newly created file is older than distributed files!
这个是Linux系统时间错误, 我这机器好久没有用了,刚装的系统,时间没调整过来。
date --set "2011/03/05 13:30"


b.configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
这个主要是没有安装gcc插件
yum -y install gcc
yum install gcc-c++


2. 安装ntfs-3g
  • wget http://download.chinaunix.net/down.php?id=25516&ResourceID=12561&site=1
  • ./configure
  • make
  • make install


3. 挂载文件
  • fdisk -l
  • mkdir /mnt/_hda1
  • mount -t ntfs-3g /dev/hda1 /mnt/_hda1
  • mount /dev/hdb7 /mnt/hdb7
  • ls -l /mnt/_hda1

猜你喜欢

转载自yidianfengfan.iteye.com/blog/941773