2

This may be the wrong subreddit, but a few hours ago I installed Ubuntu 16.04 to boot alongside windows and I restarted but there is no grub, it just snaps back into Windows 10, every option I found online about did nothing and just goes back into 10.

I have a Gigabyte GA-78lmt-usb3 6.0 motherboard.

https://i.stack.imgur.com/xZo3g.png

Partition 1 is Windows, Partition 2 is Ubuntu, Partition 3 is swap, Partition 4 is Windows Recovery.

1 Answers1

1

Follow this link and download Boot Repair disk. And follow instructions.
After that use following commands

  • sudo grub-mkconfig -o /boot/grub/grub.cfg, if your grub.cfg is at some other location then replace the path in the command with your file location.
  • Type sudo grub-install /dev/sda where sda is my primary HDD having Windows and Linux installed.

    You can run boot repair with your Ubuntu live CD Just type bellow command and follow above grub configuration and installation commands.

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair


Source :- PC does not boot into Windows, but Ubuntu still works well; how to recover?

Madhav Nikam
  • 2,907