You are not logged in.

#1 2015-11-03 21:16:28

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

[SOLVED] Dual-Boot: Windows overwrites bootloader?

UEFI system.  Windows 7 installed on sda3, Arch installed on sdb4.  I modify my firmware/BIOS settings to boot from grub first, DVD 2nd, USB 3rd.

If I boot into Arch, everything is fine.   The next boot will give me the grub menu again.

If I boot into Windows via grub, the next time I reboot, "Windows Loader" has replaced my firmware choices and I boot directly into Windows. 

I've done some Googling, but most of what I found is several years old and referring to grub-legacy.

I've tried setting the boot sequence with efibootmgr, but things still got overwritten at the next Windows boot.

Thanks in advance.

Last edited by wilberfan (2015-11-03 21:59:02)


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

Offline

#2 2015-11-03 21:29:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Dual-Boot: Windows overwrites bootloader?

If it hurts, just don't boot Windows tongue

How are you setting your EFI variables? I was having a similar issue and was blaming it on Windows.  I had been using efibootmgr to set my variables, and all would be fine until I booted Windows, and it would change.   I later configured it using the firmware setup tools for my HP Envy (often mistakenly called BIOS set up) and I have not had any problems with it reverting.   I am wondering if there is something about how the variables are configured by efibootmgr that Windows does not like causing Windows to take initiative and "fix" it.  Conversely, perhaps the firmware tools intrinsic to the laptop set the variables to Windows liking.   As I almost never boot to Windows, I really don't care much.  Also, I do not use a boot loader -- I just use the efistub capability of the kernel.   Windows will exist on my laptop until the day after the laptop warranty expires.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2015-11-03 21:41:32

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

Re: [SOLVED] Dual-Boot: Windows overwrites bootloader?

On this particular machine, I boot into Windows probably 2/3rds of the time.  (I have another tower and a lappie that are almost exclusively Arch.)  It's the Adobe Syndrome (ie, PS, InD, Ill) that keeps me booting into Win7 (Oh, Quicken, too.).  I had a perfectly working dual-boot system--until a couple of weeks ago when something got seriously borked.  It had been a couple of years, anyway--overdue for a Win re-install.

I can't remember if this was an issue two years ago--nor how I fixed it if it was!  yikes


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

Offline

#4 2015-11-03 21:43:48

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

Re: [SOLVED] Dual-Boot: Windows overwrites bootloader?

Offline

#5 2015-11-03 21:58:43

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

Re: [SOLVED] Dual-Boot: Windows overwrites bootloader?

As someone, somewhere, said in a different context,

"You, Sir, are a steely-eyed missile man!"

(How did you know I had an ASRock P67 Extreme4 mobo?) 

That command seems to have done the trick!  big_smile

Last edited by wilberfan (2015-11-03 21:59:53)


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

Offline

#6 2015-11-03 22:20:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Dual-Boot: Windows overwrites bootloader?

wilberfan wrote:

"You, Sir, are a steely-eyed missile man!"

Flight, EECOM.  Try SCE to AUX


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB