How to Boot into Ubuntu or Windows

I have installed Ubuntu 14.04 (Trusty Tahr) along with Windows 8.1. When I turn on the computer I don't get an option to boot into Ubuntu, and I go strait into Windows. How can I solve this?

I have tried using boot-repair, but I could not install it on live Ubuntu (as the Internet connection is not working), so it is working in my 'installed' version of Ubuntu. There I am not able to use the 'recommended repair' option.

Here is my pastebin link:

4

1 Answer

  1. Disable hibernation and fast startup in Windows.

    • Open command prompt as administrator and execute:

      powercfg /h off  
      
    • Open Windows Control Panel.

    • Go to Power Settings.

    • Uncheck Fast startup.

  2. Shutdown the machine completely - do NOT reboot.

  3. Reinstall GRUB boot loader for Ubuntu in EFI mode.

    • Boot from the Ubuntu installation medium.

    • Select Try Ubuntu without installing.

    • Open a terminal and execute:

      sudo mount /dev/sda7 /mnt
      sudo mount /dev/sda2 /mnt/boot/efi
      for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
      sudo chroot /mnt
      grub-install /dev/sda
      update-grub  
      

    Note:

    sda = disk | sda2 = EFI partition | sda7 = system partition

  4. Boot into BIOS and select Ubuntu as default system.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest