1. check the bad blocks with this command:
sudo badblocks -svw -f -c 65535 -b 4096 /dev/sda > badblocks.txt
2. Mark the badblock as un-writable
sudo e2fsck -l badblocks.txt /dev/sda
1. check the bad blocks with this command:
sudo badblocks -svw -f -c 65535 -b 4096 /dev/sda > badblocks.txt
2. Mark the badblock as un-writable
sudo e2fsck -l badblocks.txt /dev/sda