centos 掛載ntfs分區格式硬碟

來源:互聯網
上載者:User

1, 首先確認fuse,CentOS 5.5 帶有fuse,可以使用 rpm -qa | grep fuse 查看是否安裝。

 

 [root@localhost ntfs-3g-2010.5.22]# rpm -qa | grep fuse

 fuse-2.7.4-8.el5

 

 說明已經安裝fuse

 

 

 

如果沒有顯示,請執行

 

[root@localhost ntfs-3g-2010.5.22]#yum install fuse

 

 2,安裝ntfs-3g, 系統預設的軟體庫更新不到ntfs-3g,可以自己下載編譯安裝。

 下載網址:http://www.tuxera.com/community/ntfs-3g-download/

 

 下載完後安裝,安裝方法下載點有。

 

 簡單介紹一下, 下載後解壓

 

 [root@localhost packages]# tar -zxvf ntfs-3g-2010.5.22.tgz 

 

 進入解壓後的目錄

 

 [root@localhost packages]# cd ntfs-3g-2010.5.22

 [root@localhost ntfs-3g-2010.5.22]#

 

 檔案夾中的檔案   

 

 [root@localhost ntfs-3g-2010.5.22]# ls

 aclocal.m4    config.h       configure.ac  INSTALL       m4           README

 AUTHORS       config.h.in    COPYING       install-sh    Makefile     src

 autogen.sh    config.log     COPYING.LIB   libfuse-lite  Makefile.am  stamp-h1

 ChangeLog     config.status  CREDITS       libntfs-3g    Makefile.in

 compile       config.sub     depcomp       libtool       missing

 config.guess  configure      include       ltmain.sh     NEWS

 [root@localhost ntfs-3g-2010.5.22]# 

 

 接著依次執行     

 

 [root@localhost ntfs-3g-2010.5.22]#./configure 

 [root@localhost ntfs-3g-2010.5.22]#make 

 [root@localhost ntfs-3g-2010.5.22]#make install

 

 完了之後就可以正常mount ntfs 檔案了

 

 [root@localhost ntfs-3g-2010.5.22]# mount -t ntfs-3g /dev/sda2 /mnt

 [root@localhost ntfs-3g-2010.5.22]# ls /mnt

 centos    RECYCLER                                vm2k3

 IDE       System Volume Information               vmdesk

 Incoming  TDDOWNLOAD                              w2003SP2.iso

 kankan    the brothers four                       windows  

 music     ubuntustudio-10.04-alternate-amd64.iso  讀書

 news      vm

 

 

 

卸載移動硬碟請執行[root@localhost ntfs-3g-2010.5.22]#umount /mnt

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.