Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to fix MBR for Windows

📅 2015-Dec-23 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ boot, bootrec, mbr, windows ⬩ 📚 Archive


I had installed Windows 10 successfully. While messing around with my other Linux partitions, a partition delete went awry and on booting I was dropped into a GRUB rescue prompt. What I wanted was the Master Boot Record to be restored to boot into Windows 10.


$ bootrec /rebuildbcd
$ bootrec /fixmbr
$ bootrec /fixboot
$ exit

After restarting I was able to boot into Windows 10.

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧