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.

I had Windows 7 and Ubuntu both installed on my machine, but for some reasons I re-installed Windows 7, and now when the system starts, I can't see GRUB menu, which normally appears asking using for windows or ubuntu OS.

How to bring that menu back?

Thanks

share|improve this question
add comment

2 Answers

It should definitively have be asked before, but cannot find a reference.

By the way, it is a normal situation, answered here.

share|improve this answer
add comment

If you reinstalled windows, now you have its bootloader which conveniently doesn't detect Linux OS's, and not Grub.

To reinstall Grub, with all the options you had, you'll need a linux live CD or pen. Once in a "live session":

  1. Open a Terminal
  2. Use sudo fdisk -l and locate Ubuntu's partition.
  3. Mount said partition in /mnt (replace XY, with the correct letter & number):
    • sudo mount /dev/sdaXY /mnt
  4. Reinstall grub (assuming /dev/sda is your main HDD):
    • sudo grub-install --root-directory=/mnt/ /dev/sda
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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