Friday, March 30, 2012

Mount NTFS partition on Centos 6

5 Steps :


1. open the terminal window with the root account.

2. download rpmforge for centos 6 to your system:

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

3. now install the rpmforge for centos 6:

rpm -Uvh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

4. just install/update the package fuse-ntfs-3g:

# yum update fuse-ntfs-3g

5. mount your units:

# mount -a


you are using a bit of the wrong commands 
a few questions 
1) do you want this AUTO mounted at boot 
or
2) ONLY mounted sometimes when YOU MANUALLY mount it 

for auto mount , but REQUIRING the root password to access it (a good idea )
add a line to the fstab file 
1) make a folder /mnt/windows
2) add line to file fstab
Code:
/dev/sd??  /mnt/indows       ntfs-3g         defaults        1 0
and replace the two ?? with the partition you get from 
Code:
su -
fdisk -l
for the MANUAL mount do the above but put a # infront of the line and run 
Code:
mount /dev/sd??
replace the two ??

or
the use the FULL command
Code:
su -
mount  -t ntfs-3g /dev/sd?? /mnt/windows
again replace the two ?? with the partition.

-- 
A.Shahbazi

2 comments:

  1. Sands Casino Resort in Las Vegas | SegaCasino.com
    The 카지노사이트 Star Sands Casino Resort septcasino in Las Vegas, NV, United States is a 바카라 사이트 five-star destination for gaming, dining and entertainment.

    ReplyDelete
  2. Enjoyed reading the article above, Very interesting, good job, and thanks for sharing!!
    Technical Courses

    ReplyDelete