this post was submitted on 17 Oct 2023
3 points (100.0% liked)

Linux

5 readers
1 users here now

founded 2 years ago
 

I was just accessing some files off a portable HDD and my power went out due to a storm. When it came back on, my HDD wouldn't mount anymore. I booted into my Windows partition and had it scan and repair the drive, and thankfully it works again.

But I'm wondering--did I have to boot into Windows for that? Does Linux have any such utility?

top 3 comments
sorted by: hot top controversial new old
[–] ShaunaTheDead@kbin.social 6 points 1 year ago (1 children)

fsck is probably what you're looking for.

[–] e_t_@kbin.pithyphrase.net 1 points 1 year ago

It may be important for OP's dual-boot setup to note that Windows should be used to check an NTFS filesystem.

[–] ogwillikers@sh.itjust.works 3 points 1 year ago

It's recommended to let Windows check NTFS drives, but there's ntfsfix for those that live dangerously.