Friday, June 13, 2014

How to Mount Windows NTFS Partition in Linux

2:23 PM

First you need to enable EPEL (Extra Packages for Enterprise Linux) Repository. You may refer the article on how to enable EPEL Repository under RHEL, CentOS and Fedora systems.

To mount any NTFS based filesystem, you need to install a tool called NTFS3G. Before heading up for installation let’s understand NTGS3G.








What is NTFS3G


NTFS3G is an open source cross-platform, stable, GPL licensed, POSIX, NTFS R/W driver used in Linux. It provides safe handling of Windows NTFS file systems viz create, remove, rename, move files, directories, hard links, etc.

Once EPEL is installed and enabled, let’s install ntfs-3g package using the below command with root user.

root@linuxstorages:~# yum -y install ntfs-3g

Fuse Install

Next, install and load FUSE driver to mount detected devices with below command. FUSE module is included in the kernel itself in version 2.6.18-164 or newer.

  root@linuxstorages:~# yum install fuse

  root@linuxstorages:~# modprobe fuse

Identify NTFS Partition

Once fuse module is loaded, type below command to find out NTFS Partitions in Linux.

root@linuxstorages:~# fdisk -l

Device Boot Start End Blocks Id System
/dev/sdb1 1 21270 7816688 b W95 FAT32


Mount NTFS partition

First create a mount point to mount the NTFS partition.
 

root@linuxstorages:~# mkdir /mnt/nts

Simply run the following command to mount the partition. Replace sda1 with your actual partition found.

root@linuxstorages:~# mount -t ntfs-3g /dev/sda1 /mnt/nts

Once it’s mounted on /mnt/ntfs, you may use regular Linux ls -l command to list the content of mounted filesystem.

Written by

1 comments :

  1. Hi Pravin

    please put some installation in Picture mode, that should help for us easily to understand

    ReplyDelete

 

© 2014 Linux Storages | Updated . All rights resevered. Designed by Templateism