0

So I recently attempted dual booting Ubuntu with Windows 8.1 on a HP Pavilion G6. So far I've gotten everything working except whenever I turn on or restart my computer, it loads straight into windows. Currently the only way to get into Ubuntu is to get into my UEFI Firmware settings, entering Boot Device options and selecting Ubuntu. I've been researching for the past half an hour and I've tried the following:

  • Disabling fast boot

  • Running a boot repair in Ubuntu (Recommended settings)

  • Typing in cmd in windows

    bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
    

Nothing I do seems to work and windows just keeps on loading up.

David Foerster
  • 36,890
  • 56
  • 97
  • 151

1 Answers1

0

You could try installing GRUB, or enabling it, if it's installed:

  1. Boot the machine using a Live CD.

  2. Open a terminal.

  3. Find out the name of the internal disk by using fdisk to look up the device's size.
    For example:

    sudo fdisk -l
    
  4. Install GRUB boot loader onto the proper disk (the example below assumes it is /dev/sda):

    grub-install --recheck --no-floppy --root-directory=/ /dev/sda
    

Source

NOTE: you might need to install GRUB... A good guide is this answer.

TellMeWhy
  • 17,964
  • 41
  • 100
  • 142