Linux下挂载NTFS文件系统的U盘

1、需要安装一个ntfs-3G工具

工具包下载网站:http://www.tuxera.com/community/ntfs-3g-download/

根据情况选择要下载的包:我的是redhat 下载了 Stable Source Release 2017.3.23

2、解压

tar -xvf ntfs-3g_ntfsprogs-2017.3.23.tgz

3、编译、安装

./configure && make && make install

4、挂载
mount -t ntfs-3g /dev/sdb1 /mnt/

提示:

NTFS signature is missing.
Failed to mount '/dev/sdb1': Invalid argument
The device '/dev/sdb1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
我的U盘是64G的,在电脑上格式化时,选择NTFS格式,格式化后,再挂载OK。(之前是exfat格式的,在Redhat系统上用fdisk -l 不显示exfat格式,只是HPFS/NTFS格式,在centos系统上显示exfat格式)

5、解挂
umount /mnt/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值