版权声明:转载请标明出处! https://blog.csdn.net/weixin_38642130/article/details/87612277
下载ntfs-3g
$ wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz
安装ntfs-3g
$ tar -zxvf ntfs-3g_ntfsprogs-2017.3.23.tgz
$ cd ntfs-3g_ntfsprogs-2017.3.23/
$ ./configure && make && make install
查看挂载硬盘的盘符
$ fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 1196.0 GB, 1195997396992 bytes
255 heads, 63 sectors/track, 145405 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: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 145406 1167966207+ ee GPT
Disk /dev/sdb: 2000.4 GB, 2000365289472 bytes
255 heads, 63 sectors/track, 243197 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: 0x5a12c6ac
Device Boot Start End Blocks Id System
/dev/sdb1 1 243198 1953480704 7 HPFS/NTFS
挂载
使用以下命令进行硬盘挂载
命令一:
$ ntfs-3g /dev/sdb1 /media/
命令二:
$ mount -t ntfs-3g /dev/sdb1 /media
参考链接:
1、使用ntfs-3g挂载NTFS格式的U盘
https://blog.csdn.net/butterfly5211314/article/details/72851243