News: Cannot find windows loader after Linux install?

Cannot find windows loader after Linux install?

Have you ever had this happen?

Your main OS is windows, and you just istalled a nux dualboot. But when you installed GRUB to the mbr, your windows loader got deleted! Hence you are not able to get into windows anymore... Sucks. But there's also a solution!

Boot into linux and fire up the terminal:

Then:

  • sudo os-prober
  • sudo update-grub

This will find your Windows partition and add it to GRUB so you can boot into it.

Simple as that.

Want to start making money as a white hat hacker? Jump-start your white-hat hacking career with our 2020 Premium Ethical Hacking Certification Training Bundle from the new Null Byte Shop and get over 60 hours of training from ethical hacking professionals.

Buy Now (90% off) >

Our Best Hacking & Security Guides

New Null Byte posts — delivered straight to your inbox.

1 Comment

ive done this so many times by accident, sometimes update-grub fails, then you have to boot into recovery windows, open cmd and type "fix mbr". then update-grub works fine :)

Share Your Thoughts

  • Hot
  • Latest