mount: unknown filesystem type 'ntfs'

2023-05-25,,

mount: unknown filesystem type 'ntfs'

问题描述

# mount –t ntfs /dev/sdc1 /mnt/usb2
mount: unknown filesystem type ‘ntfs’

原因:系统无法识别ntfs格式分区

解决办法

编译安装ntfs-3g。在 ntfs-3g 网站,下载最新稳定版软件包。

编译安装 ntfs-3g:

wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz
tar zxvf ntfs-3g_ntfsprogs-2015.3.14.tgz
cd ntfs-3g-2011.1.15
./configure
make
make install

重新挂载成功!

mount -t ntfs-3g  /dev/sdc1 /mnt/usb2

基础知识

mount 命令

# man mount
看到如下: All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the filesystem found on some device to the big file tree. Conversely, the umount(8) command will detach it again. The standard form of the mount command, is mount -t type device dir This tells the kernel to attach the filesystem found on device (which is of type type) at the directory dir. The previous contents (if any) and owner and mode of dir become invisible, and as long as this filesystem remains mounted, the pathname dir refers to the root of the filesystem on device.

fdisk 查看设备【查看系统设备。例如/dev/sdc1等, 设备名称列表】

# fdisk -f
Disk /dev/sdc: 1000.2 GB, 1000170586112 bytes, 1953458176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x492c7b9b Device Boot Start End Blocks Id System
/dev/sdc1 2048 1953458175 976728064 7 HPFS/NTFS/exFAT

相关资源

http://www.tuxera.com/community/open-source-ntfs-3g/
http://www.blogjava.net/freeman1984/archive/2013/05/17/399427.html

转载请注明出处: http://www.cnblogs.com/brookin/p/4761999.html

mount: unknown filesystem type 'ntfs'的相关教程结束。

《mount: unknown filesystem type 'ntfs'.doc》

下载本文的Word格式文档,以方便收藏与打印。