Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I was running Win 7 and Ubuntu 12.04 alongside each other on diffirent partitions. I recently upgraded to Win 8 and after installing it, it booted directly on Win 8.

I've put in my pendrive to run Ubuntu from it, and I can see that my Ubuntu installation is still installed on the harddrive.

How do I get the bootloader to work again without reinstalling Ubuntu again?

share|improve this question

marked as duplicate by Eliah Kagan, Eric Carvalho, Raja, hhlp, txwikinger Mar 13 '13 at 14:04

This question was marked as an exact duplicate of an existing question.

Installing Windows on your computer automatically installs Microsoft;s bootloader, which is incompatible with Ubuntu. What you need to do is to create a Boot Repair USB and boot from it, which will reinstall Ubuntu's bootloader. Detailed instructions for doing this can be found here.

share|improve this answer

According to here, follow these steps:

  • Boot the liveCD
  • Open a Terminal and type in the following commands, noting that the first command will put you into the grub “prompt”, and the next 3 commands will be executed there. Also note that hd0,0 implies the first hard drive and the first partition on that drive, which is where you probably installed grub to during installation. If not, then adjust accordingly:

    sudo grub
    root (hd0,0)
    setup (hd0)
  • Reboot (removing the liveCD), and your boot menu should be back.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.