Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

  1. #1
    Join Date
    Jun 2011
    Beans
    38

    Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    Hi there,

    So, I just installed Ubuntu 12.10 and then Windows 8 on my laptop, which runs UEFI. Both installations went fine, but it boots straight to Windows without the grub loader opening to let me select my OS.

    So I installed boot-repair and ran the recommended repair from an Ubuntu Live Session and that went smoothly and finished without errors.

    But grub still doesn't load automatically, and instead, Windows just boots. If I press F9 at start up it enters the boot device options, and there's an option there for something to do with Ubuntu, and when I select that, it then loads Grub from which I can boot from either Windows or Ubuntu. But this grub menu does not load automatically - so perhaps it's the case that my grub loader is on the wrong partition or something like that?

    Anyway, I'd like to set Ubuntu to the default OS and I'd like to have my grub menu appear by default when I startup instead of having to press F9 to manually select a different boot device.

    Here's my pastebin from boot-repair: http://paste.ubuntu.com/5640845/

    Any help greatly appreciated!!

  2. #2
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,558
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    I don't use uefi boot but as far as I have understood, in uefi boot it's the uefi manager running the show, not grub2. So, you might need to make an entry for ubuntu, and then using the uefi manager you boot either windows or ubuntu. It sort of replaces grub2.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  3. #3
    Join Date
    Jun 2011
    Beans
    38

    Re: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    Quote Originally Posted by darkod View Post
    I don't use uefi boot but as far as I have understood, in uefi boot it's the uefi manager running the show, not grub2. So, you might need to make an entry for ubuntu, and then using the uefi manager you boot either windows or ubuntu. It sort of replaces grub2.
    What is the UEFI manager and how do I access it?

  4. #4
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,558
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    You will have to check the documentation about your machine/board for that. I'm not sure how it called exactly either. It might be the menu you enter with F9 if it allows you to create an ubuntu entry.

    Basically that's the bootloader. Once you have it working, inside ubuntu in grub2 you might as well disable os-prober since you don't need it to detect windows. You will boot the OS you want to boot from the uefi manager.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    Your f9 is a one time boot key. As Darko says you have to go into UEFI/BIOS and select ubuntu as boot and then it will be default.

    Most systems keys are listed here:
    UEFI/BIOS Boot keys - about halfway down on this Microsoft page
    http://social.technet.microsoft.com/...ows-to-go.aspx

    In grub menu you have this entry. Does it take you to UEFI menu?


    menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
    fwsetup
    }
    Last edited by oldfred; March 23rd, 2013 at 10:44 PM.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Jun 2011
    Beans
    38

    Re: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    Quote Originally Posted by oldfred View Post
    Your f9 is a one time boot key. As Darko says you have to go into UEFI/BIOS and select ubuntu as boot and then it will be default.

    Most systems keys are listed here:
    UEFI/BIOS Boot keys - about halfway down on this Microsoft page
    http://social.technet.microsoft.com/...ows-to-go.aspx

    In grub menu you have this entry. Does it take you to UEFI menu?


    menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
    fwsetup
    }
    Hi there,

    I've tried F10 which takes me to BIOS setup, but there's no option there to configure any UEFI settings, apart from to switch Legacy Support on/off. It doesn't let me point to any particular OS as a default start up or anything like that.

    The System Setup option just takes me to a menu which lists the F keys and various submenus associated with them - There's F9 and F10, which as I've said, don't help. There's one on diagnostics which lets you do memory and hdd test. But nothing that seems useful to solve my issue of not having grub load as default.

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    Because it is UEFI it will have a setting somewhere perhaps a different screen, or in some submenu. It should be the same settings you see with the one time boot key, just that it sets it as the default.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Jun 2011
    Beans
    38

    Re: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    Quote Originally Posted by oldfred View Post
    Because it is UEFI it will have a setting somewhere perhaps a different screen, or in some submenu. It should be the same settings you see with the one time boot key, just that it sets it as the default.
    There's definitely nothing like that. From the main menu (pressing ESC after boot, or loading "System Setup" from grub menu), I get the following options:

    F1 System Information
    F2 System Diagnostics
    F9 Boot Device
    F10 BIOS Setup
    F11 System Recovery

    F1 just gives me a list of info about my hardware, F2 just gives me the option to do a memory/hdd test, F9 just lets me change the boot device on a one-time basis, F11 is just standard System Recovery.

    F10 just enters me into a BIOS where the only thing I can change about the boot is the boot order - but the all I can do there is change the boot order between USB, Network Card, OS Manager, Internal CD Drive and External CD Drive.

    I take it the OS Manager is what I want to get into and edit, but there's no option to do so.

    I did format my whole harddrive at one point a few days ago, and so I might well have deleted a partition with a UEFI menu. But (A) seems a bit screwed up that something so fundamental (and supposedly to replace BIOS) wouldn't be placed on ROM, but instead on a non-secure HDD partition, and (B), even if I've done that surely there's some way to get it back????

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    Some have posted different screens.
    You can use camera, shrink photos to screenshot size, and under the advanced editor use the paperclip icon to attach the screenshots.
    It may be under a setting like select hard drive.
    Attached Images Attached Images
    Last edited by oldfred; March 24th, 2013 at 05:22 PM.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    Jun 2011
    Beans
    38

    Re: Grub Doesn't Load Automatically - Just Boots Windows - Boot Repair Didn't Help

    Quote Originally Posted by oldfred View Post
    Some have posted different screens.
    You can use camera, shrink photos to screenshot size, and under the advanced editor use the paperclip icon to attach the screenshots.
    It may be under a setting like select hard drive.
    Hi there, I have attached my screen shots of the options available to me through the BIOS (some in this post, more in the posts below!).

    As I said I am given the options of (see MAINMENU.JPG):

    F1 System Information
    F2 System Diagnostics
    F9 Boot Device Options
    F10 BIOS Setup
    F11 System Recovery

    Pressing F1 gives me basic hardware information about my computer (SYSINFO.JPG). F2 gives me tests to run on my memory/hdd, etc - there are some bios related options there, but they're just to update or rollback the bios (DIAGNOSTIC.JPG). Pressing F9 (see BOOTMGR.JPG) gives me the one-time option to choose my boot - and thankfully I can boot the grub bootloader from there (see GRUBLOAD.JPG). There are multiple options on the grub bootloader, but all of them either run Windows, or Ubuntu, or take me back to the screen of MAINMENU.JPG.

    In the BIOS Setup I have 4 tabs - Main (MAIN.JPG), Security (SECURITY.JPG), System Configuration (SYSCONFIG1.JPG) and Exit (EXIT.JPG).

    In SYSCONFIG1.JPG I can select boot options (SYSTEMCONFIG2.JPG). In there I can change boot orders between the 5 options given, but none of them replicate the option I have from pressing F9 - the one to load the bootloader!!!!

    So, what now?!

    MAIN.jpgGRUBLOAD.jpgEXIT.jpgDIAGNOSTIC.jpgBOOTMGR.jpg

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •