CENTOS7 mount NTFS disk format USB flash drive

Source: Internet
Author: User
Tags ukey aliyun

Because the CentOS default does not recognize the NTFS disk format, so we have to use another software to mount, that is ntfs-3g.

The own Yum source does not have this software, to use the third-party software Park, here I use Ali's Epel.

1. Switch to the system yum directory and download Ali's Epel

[Email protected] ~]# cd/etc/yum.repos.d/
[Email protected] yum.repos.d]# wget Http://mirrors.aliyun.com/repo/epel-7.repo

2. Find the NTFS-3G software available on the current source

[email protected] yum.repos.d]# Yum list ntfs*
loaded plugins: Fastestmirror, LangPacks
Repository Epel is listed more than once in the configuration
Repository Epel-debuginfo is listed more than once in the configuration
Repository Epel-source is listed more than once in the configuration
Loading mirror speeds from cached Hostfile
* elrepo:dfw.mirror.rackspace.com
* epel:mirrors.aliyun.com
Installed Packages
ntfs-3g.x86_64 2:2017.3.23-1.el7 @epel
packages that can be installed
ntfs-3g-devel.x86_64 2:2017.3.23-1.el7 Epel
ntfsprogs.x86_64

3. Installation:

[Email protected] yum.repos.d]# yum-y install ntfs-3g

4. Mount USB Drive

Insert NTFS-formatted USB flash drive, fdisk-l View drive letter, new mount directory and mount

[Email protected] ~]# fdisk-l

disk/dev/sdb:31.1 GB, 31104958464 bytes, 60,751,872 sectors
Units = Sector of 1 * bytes
sector size (logical/Physical): 512 Bytes/512 bytes
I/O size (min/best): 512 Bytes/512 bytes
disk label type: DOS
disk identifier: 0x00000000

device Boot Start End Blocks Id System
/DEV/SDB1 * 2048 60751871 30374912 7 Hpfs/ntfs/exfat

[Email protected] ~]# Mkdir/mnt/ukey

[email protected] ~]# Mount Ntfs-3g/dev/sdb1/mnt/ukey

5. Uninstall the USB flash drive, I heard not to uninstall the words will prompt the format disk-_-"

[Email protected] ~]# UMOUNT/DEV/SDB1

2017-08-18 10:00:35 @sh HP

CENTOS7 mount NTFS disk format USB flash drive

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.