add NTFS partitons to your Centos or RHEL

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg

In this tutorial we will show you how to add NTFS partitions to your centos or RHEL

Install the rpmforge-release package as directed here and try the yum command again

The commands to type in order:

rpm -Uvh  http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm 
yum install fuse fuse-ntfs-3g dkms dkms-fuse


Here is am example /etc/fstab entry for both you and madi_beni that should work at boot time;

 [root@localhost pirat9]# /sbin/fdisk  -l


Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        6375    51207156    7  HPFS/NTFS
/dev/sda2            6376       19124   102406342+   7  HPFS/NTFS
/dev/sda3   *       19125       19137      104422+  83  Linux
/dev/sda4           19138       24321    41640480    5  Extended
/dev/sda5           19138       24321    41640448+  8e  Linux LVM
[root@localhost pirat9]# mkdir  -p  /mnt/windows_c

[root@localhost pirat9]# mkdir  -p  /mnt/windows_D

[root@localhost pirat9]# mount -t ntfs-3g /dev/sda1 /mnt/windows_c

[root@localhost pirat9]# mount -t ntfs-3g /dev/sda2 /mnt/windows_D

[root@localhost pirat9]# ls  /mnt/windows_D
Acer-D  Drivers  Music    RECYCLER  Solaris   System Volume Information
cod4-   Maroua   omnibot  Softwars  SOL-pack  torrent

its  working  .

now  you  have  to add  these  lines  to  /etc/fstab  to make  this  mount  permanently

/dev/sda1               /mnt/windows_c          ntfs-3g auto,users,uid=0,gid=500,umask=000,rw   0 0

/dev/sda2               /mnt/windows_D          ntfs-3g auto,users,uid=0,gid=500,umask=000,rw   0 0

please  for  any  other  question  contact  us  in the  forum  of  unixmen.net

{loadposition user9}

Related Articles By Tags :

{loadposition user1}

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0Pinterest0StumbleUpon0Digg