mount: unknown filesystem type 'ntfs' redhat 無法掛載ntfs格式分區

來源:互聯網
上載者:User
問題:
      mount: unknown filesystem type ‘ntfs’
      這是由於redhat上無法識別NTFS格式的分區。

解決辦法:
      通過使用 ntfs-3g 來解決。
      開啟ntfs-3g的下載點 http://www.tuxera.com/community/ntfs-3g-download/ ,將最新穩定下載到redhat,執行以下命令安裝:
      1) 編譯安裝 ntfs-3g:
            # ./configure
            # make
            # make install
      2) 查看裝置點
[root@localhost ~]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 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: 0xabff17d4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        5100    40965718+   7  HPFS/NTFS
/dev/sda2            5101      115074   883366155    f  W95 Ext'd (LBA)
/dev/sda3          115075      121347    50380800   83  Linux
/dev/sda4          121347      121602     2048000   82  Linux swap / Solaris
/dev/sda5            5101       11967    55159146    7  HPFS/NTFS
/dev/sda6           11968       38738   215038026    7  HPFS/NTFS
/dev/sda7           38739      115074   613168888+   7  HPFS/NTFS

      3) 掛載NTFS分區命令(此處是將/dev/sda1 掛載到 /mnt目錄下的c 檔案夾 , 若提示沒有路徑,必須自己建立相關檔案夾)

[root@localhost ~]# mount -t ntfs-3g  /dev/sda1  /mnt/c

================================以上為手動掛載,下面為開機自動掛載,非常方便===========================================
4)vi修改  /etc/fstab  檔案  在最後一行加入:

/dev/sda1  /mnt/c  ntfs-3g  defaults 0 0


如果還有其它分區,也一樣加入: /dev/sda5  /mnt/d  ntfs-3g  defaults 0 0
/dev/sda6  /mnt/e  ntfs-3g  defaults 0 0
/dev/sda7  /mnt/f  ntfs-3g  defaults 0 0



   



聯繫我們

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