How to fsck the microSD card?

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
User avatar
keith.f.kelly
Posts: 90
Joined: Sun May 24, 2020 11:10 pm
Location: Sammamish, WA, USA
Has thanked: 3 times
Been thanked: 8 times
Contact:

How to fsck the microSD card?

Unread post by keith.f.kelly »

If I suspect filesystem corruption, how do I go about running fsck against the entire primary microSD card? I get all kinds of fun warnings about how I either can't, or shouldn't, run fsck against a mounted filesystem... but the filesystem has to be mounted in order to boot... Catch-22. Is there some magic flag or command I can run to force it to run fsck on the next reboot?

I ask this because I've been experiencing some random spontaneous reboots of my MiSTer lately, either from the OSD or during gameplay.
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: How to fsck the microSD card?

Unread post by jca »

You can always remove the SD card and test it under Windows or whatever.
Post Reply