Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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, AgentCool, hhlp, txwikinger Mar 13 '13 at 14:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

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)
    exit
    
  • 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.