Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X
Post

Mounting an NTFS external hard drive on centos

I had a requirement to back up all the files on an archive server and I thought Ill just hook up the 1 terabyte hd on USB and issue mount -t ntfs-3g /dev/sda /mnt/external and be done with it. But no it didnt work, so I have to configure the server to support it.

Here’s how:

Get RPMforge:

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm

Install Dag’s GPG keys:

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

Verify what you have downloaded:

rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm

Then install it:

rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm

check if it is working:

yum check-update

So we got RPMforge now what?

Let’s install what we needed in order to get that external usb hard drive to work with our centos server!

yum install fuse fuse-ntfs-3g dkms dkms-fuse -y

Wait for it to install then once done, lets create a exterhdd directory.

mkdir /mnt/exterhdd

Now we mount the external hard drive:

mount -t ntfs-3g /dev/sda1 /mnt/exterhdd

You’re done.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • Fark
  • LinkedIn
  • Live
  • MSN Reporter
  • MySpace
  • RSS
  • Slashdot
  • StumbleUpon
  • Technorati
  • Yahoo! Bookmarks
  • Yahoo! Buzz
  • Thanks for this.. very beneficial and easy to follow.

    Caroline

    June 16, 2010

Leave a comment  

name*

email*

website

Submit comment

CommentLuv badge

Switch to our mobile site