So the utility "dosfsck" is really dosfsck -> fsck.fat. If you type "man dosfsck" you get the man page for fsck.fat. Anyway, it's just this:
Code: Select all
[nicetry ~]# umount /boot
[nicetry ~]# dosfsck -w -r /dev/nvme1n1p1
fsck.fat 4.2 (2021-01-31)
There are differences between boot sector and its backup.
This is mostly harmless. Differences: (offset:original/backup)
65:01/00
1) Copy original to backup
2) Copy backup to original
3) No action
[123?q]? 1
Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
[12?q]? 1
/dev/nvme1n1p1: 370 files, 6114/261628 clusters
[nicetry ~]#
-r is to prompt for repair operations. The default is to repair automatically (and choose the least destructive solution if more than one exists). I don't like the sounds of that.
Yes, I want the existing boot sector copied to backup if there is a discrepancy.
Yes, I want to clear the dirty bit.
As I suspected, there were no real "errors" here, the dirty bit just needed to be cleared.