Friday, May 20, 2011

Simple Things Made Hard

I am using CentOS 5.6 as my desktop so it serves me right.  I really like CentOS though - even though it may not have all the fluff of Fedora or Ubuntu.  I have Xen running with Windows 7 and Fedora 14.  I loaded Fedora to try out Red Hat's 389 Directory.  I wanted to keep CentOS as vanilla as possible.  Here it is day 2 and I'm adding a non-standard repository to get my external 1TB hard drive to work. 

It took me a while to figure this out so I thought I'd better record it.  The issue was the ext. drive was ntfs-3g and CentOS didn't support it.  So I set up /etc/fstab to do this "mount -t ntfs -o defaults /dev/sdb1 /usbdrive" and then ...

# cd /etc/yum.repos.d/
# wget http://apt.sw.be/RPM-GPG-KEY.dag.txt
# wget http://packages.sw.be/rpmforge-release/rpmforge-#release0.5.2-2.el5.rf.i386.rpm
# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.i386.rpm
# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm 

# yum install -y --enablerepo=rpmforge ntfs-3g
# mount /usbdrive


Ta-dahhh!

No comments: