一、安装前准备

系统版本:RedHat Enterprise 5.8

内核版本:2.6.18-308.el5

下载软件包ntfs-3g:http://www.tuxera.com/community/ntfs-3g-download/

二、安装过程

安装gcc、gcc-c++所需的编译环境

 
  
  1. # ./configure 
  2. # make 
  3. # make install 
  4. # whereis ntfs-3g  //查看ntfs-3g命令的位置 
  5. ntfs-3g: /bin/ntfs-3g /usr/local/bin/ntfs-3g.secaudit /usr/local/bin/ntfs-3g.usermap /usr/local/bin/ntfs-3g.probe 

查看硬盘分区情况

 
  
  1. # fdisk //查看硬盘分区情况 
  2. Disk /dev/sda: 160.0 GB, 160041885696 bytes 
  3. 255 heads, 63 sectors/track, 19457 cylinders 
  4. Units = cylinders of 16065 * 512 = 8225280 bytes 
  5.  
  6. Device Boot      Start         End      Blocks   Id  System 
  7. /dev/sda1               1        6375    51200000    7  HPFS/NTFS 
  8. /dev/sda2            6375       12749    51200000    7  HPFS/NTFS 
  9. /dev/sda3           12749       19457    53886976    7  HPFS/NTFS 

加挂NTFS格式分区

 
  
  1. # /bin/ntfs-3g /dev/sda3 /mnt/move/sda3/  //挂载NTFS格式分区