當把乙個ntfs格式的行動硬碟或u盤插到linux系統上時,系統會提示無法識別ntfs格式。這就需要第三方的驅動。ntfs-3g 是乙個開源的軟體,可以實現 linux、free bsd、mac osx、netbsd 和 haiku 等作業系統中的 ntfs 讀寫支援。
2.解壓並安裝
[delmore@localhost desktop]$ su
password:
[root@localhost desktop]# cd ../downloads/
[root@localhost downloads]# tar zxvf ntfs-3g_ntfsprogs-2014.2.15
-------------------------此處略去1000字解壓縮過程------------------------------------
[root@localhost downloads]# cd ntfs-3g_ntfsprogs-2014.2.15
[root@localhost ntfs-3g_ntfsprogs-2014.2.15]# ./configure
-------------------------此處略去1000字配置過程------------------------------------
[root@localhost ntfs-3g_ntfsprogs-2014.2.15]# make
[root@localhost ntfs-3g_ntfsprogs-2014.2.15]# make install
3.掛載
[root@localhost ntfs-3g_ntfsprogs-2014.2.15]# mount -t ntfs-3g -o nls=utf8,umask=000 /dev/sda5 /mnt/win1
說明:-t 要掛載的檔案系統的格式,此處為 ntfs-3g
-o 引數 nls=utf8 設定字符集為utf8,這樣就能正常顯示中文 umask=000 所有使用者可讀可寫
/dev/sda5 要掛載的檔案系統儲存器的位置,可使用 /sbin/fdisk -l 命令檢視分割槽及儲存器資訊。
/mnt/win1 將檔案系統掛載到的目錄,可在/mnt 目錄下自己新建目錄用來掛載檔案系統。
4.解除安裝
當不用u盤、行動硬碟時,就使用解除安裝命令,將儲存器退出,此處的解除安裝是指安全退出儲存器,並非將ntfs-3g解除安裝。
[root@localhost ntfs-3g_ntfsprogs-2014.2.15]# umount /mnt/win1
5.掛載fat32等格式
掛載fat32、fat16格式的檔案系統,不需要額外安裝軟體。
掛載fat16 mount -t msdos /dev/sda1 /mnt/usb/div>
掛載fat32 mount -t vfat /dev/sda1 /mnt/usb
掛載ext2 mount -t ext2 /dev/sda1 /mnt/usb
linux系統掛載NTFS檔案系統格式
linux系統掛載ntfs檔案系統格式 前言 ntfs new technology file system 是windows nt家族 如,windows 2000 windows xp windows vista windows 7和 windows 8.1 等的限制級專用的檔案系統,針對fat...
Linux系統掛載NTFS檔案系統
今天嘗試並成功的將一塊500g的行動硬碟掛載到了rhel5的系統上,甚感欣慰。想到也許以後自己或其他同學們會有類似經歷,於是盡量細緻的記錄於此。無論是一塊安裝了windows linux雙系統的硬碟,還是通過usb連線的行動硬碟 u盤,都是可以掛載到linux系統中的。不過由於windows本身常用...
redhat掛載ntfs格式硬碟
在有些情況下,系統需要訪問本地 ntfs 分割槽上的資料,也可能需要訪問網路上 ntfs 檔案格式的資料。我們日常生活辦公中使用的系統還是windows比較多的,行動硬碟也基本是ntfs檔案系統格式的。而由於預設情況下,linux 核心不支援 ntfs ntfs 3g ntfsprogs 2011....