You are not logged in.

#1 2014-12-24 13:06:53

qptro
Member
Registered: 2014-12-24
Posts: 5

Windows always displaces gummiboot as default boot manager

I dual-boot Windows and Arch with gummiboot, which works fine. However, whenever I boot into Windows, it makes its own boot manager the default boot option, so I have to make gummiboot the default in the UEFI setup afterwards. Reinstalling gummiboot hasn't worked, and both fast boot and secure boot are disabled. Also, here's the output from gummiboot's status command:

Boot Loader Binaries:
          ESP: /dev/disk/by-partuuid/bd4345d6-f71b-4bf8-a4f3-9c8399e4a607
         File: └─/EFI/gummiboot/gummibootx64.efi (gummiboot 45)
         File: └─/EFI/Boot/BOOTX64.EFI (gummiboot 45)
Boot Loader Entries in EFI Variables:
        Title: Linux Boot Manager
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/bd4345d6-f71b-4bf8-a4f3-9c8399e4a607
         File: └─/EFI/gummiboot/gummibootx64.efi

Offline

#2 2014-12-24 13:33:44

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: Windows always displaces gummiboot as default boot manager

Some installations of Windows are known to over-write a non-Microsoft bootloader with the one for Windows, as the Windows installation may be configured to believe that the Windows installation is "broken" if the Windows bootloader isn't the first one. I've had this with Windows Vista and 7, and I'm not surprised this is happening with Windows 8.

I don't know if you can do anything about it.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-12-24 13:34:29

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Windows always displaces gummiboot as default boot manager

Have you tried using efibootmgr to set the default manually?

# efibootmgr -o xxxx,yyyy,zzzz,...

You can check the current boot order using:

# efibootmgr

The gummiboot entry is listed as "Linux Boot Manager" in my system.

Offline

#4 2014-12-24 14:12:26

qptro
Member
Registered: 2014-12-24
Posts: 5

Re: Windows always displaces gummiboot as default boot manager

Head_on_a_Stick wrote:

You can check the current boot order using:

# efibootmgr

Interestingly, the Windows boot manager didn't show up as a boot entry for this command, and it also wasn't present in the UEFI boot options. I tried booting into Windows and then into Arch without setting gummiboot as the default, and running some commands:

# gummiboot status

Boot Loader Binaries:
          ESP: /dev/disk/by-partuuid/bd4345d6-f71b-4bf8-a4f3-9c8399e4a607
         File: └─/EFI/gummiboot/gummibootx64.efi (gummiboot 45)
         File: └─/EFI/Boot/BOOTX64.EFI (gummiboot 45)
Boot Loader Entries in EFI Variables:
        Title: Windows Boot Manager
           ID: 0x0003
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/bd4345d6-f71b-4bf8-a4f3-9c8399e4a607
         File: └─/EFI/Microsoft/Boot/bootmgfw.efi
        Title: Linux Boot Manager
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/bd4345d6-f71b-4bf8-a4f3-9c8399e4a607
         File: └─/EFI/gummiboot/gummibootx64.efi

# efibootmgr

BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0003,0000,0001,0002
Boot0000* Linux Boot Manager
Boot0001* Hard Drive
Boot0002* CD/DVD Drive
Boot0003* Windows Boot Manager

Using efibootmgr -o again removed Windows from the list of boot options, and then booting into Windows added it back and made it the default, as usual.

Offline

#5 2014-12-24 14:23:26

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Windows always displaces gummiboot as default boot manager

Sounds like @clfarron4 is right then.

FWIW, my firmware "loses" all it's entries if I change any firmware settings and I have to re-install gummiboot, so it could also be a firmware probelm.
I even have an alias:

# .zshrc
alias regum='sudo su -c "mount -o remount,rw /boot;gummiboot install;mount -o remount /boot"'

hmm

Offline

Board footer

Powered by FluxBB