first download boot-repair-disk iso file
https://sourceforge.net/projects/boot...
now install ddrescue
-sudo apt install gddrescue
-sudo fdisk -l (to check device block name)
-ddrescue path/to/.iso /dev/sdx --force -D
-now reboot your computer and log into the boot repair tool
then select boot repair tool and select recommended repair.