CentOS下不能掛載NTFS的隨身碟解決方案

來源:互聯網
上載者:User

CentOS下不能掛載NTFS的隨身碟解決方案
問題:
#mount –t ntfs /dev/sdb1 /mnt/usb
mount: unknown filesystem type ‘ntfs’
這是由於CentOS release 5.3(Final)上無法識別NTFS格式的分區。

解決辦法:
通過使用 ntfs-3g 來解決。
開啟ntfs-3g的下載點http://www.tuxera.com/community/ntfs-3g-download/,將最新穩定(當前最新版本為ntfs-3g-2010.8.8.tgz)下載到CentOS,執行以下命令安裝:
1) 編譯安裝 ntfs-3g:
#./configure
#make
#make install(或 sudo make install)
2) 查看USB裝置點
#fdisk -l
Disk /dev/sda: 154.7 GB, 154750418432 bytes
255 heads, 63 sectors/track, 18814 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 18814 151019032+ 8e Linux LVM

Disk /dev/sdb: 500.1 GB, 500107861504 bytes
255 heads, 62 sectors/track, 61781 cylinders
Units = cylinders of 15810 * 512 = 8094720 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 61782 488384000+ 7 HPFS/NTFS

3) 掛載NTFS分區
#mount –t ntfs-3g /dev/sdb1 /mnt/usb
4) 卸載NTFS分區
#umount –l /mnt/usb

相關文章

聯繫我們

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