您的位置:首页 > 运维架构 > Linux

mount: unknown filesystem type 'ntfs' redhat 无法挂载ntfs格式分区

2011-10-14 13:08 691 查看
问题:

      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

   
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  redhat linux ext c