Home>Article>Operation and Maintenance> Can linux mount ntfs hard drive?

Can linux mount ntfs hard drive?

WBOY
WBOY Original
2022-03-24 14:55:43 6231browse

Under normal circumstances, linux cannot mount and recognize ntfs format hard disks. Only by recompiling the linux core and mounting the ntfs partition can linux be able to mount ntfs hard disks; you can enable linux by installing "ntfs-3g" Able to identify ntfs hard disk for mounting.

Can linux mount ntfs hard drive?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

Can linux mount ntfs hard disk?

Under normal circumstances, Linux cannot recognize NTFS format mobile hard disk (you need to recompile the Linux kernel to add an NTFS partition). At this time, in order to be able to In order for the Linux server to recognize the NTFS mobile hard disk, the ntfs-3g (Third Generation Read/Write NTFS Driver) package must be installed.

Introduction to NTFS-3G

NTFS-3G is an open source project, NTFS-3G is for Linux, Android, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX , Haiku, and other operating systems provide a stable, full-featured driver for reading and writing NTFS. It provides secure handling of NTFS file systems under Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 operating systems.

NTFS-3g is an open source software that supports reading and writing NTFS formatted partitions under Linux. It's very fast and safe. It supports Windows 2000, XP, 2003 and Vista, and supports all POSIX-compliant disk operations. The purpose of ntfs-3g is for sustainable development. Users of various hardware platforms and operating systems need reliable interoperability and drivers that support ntfs. ntfs-3g can provide trustworthy, feature-rich, high-performance solutions. After more than 12 years of development, ntfs-3g has gradually stabilized;

Step 1: Unzip and install NTFS-3G.

wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz tar -xvzf ntfs-3g_ntfsprogs-2017.3.23.tgz cd ntfs-3g_ntfsprogs-2017.3.23

The installation process is as follows:

./configure make make install

The system will prompt that the installation is successful. Now you can use ntfs-3g to read and write the NTFS partition

Step 2: Configure the mobile hard drive to be mounted in NTFS format

首先得到NTFS分区的信息 sudo fdisk -l | grep NTFS [root@DB-Server klb]# sudo fdisk -l | grep NTFS /dev/sdc1 * 1 244 1955776+ 7 HPFS/NTFS    2. 设置挂载点,用如下命令实现挂载   mount -t ntfs-3g      例如得到的NTFS分区信息为/dev/sdc1,挂载点设置在/mnt/usb下,可以用   mount -t ntfs-3g /dev/sdc1 /mnt/usb   或者直接用   ntfs-3g ntfs-3g /dev/sdc1 /mnt/usb 3. 如果想实现开机自动挂载,可以在/etc/fstab里面添加如下格式语句     ntfs-3g silent,umask=0,locale=zh_CN.utf8 0 0   这样可以实现NTFS分区里中文文件名的显示。    4. 卸载分区可以用umount实现,用   umount    或者   umount 
      

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of Can linux mount ntfs hard drive?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn