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 hope someone here can help me: I re-installed my Windows 7 partition and now I cannot boot to Ubuntu 14.04 any more - no grub boot-menu is display instead directly the "Loading windows" screen is shown.

If I go to the boot menu in BIOS I can select my Ubuntu - drive and boot from it (which is quite cumbersome).

So I tried to use "boot-repair" as described at at the help pages but the program exits with an error.

This is the link I get from "boot-repair": http://paste.ubuntu.com/7558812/

share|improve this question

2 Answers 2

Boot into the install disk and type in "sudo grub-update /dev/sda" (open gparted though to make sure you have the right disk, if the Ubuntu partition is mounted somewhere else then type in the Mount point instead of /dev/sda/ as it could be something like sdab or /media/sda .

share|improve this answer

Thank you for pointing me in the right direction - here is the fix for the problem:

  1. Start via Live-CD
  2. mount Linux partition
  3. "ubuntu@ubuntu:~$ sudo grub-install --root-directory=/media/ubuntu/e2eec732-eb12-47e4-8c4d-5f50d4ad5986/ /dev/sdb"
  4. restart
  5. in BIOS change boot priority of devices - prio 1 is Linux
  6. fixed - grub is loaded first and the Windows can be selected
share|improve this answer

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.