1、 首先們需要下載ntfs-3g 。
http://www.tuxera.com/community/ntfs-3g-download/
2 、 然後解壓進行安裝
[guo@guo ~]$ tar xvzf ntfs-3g_ntfsprogs-2012.1.15.tgz [root@guo ~]#./configure
[root@guo ~]#make
[root@guo ~]#make install # or 'sudo make install'
3、下一步就是掛載ntfs了。
之前先用fdisk -l 進行查看檔案 [root@guo mnt]# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb753b753
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 14593 96735397+ f W95 Ext'd (LBA)
/dev/sda5 8925 12043 25053336 7 HPFS/NTFS
/dev/sda6 12044 14593 20482843+ 7 HPFS/NTFS
/dev/sda7 2551 7650 40960000 83 Linux
/dev/sda8 7650 8663 8138752 83 Linux
/dev/sda9 8663 8924 2096128 82 Linux swap / Solaris
Partition table entries are not in disk order
接下來就可以掛載了,然後在終端中輸入:
[root@guo mnt]# mount -t ntfs-3g /dev/sda2 /mnt/sda2
當然這時候可能出現錯誤提示/mnt中沒有sda2 ,這時候可以在終端中輸入:
[root@guo mnt]# mkdir sda2
然後再運行:
[root@guo mnt]# mount -t ntfs-3g /dev/sda2 /mnt/sda2
就成功了。
還可以使NTFS預設掛載,以便安裝在引導過程中,在/etc / fstab檔案的末尾添加以下行:
/dev/sda1 /mnt/sda1 ntfs-3g defaults 0 0