Deleting corrupt DOS files

I recently tried to resize my external usb drive partition which failed on me due to a corrupt file in the partition. The file could not be deleted or moved.

I used dosfsck which comes with dosfstools rpm. Installed it and ran `dosfsck -av /dev/sda1` on the unmounted drive, which automatically fixed the corrupt files. I was then able to resize the partition with the parted tool.

More on how to resize with parted to follow...

Comment