Score:1

Read-only filesystem with corrupt Windows installation

cn flag

My 1tb hdd is read-only. I followed the steps shown here

and got this output:

WARNING: blksize option is ignored because ntfs-3g must calculate it.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only

Tough part is that my Windows installation is corrupted after my system crashed & took my time, gpu, and ssd with it (which is also when I last used Windows). This has happened several times before but the solution was to simply do a clean shutdown on Windows, which I can't even do anymore. Also not sure if re-installing windows (which I might do sometime soon) means I can clear the cache. If anyone can help, I appreciate it.

us flag
Can you backup the files from the read-only drive and format it (and format the Windows drive also)?
Nmath avatar
ng flag
Are Windows and Ubuntu installed on the same disk? It sounds like the drive is dying. If I were you, if you don't have good backups, I would run a live session of Ubuntu (Try Ubuntu) and back up the data now to a different disk before this one dies completely
rfm avatar
mk flag
rfm
No way to get the cached data flushed if the Windows install is broken. After reinstalling Windows, run chkdsk on the file system to get back as much as possible. The Linux ntfsfix command (sort of fsck for ntfs) it usually considered less capable than chkdsk, and not recommended.
ChanganAuto avatar
us flag
`ntfsfix` is not capable at all of correcting NTFS file system errors, it merely marks the partition as needing error correction that must be done with Windows tools.
Score:1
fr flag

I installed Windows 10 using the same disk alongside Debian in another partition, and it started to appear this error. My solution was to run as superuser the ntfsfix command on the partition with the problem.

$ sudo ntfsfix /dev/sdx
Basile Starynkevitch avatar
jp flag
I would also check the disk partitioning and output of `dmesg`. Beware of overlapping partitions.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.