CentOS 6.0 掛在NTFS

來源:互聯網
上載者:User

所有的操作我用的是跟使用者進行的。(我在VMWare虛擬機器中裝的CentOS6.0,但是在自己電腦win7上系統裡的虛擬機器中配置失敗,在公司的XP中配置成功,很無語!!)


查看系統中有沒有安裝fuse和ntfs-3g這兩個軟體,如果沒有先下載安裝。

fuse是系統內建的安裝包,可以使用 rpm -qa|grep fuse 查看是否安裝。
運行命令:yum install fuse -y  即可完成下載安裝。

ntfs-3g需要單獨下載。

運行命令:

# yum install wget gcc make

按提示安裝即可

# wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2012.1.15.tgz
安裝:  tar zxvf ntfs-3g_ntfsprogs-2012.1.15.tgz,執行後得到ntfs-3g-2010.10.2目錄
        mv ntfs-3g_ntfsprogs-2012.1.15.tgz ntfs-3g    更改目錄名字  
       

 運行  cd ntfs-3g   進入ntfs-3g目錄,

運行

        ./configure  運行configure檔案,編譯安裝
        make
        make install

安裝完成後重啟或登出再登入。

運行 
fdisk -l命令  查看系統識別到的硬碟,結果如下:

[root@Spring zhengchunxi]# fdisk -lDisk /dev/sda: 500.1 GB, 500107862016 bytes255 heads, 63 sectors/track, 60801 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0xc47db7cd   Device Boot      Start         End      Blocks   Id  System/dev/sda1               1        6528    52436128+  2d  Unknown/dev/sda2            6529       60801   435947872+   f  W95 Ext'd (LBA)/dev/sda5            6529       24375   143355996    7  HPFS/NTFS/dev/sda6           24376       42222   143355996    7  HPFS/NTFS/dev/sda7           42223       60801   149235786   2d  UnknownDisk /dev/sdb: 42.9 GB, 42949672960 bytes255 heads, 63 sectors/track, 5221 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x000d41b0   Device Boot      Start         End      Blocks   Id  System/dev/sdb1   *           1        4831    38796288   83  Linux/dev/sdb2            4831        5222     3145728   82  Linux swap / Solaris[root@Spring zhengchunxi]# 

找到你需要掛載的NTFS格式的硬碟

使用mount命令掛載:mount  -t   ntfs-3g   (NTFS硬碟路徑)   (掛載路徑)
例如:mount -t ntfs-3g   /dev/sdb5  /mnt/ntfs,可在/mnt/ntfs中看到NTFS格式的硬碟sdb5中的檔案。

卸載:umount /mnt/ntfs

沒有安裝fuse軟體,或者沒裝適合版本的fuse軟體 :
fuse device is missing, try 'modprobe fuse' as rootFATAL: Module fuse not found.
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root

{    
    Module fuse not found.
    modprobe fuse    此命令用來查看系統是否支援fuse
    查看系統的核心版本:       
    # uname –r            因為系統預設的核心並不支援FUSE模組,所以需要更新核心。
    更新核心:
    yum install kernel*
    shutdown -r now 重啟電腦

}

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.