“How to fix windows mbr from ubuntu”
Method One:Boot Repair Utility
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt update sudo apt install boot-repair
Method Two: Syslinux
sudo apt-get install syslinux
sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda
sudo apt-get install mbr sudo install-mbr -i n -p D -t 0 /dev/sda