You are not logged in.

#1 2014-04-25 22:24:47

wilberfan
Member
From: So. Cal
Registered: 2010-12-18
Posts: 264

[SOLVED] Windows 7 Resets itself as default in BIOS?

I have a dual-boot Windows 7 / Arch machine.   I use gummiboot as my bootloader.    I've set Linux Loader to be the default loader in the BIOS, but whenever I boot into Windows 7 (even via the Linux menu), it seems to reset the default loader to Windows Loader.

Any idea what could be causing this--and/or how to prevent it?

Thanks in advance!

Last edited by wilberfan (2014-04-29 01:15:54)


Hey, be nice...I'm new at this!

Offline

#2 2014-04-25 22:40:22

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: [SOLVED] Windows 7 Resets itself as default in BIOS?

I don't think Windows does this. I had similar experience with an HP laptop, where the firmware constantly overwritten the default option to the windows loader.

As a workaround, try to rename the windows loader located in  /EFI/Microsoft/Boot

Offline

#3 2014-04-25 23:26:34

wilberfan
Member
From: So. Cal
Registered: 2010-12-18
Posts: 264

Re: [SOLVED] Windows 7 Resets itself as default in BIOS?

ijanos wrote:

I don't think Windows does this. I had similar experience with an HP laptop, where the firmware constantly overwritten the default option to the windows loader.

As a workaround, try to rename the windows loader located in  /EFI/Microsoft/Boot

Rename it anything?  Are there specific naming rules your aware of...?


Hey, be nice...I'm new at this!

Offline

#4 2014-04-25 23:38:18

the_shiver
Member
Registered: 2013-03-27
Posts: 130

Re: [SOLVED] Windows 7 Resets itself as default in BIOS?

anything within the (filename) limits of fat32

Offline

#5 2014-04-26 01:05:03

wilberfan
Member
From: So. Cal
Registered: 2010-12-18
Posts: 264

Re: [SOLVED] Windows 7 Resets itself as default in BIOS?

There's a 'bootmgfw.efi' and a 'bootmgr.efi'.   Which one (or both?) should I rename...?


Hey, be nice...I'm new at this!

Offline

#6 2014-04-26 02:13:17

srs5694
Member
From: Woonsocket, RI
Registered: 2012-11-06
Posts: 719
Website

Re: [SOLVED] Windows 7 Resets itself as default in BIOS?

I've seen enough reports to believe that Windows itself does sometimes do this -- or at the very least, it's sometimes possible to override the firmware from Windows. Specifically:

  1. Open an Administrator Command Prompt window in Windows.

  2. Type "bcdedit /set {bootmgr} path \EFI\arch\gummibootx64.efi" (or whatever the name of the boot loader you want to be the default is).

This fixes the problem for many people. If it doesn't work for you, then the uglier hack of renaming the boot loader may be necessary. Try the name EFI/Microsoft/Boot/bootmgfw.efi. Be sure to rename the Windows boot loader to something else. You'll then need to create a new gummiboot menu entry for Windows, and maybe do something to keep gummiboot from appearing as "Windows" in the gummiboot menu. Also, Windows might decide to overwrite gummiboot at some point in the future.

Offline

#7 2014-04-29 01:15:33

wilberfan
Member
From: So. Cal
Registered: 2010-12-18
Posts: 264

Re: [SOLVED] Windows 7 Resets itself as default in BIOS?

srs5694 wrote:

I've seen enough reports to believe that Windows itself does sometimes do this -- or at the very least, it's sometimes possible to override the firmware from Windows. Specifically:

  1. Open an Administrator Command Prompt window in Windows.

  2. Type "bcdedit /set {bootmgr} path \EFI\arch\gummibootx64.efi" (or whatever the name of the boot loader you want to be the default is).

This fixes the problem for many people. If it doesn't work for you, then the uglier hack of renaming the boot loader may be necessary. Try the name EFI/Microsoft/Boot/bootmgfw.efi. Be sure to rename the Windows boot loader to something else. You'll then need to create a new gummiboot menu entry for Windows, and maybe do something to keep gummiboot from appearing as "Windows" in the gummiboot menu. Also, Windows might decide to overwrite gummiboot at some point in the future.

A couple of preliminary reboots suggests that your bcdedit command may have done the trick!  :-)   Thanks!  Not sure I would have discovered that on my own...  I'll keep my fingers crossed...


Hey, be nice...I'm new at this!

Offline

Board footer

Powered by FluxBB