On Sat, Apr 23, 2022 at 11:16 AM Lily White <lilywhite2005@outlook.com> wrote:
Hi,

I have a NTFS flashdrive. When I plug it into Fedora, it reads and
writes normally. However, when plugged into M$ Windows, only an icon and
a not-so-informative ``Removable media'' is shown.

When I try to reformat it with Windows Disk Management, another
not-so-informative error ``Windows cannot format the given drive'' is shown.

I then filled it with zeroes with a Chinese partition management program
(AoMei, if that is useful) and recreated NTFS on it. It worked on
Windows. However, after a plug into Fedora it was ruined again: Fedora
recognized it, but Windows did not.

Results of `sudo fsck /dev/sdc1':

-------------------------------------
fsck from util-linux 2.37.4
Unsupported: replay_log()
Unsupported: check_volume()
Checking 256 MFT records.
Unsupported cases found.
ntfsck was unable to run properly.
-------------------------------------

So I ran `ntfsfix` on it and the following output was produced:

--------------------------------------------------------
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdc1 was processed successfully.
--------------------------------------------------------

A rerun of fsck produced identical output.

*Note that the drive was usable on Fedora throughout the process.*

Any idea what's behind this?
------
 From LilyWhite with love

I haven't done this for a while, but I used to have a similar problem with Win7 and FAT drives; however, Win7 would always offer to repair the drive and it would be fine again. It happened only on one series of promotional flash drives I had bought in bulk, i.e. they were all the same type and probably from the same production run. So I don't have real suggestions, but a question: does this happen on all NTFS flashdrives, or just this one? Maybe it's the drive itself.