• Find us:
    +1 415 655 1723   |   +91-844-844-8901
  • Free Newsletter

     
     

  • Archive

  • Categories


  • Mount External Hard Disk (NTFS FileSystem) on Linux

    Posted by "" in "linux" on 2014-09-12

    Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someone

    Recently i had a requirement to mount an external hard disk formatted using NTFS (Windows filesystem ) with read write access permission on linux box.

    For that pre-requisite is to have NTFS-3G  package installed on linux . NTFS- 3G is the linux driver that provides support for mounting and writing on hard disk drives formatted with the  NTFS filesystem used on Windows operating systems.

    This package does not come out of box on most of linux  operating systems.

    Note:– For Read only file system mount, you just need ntfs  package which is supported by most of linux distributions out-of-box.

    You can download  ntfs-3g from below location
    http://www.tuxera.com/community/ntfs-3g-download/

    Unzip the tar to a suitable location on linux system using tar command

    tar    xzf    ntfs-3g_ntfsprogs-2014.2.15.tgz

    Change to unzipped directory

    cd ntfs-3g_ntfsprogs-2014.2.15

    Then compile and install ntfs-3g source code as below

    ./configure; make; make install

    Next Step, identify the partition with NTFS file system

    fdisk -l | grep NTFS

    Example  output:
    Device Boot          Start         End      Blocks   Id  System
    /dev/sda1               1       60802   488383488    7  HPFS/NTFS

    Now to mount the NTFS partition, create a directory wherever you wish to mount the files system, example

    mkdir /mnt/extdisk1

    Use mount command to mount like:

    mount -t ntfs-3g /dev/sda1 /mnt/extdisk1

    To have permanent mount, edit /etc/fstab file and add an entry like

    /dev/sda1  /mnt/extdisk1  ntfs-3g  defaults 0 0

    Thats it, you should be able to read-write on the external hard disk !!!!

    Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someone

    Leave a Reply

    Your email address will not be published. Required fields are marked *



  • K21 Technologies is among the most experienced Oracle Gold Partner for Identity Access Management service providers. We work with application development companies and in-house technology division to help achieve significant returns on their IT security investment. Our clientele includes some of the globally renowned corporate, which speaks of our expertise in our field.

    We have the most talented and experienced team that can swiftly deploy security solutions even in complex IT ecosystem. Our clients highly appreciate our timely implementation, interactive training, on-demand support and community resources.
  • CONTACTS

    K21 Technologies
    128 Uxbridge Road, Hatchend,,
    London, HA5 4DS

    US: +1 415 655 1723
    India: +91-844-844-8901

  • Copyright 2019, K21 Technologies. All rights reserved
  • TOP
    TOP