Execute Windows MBR repair on Ubuntu disk by mistake
Sebastian Wright
I got notebook with broken Windows booting and I have found some tricks how to repair it. I copied CMD from web and paste it to terminal. Imediately after pasting the CMD it executes with wrong disk. Then I tried to restart my computer and it says:
No boot signature in partition.The CMD was:
sudo lilo -M /dev/sda mbrDoes anyone know how to repair it?
12 Answers
I don't know much about boot stuff, but it sounds as if something has been overwritten. Try using testdisk. To do so, get a live CD or USB, boot into it, and in a terminal type:
sudo apt update
sudo apt install testdiskand then run
sudo testdiskand try this guide.
Ok, I had to create bootable USB stick with same OS Ubuntu 16.04 and follow this:
It restore grub...