This error is saying that the system can't recognize the ntfs format hard disk. So it cannot be mounted directly.
There are two ideas for solving this problem:
- Format the disk into a format that linux recognizes.
- Make linux recognize the ntfs format with tools.
If this is the first time you mount a hard disk you can use the first solution, however, I already had data on my hard disk, so I used the second solution.
By means of Dojo and other means, I found out that people use the ntfs-3g tool to solve this problem.
Installation steps
- Use wget to download:
wget /opensource/ntfs-3g_ntfsprogs-2022.10.
- Decompression:
tar -zxvf ntfs-3g_ntfsprogs-2022.10.
- compile and install
cd ntfs-3g_ntfsprogs-2022.10.3
./configure
make
make install
Just mount the hard disk after the installation is complete:mount -t ntfs-3g /dev/sdc2 /work/