Mounting NTFS Hard Drive

Issues related to applications and software problems and general support
Post Reply
Joe Knox
Posts: 1
Joined: 2020/06/29 00:22:06

Mounting NTFS Hard Drive

Post by Joe Knox » 2020/06/29 00:25:35

I want Centos 8 to permanently mount my second hard drive which is formatted as NTFS. Can somebody tell me how that's done?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Mounting NTFS Hard Drive

Post by TrevorH » 2020/06/29 02:02:00

You'll need to yum install epel-release to gain access to the third party yum repo, EPEL. Then yum install ntfs-3g and now you can mount -t ntfs-3g /dev/whatever /somewhere. You can also add an entry to /etc/fstab but if you do this, make sure you run mount -a after making your modification and before rebooting as it will tell you if it is correct or not. Don't reboot until it is. If this disk might not be available at boot time then make sure you add the option 'nofail' to the mount options in fstab.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

craig88
Posts: 8
Joined: 2022/12/26 02:42:18

Re: Mounting NTFS Hard Drive

Post by craig88 » 2022/12/26 02:54:18

These instructions are not working on CentOS Stream 9, "dnf install ntfs-3g" fails. Is there a workaround?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Mounting NTFS Hard Drive

Post by TrevorH » 2022/12/26 10:05:52

Did you install epel-release first? It exists for 9 though I am not sure if it exists for the 9 beta that's known as Stream.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

craig88
Posts: 8
Joined: 2022/12/26 02:42:18

Re: Mounting NTFS Hard Drive

Post by craig88 » 2022/12/26 15:00:20

It was installed but I noticed 'yum repolist' did not show it. I did a cycle of:
dnf remove epel-release
dnf install epel-release
and that fixed it, the ntfs-3g install worked.

Post Reply