Thursday, May 6, 2010

Mounting NTFS Partitions on CentOS 5 via yum

I have updated this post to reflect recent changes in CentOS base repos to 5.5 versions of RHEL. 

CentOS 5 NTFS Mount (fuse, ntfs, yum update)


Windows Drive mount Used to ntfs-3g

1. yum-priorities package install for rpmforge add to yum
[root@localhost ~]# yum install yum-priorities -y

2. "priority=N" add to /etc/yum/pluginconf.d/priorities.conf

[root@localhost ~]# vi /etc/yum/pluginconf.d/priorities.conf
[main]
enabled = 1
check_obsoletes = 1
priority=2

3. Install rpmforge

[root@localhost ~]# rpm -ivh http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

4. update yum

[root@localhost ~]# yum check-update

5. install "fuse", "fuse-ntfs-3g", "dkms", "dkms-fuse"

[root@localhost ~]# yum install fuse fuse-ntfs-3g dkms dkms-fuse -y

6. make directory "windows" for mount ntfs

[root@localhost ~]# mkdir /windows

7. mount ntfs filesystem to "/windows" , type is ntfs-3g

[root@localhost ~]# mount -t ntfs-3g /dev/sda1 /windows
[root@localhost ~]# ls -al /windows/

No comments:

Post a Comment