Centos 5.x cannot read the mobile hard drive of NTFS partition

Source: Internet
Author: User

Note: At the beginning of the 6 series, yum install NTFS * can be mounted by the current login user by default *

The following commands are all run under the root user, or you can add sudo before the command.

Centos 5.3 does not support NTFS partition, hard disk inserted up, show "can't mount volumn", find on the Internet, found a NTFS-3G of the East.

1. Download the installation ntfs-3g, Fuse

1. Go to http://www.tuxera.com/community/ntfs-3g-download/upload and Download latest stable version.

Http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2012.1.15.tgz wget-C

Unzip tar xzfv ntfs-3g_ntfsprogs-2012.1.15.tgz

Install CD ntfs-3g_ntfsprogs-2012.1.15;./configure & make install & make clean

2. Go to the http://sourceforge.net/projects/fuse/files/ to download Fuse

Wget-C http://sourceforge.net/projects/fuse/files/latest/download? Source = files

Tar xzfv fuse-2.8.7.tar.gz

Install CD fuse-2.8.7;./configure -- prefix =/usr/local/ntfs-3g (installed on/usr/local/lib by default) & make install & make clean

Modprobe fuse; check whether the system supports fuse. If no information is displayed, the system supports fuse (no message is the best message :)....)

Ii. Mount

1. view all recognized hard disks of the current system, sudo fdisk-l

Find the location of the mobile hard drive or USB flash drive. My display is/dev/sdb1.

2. Create a mount directory under the/mnt directory, and multiple USB flash drives create multiple mkdir/mnt/mhdd;

Mount Mount-T ntfs-3g/mnt/USB/dev/sdb1 unmount umount/mnt/mhdd

Automatically mount/Etc/fstabAdd/dev/sdb1/mnt/USB ntfs-3g defaults 0 0

Echo "/dev/sdb1/mnt/USB ntfs-3g defaults 0 0">/etc/fstab
3. Copy files

An error occurred while copying the file "file: //". It is a general error "..........

Switch to the terminal and run CP-r/home/XXX/mnt/mhdd. the following error occurs: the directory cannot be created, and The multibyte or wide characters are invalid or incomplete.

-O locale = zh_CN.UTF-8

-O iocharset = utf8

However, there is still a problem. I want to upload it to the online storage and download it. As a result, tar has another problem. I finally borrowed a FAT32 USB flash drive ..


Related Article

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.