CentOS 5.5 mount a removable hard drive method

Source: Internet
Author: User
Tags centos

1, first confirm Fuse,centos 5.5 with fuse, you can use Rpm-qa | grep fuse to see if it is installed.

The code is as follows Copy Code

[Root@localhost ntfs-3g-2010.5.22]# Rpm-qa | grep fuse
Fuse-2.7.4-8.el5

Description has been installed fuse

If it is not displayed, follow

[root@localhost ntfs-3g-2010.5.22] #yum install fuse

2, install NTFS-3G, the system default software library is not updated to ntfs-3g, you can download and compile your own installation.
Download URL: http://www.tuxera.com/community/ntfs-3g-download/

After downloading installation, installation method download point has.

Brief introduction, download after decompression

The code is as follows Copy Code

[Root@localhost packages]# TAR-ZXVF ntfs-3g-2010.5.22.tgz

Enter the unpacked directory

The code is as follows Copy Code

[Root@localhost packages]# CD ntfs-3g-2010.5.22
[Root@localhost ntfs-3g-2010.5.22]#

Files in a folder

The code is as follows Copy Code

[Root@localhost ntfs-3g-2010.5.22]# ls
ACLOCAL.M4 config.h configure.ac INSTALL M4 README
AUTHORS config.h.in copying Install-sh Makefile src
autogen.sh config.log copying. LIB Libfuse-lite makefile.am stamp-h1
Changelog Config.status credits libntfs-3g makefile.in
Compile config.sub depcomp Libtool missing
Config.guess Configure include ltmain.sh NEWS
[Root@localhost ntfs-3g-2010.5.22]#

Then execute it sequentially.

The code is as follows Copy Code

[Root@localhost ntfs-3g-2010.5.22]#./configure
[Root@localhost ntfs-3g-2010.5.22] #make
[root@localhost ntfs-3g-2010.5.22] #make Install

When you're done, you can mount the NTFS file normally.

Check with fdisk-l to see the removable hard drive as Dev/sda2

The code is as follows Copy Code
[Root@localhost ntfs-3g-2010.5.22]# mount-t ntfs-3g/dev/sda2/mnt
[Root@localhost ntfs-3g-2010.5.22]# Ls/mnt
CentOS RECYCLER vm2k3
IDE System Volume Information Vmdesk
Incoming Tddownload W2003sp2.iso
Kankan The Brothers Four Windows
Music Ubuntustudio-10.04-alternate-amd64.iso Reading
News VM

Uninstall the mobile hard drive please perform [root@localhost ntfs-3g-2010.5.22] #umount/mnt

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.