mount permanently NTFS in Fedora 13 and 14

by

Please shareShare on Facebook0Share on Google+0Tweet about this on Twitter0Share on LinkedIn0Share on Reddit0Digg thisShare on StumbleUpon0Share on VKBuffer this page

we  want  to  show in this tutorial  how  to mount NTFS  partition (Windows 7)  in my  example . first thing we  advice  to do is  to install  rpmfusion free and  non-free repository    rpmfusion.org

 

First   thing  we  have  to  add ntfs-3g   driver  to   your  partition

yum install ntfs-3g

 

now  we  have  to  check  NTFS partitions    devices with  fdisk

[root@fedora-home ~]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1549f232

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       10199    81817600    7  HPFS/NTFS
/dev/sda3           10199       73943   512020480    7  HPFS/NTFS
/dev/sda4           73943      121601   382817515+   f  W95 Ext'd (LBA)
/dev/sda5           73943      112190   307220480    7  HPFS/NTFS
/dev/sda6          112190      112254      512000   83  Linux
/dev/sda7          112254      121601    75082752   8e  Linux LVM

 

Now we  see  that   we  have 3 windows  partitions.    /dev/sda2  and  /dev/sda3  /dev/sda5

Now  make a  windoows  directory  on  /mnt  like

mkdir  -p /mnt/win1
mkdir  -p /mnt/win2
mkdir  -p /mnt/win3

 

Now  mount  the  devices  to these  directories   with

[root@fedora-home ~]# mkdir  /mnt/win1
[root@fedora-home ~]# mount -t ntfs-3g  /dev/sda2  /mnt/win1/
[root@fedora-home ~]# ls  /mnt/win1/
bdlog.txt     Config.Msi              hp            pcconf.ini     pcwords.dat    Program Files (x86)        Users        Windows
Boot          CUJBW                   MSOCache      pc_sign.slf    PerfLogs       Recovery                   WebCam
bootmgr       Documents and Settings  NVIDIA        pcversion.txt  ProgramData    $Recycle.Bin               WebCamNXPro
BOOTSECT.BAK  hiberfil.sys            pagefile.sys  pcwords2.dat   Program Files  System Volume Information  win7.ld
[root@fedora-home ~]# yum install  converseen

 

 

with  the  same  method   we  can mount the  other  partitions

 

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

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

/dev/sda3               /mnt/win2          ntfs-3g auto,users,uid=0,gid=500,umask=000,rw   0 0
/dev/sda5               /mnt/win3          ntfs-3g auto,users,uid=0,gid=500,umask=000,rw   0 0

 

now  you  can acccess   windows  partitions  easy   to  transfer files  or  folders

[root@fedora-home ~]# ls -altr /mnt
total 48
drwxrwxrwx.  1 root root 20480 Sep  5 22:44 win1
drwxrwxrwx.  1 root root  4096 Sep  5 22:44 win3
drwxrwxrwx.  1 root root 16384 Sep  5 22:44 win2
dr-xr-xr-x. 25 root root  4096 Sep  6 19:53 ..
drwxr-xr-x.  5 root root  4096 Sep  7 09:37 .
[root@fedora-home ~]#