首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >NTFS格式移动硬盘挂载至linux机器操作步骤

NTFS格式移动硬盘挂载至linux机器操作步骤

作者头像
Linux运维技术之路
发布2022-06-07 08:46:38
发布2022-06-07 08:46:38
6.3K0
举报

1、需要安装ntfs相关软件包,执行如下命令安装 ntfs-3g:

yum install -y ntfs-3g

2、查看接入的移动硬盘设备名称

fdisk -l 命令可以直接查看

代码语言:javascript
复制
[root@test-228 ~]#  fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
 
磁盘 /dev/sde:4000.8 GB, 4000787029504 字节,7814037167 个扇区
Units = 扇区 of 1 * 512 = 512 bytes
扇区大小(逻辑/物理):512 字节 / 4096 字节
I/O 大小(最小/最佳):4096 字节 / 33553920 字节
磁盘标签类型:gpt
Disk identifier: 58A31A1C-BA4A-460A-8168-3FC73CDC6D56
 
 
#         Start          End    Size  Type            Name
 1           34       262177    128M  Microsoft reser
Partition 1 does not start on physical sector boundary.
 2       264192   7814035455    3.7T  Microsoft basic Basic data partition

3、正确挂载方式

  • 3-1、错误挂载方式
代码语言:javascript
复制
[root@test-228 ~]# mount -t ntfs-3g /dev/sde1 /newntfs
NTFS signature is missing.
Failed to mount '/dev/sde1': 无效的参数
The device '/dev/sde1' 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?
  • 3-2、正确挂载方式 读取第2数据分区 选择/dev/sde2进行挂载(Microsoft basic Basic data partition)
代码语言:javascript
复制
[root@test-228 ~]# mount -t ntfs-3g /dev/sde2 /newntfs
[root@test-228 ~]# ll /newntfs/
总用量 4
drwxrwxrwx 1 root root 4096 11月 15 15:26 $RECYCLE.BIN
drwxrwxrwx 1 root root    0 11月 11 18:35 System Volume Information
drwxrwxrwx 1 root root    0 10月 21 10:05 test
本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2019-12-04,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 Linux运维技术之路 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 1、需要安装ntfs相关软件包,执行如下命令安装 ntfs-3g:
  • 2、查看接入的移动硬盘设备名称
  • 3、正确挂载方式
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档