Apr 23, 2020

HOW TO OPEN WINDOWS NTFS DRIVE ON LINUX

To open NTFS drive on Linux, we need to install the ntfs-3g package.
NTFS-3G is a stable Open Source NTFS driver that supports reading and writing to NTFS drives on Linux and other operating systems.
This package comes from EPEL if you’re using CentOS/RHEL.

Run the following command to install EPEL repository and ntfs-3g package:

[[email protected] ~]$ su

Password:

[[email protected] user]# yum install epel-release

[[email protected] user]# yum install ntfs-3g


The next step is identify the partition and create a mount point:

[[email protected] user]# blkid

It will show you all the current connected hard drive/partitions on the computer.
Example:
/dev/sda1: LABEL="System Reserved" UUID="104AFBC24AFBA2A0" TYPE="ntfs"
/dev/sda2: UUID="6E0802260801EE41" TYPE="ntfs"
/dev/sda3: UUID="3dd36e9c-e367-44b2-8ffc-b4ce5ffed287" TYPE="ext4"
/dev/sda4: UUID="1cf0210c-22c3-4e77-99c7-fccf74d3105e" TYPE="swap"
/dev/sdb1: LABEL="Data" UUID="7FC482015907F743" TYPE="ntfs"
/dev/sdc1: LABEL="MULTIBOOT" UUID="1613-316C" TYPE="vfat"

[[email protected] user]# mkdir /mnt/ntfs


Then mount the partition and open it with GUI:

[[email protected] user]# mount /dev/sdb1 -t ntfs-3g -o permissions /mnt/ntfs

[[email protected] user]# nautilus /mnt/ntfs


Note: This method is not permanent. After system restart, we have to run mount and nautilus command again.

No comments:

Post a Comment

PURPOSE OF LIFE IS NOT HAPPINESS

For many people, happiness has become their goal/purpose in life. Finding happiness has been everyone's struggle. To be honest, I don&#...