Windows 8 changes boot order

net*_*tom 6 bcd grub2 bcdedit uefi windows-8

I installed Windows 8 and Ubuntu 12.10 on a 3TB GPT disk in UEFI mode.

Both can boot up OK.

Both operating systems created their ntries in the UEFI boot menu, there's an "ubuntu" and a "Windows 8" entry.

The boot order can be altered in the motherboard's UEFI setup.

I'd like to boot "ubuntu" first, because I set up GRUB 2 to be able to boot both systems.

But whenever I boot Windows 8, it changes the boot order so that it boots up first.

How can I prevent this?

Thanks a lot.

-- UPDATE --

I learned that bcdedit.exe can be used to manipulate the Boot Configuration Data in windows.

This is important because Windows synchronizes the BCD with the boot NVRAM, that stores the boot order.

Every time the {fwbootmgr} entry in the BCD is touched, the NVRAM is overwritten.

I modified this entry to load GRUB 2 first, and it did. However, after booting Windows 8, both the NVRAM and the {fwbootmgr} in the BCD reverted to the original order, that is, to boot Windows 8 first.

I'm really puzzled by this.

-- UPDATE 2 --

我设法通过在 Windows 的组策略编辑器中创建启动脚本来解决这个问题。启动脚本发出“bcdedit /set {fwbootmgr} DEFAULT {适当的 UUID}”命令。这是一个大黑客,绝对不是我想要的解决方案。我希望 Windows 在 NVRAM 中的 GRUB 之后排在第二位。

那我该怎么做呢?

net*_*tom 5

Microsoft 代表在他们的官方论坛上回答了我的问题。他们说这确实是正常的行为。

我通过在每次系统启动时运行一个 .bat 文件来解决这个问题。该文件执行以下操作:

bcdedit /set {fwbootmgr} DEFAULT {appropriate UUID}
Run Code Online (Sandbox Code Playgroud)

其中“适当的 UUID”是 GRUB 中的 UUID,可以从“bcedit /enum 固件”列表中读取。

可以通过打开组策略编辑器来编辑 bat 文件(在 Metro 中查找)。

我写了一篇关于双启动问题的文章:http : //tlfabian.blogspot.hu/2013/01/converting-dual-boot-mbr-partitioned.html

  • **“正常行为?”**,认真的? (3认同)