Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the two methods of mounting NTFS partitions on CentOS?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces how the two methods of CentOS mount NTFS partition are respectively, the content is very detailed, interested friends can refer to, hope to be helpful to you.

The first is to install the kernel module, which can be downloaded from http://sourceforge.net/projects/linux-ntfs/files/. You need to download the version corresponding to your system kernel, and use uname-a to view the current kernel version. After installation, you can mount it using mount-t ntfs / dev/sda1 / mnt. The drawback of this approach is that mounted ntfs partitions are read-only.

The other is to install ntfs-3g, where partitions mounted using ntfs-3g are read / write. It can be installed using yum install ntfs-3g under the terminal. If you cannot find the package, you may need to modify the update source, edit / etc/yum.repos.d/CentOS-Base.repo, and change the content to:

[base]

Name=CentOS-5-Base

# mirrorlist= http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&repo=os

# baseurl= http://mirror.centos.org/centos/$releasever/os/$basearch/

Baseurl= http://ftp.sjtu.edu.cn/centos/5.3/os/$basearch/

Gpgcheck=1

Gpgkey= http://mirror.centos.org/centos/RPM-GPG-KEY-centos6

# released updates

[update]

Name=CentOS-5-Updates

# mirrorlist= http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates

Baseurl= http://ftp.sjtu.edu.cn/centos/5.3/updates/$basearch/

Gpgcheck=1

Gpgkey= http://mirror.centos.org/centos/RPM-GPG-KEY-centos5

# packages used/produced in the build but not released

[addons]

Name=CentOS-5-Addons

# mirrorlist= http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=addons

Baseurl= http://ftp.sjtu.edu.cn/centos/5.3/addons/$basearch/

On the CentOS mount NTFS partition how the two methods are shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report