Method: 1. Use the "gedit CentOS-Base.repo file path" command to change the enable value in the file to 1; 2. Use the "yum update" command and restart to update the system kernel; 3. Use Just use the "yum install ntfs dependency package" command to install the ntfs dependency package.
The operating environment of this article: centos 6.2 system, Dell G3 computer.
CentOS does not support NTFS partitions. I have searched a lot of information, but it does not help in actual use. It is not that the system is paralyzed, but there is no response. Finally, this small problem was solved. The reason was that the CentOS6.2 kernel did not support reading and writing NTFS partitions.
The specific implementation method is as follows:
1. Update the system kernel
First use the command uname -r to determine the current kernel. If it is displayed as 2.6. 32-220.7.1.el6.i686 indicates that the current kernel does not support ntfs partitions.
You will also get an error when installing fuse-ntfs-3g, so you must update the kernel first and execute gedit /etc/yum.repos before updating. .d/CentOS-Base.repo, modify the enable=0 line in the [centosplus] section of the file, change the enable value 0 to 1, then save and exit,
2. After executing yum update will update the centos plus kernel. After the update is completed, restart the computer.
Enter uname -r again. If you see that the kernel version becomes 2.6.32-220.7.1.el6.centos .plus.i686,
3. Install the ntfs dependency package
to the next step, enter
rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release- 0.5.2-2.el6.rf.i686.rpm,
After the update is completed, execute yum install fuse- ntfs-3g installs the ntfs dependency package. After the installation is completed, the system supports NTFS partitions! If the system is 64-bit, just replace i686 in the rpm statement with x86_64. There is no problem with the installation on the CentOS6.2 system, but there is no guarantee that other versions will be available.
Recommended tutorial: "centos tutorial"
The above is the detailed content of What should I do if centos does not support ntfs partitions?. For more information, please follow other related articles on the PHP Chinese website!