大网数据广告活动
服务器运维问答

After installing any OS (bios is set to UEFI), the boot order constantly changes (windows and linux installs). How can I disable this "feature"

· 52CE 我爱测

Have numerous different servers (primarily Dell) that we are installing through pxeboot. After the OS is installed the first time, the UEFI boot sequence is automatically changed to allow the OS to load as the first boot option. …

问题原文

原帖链接 · IT_User · CC BY-SA 4.0

Have numerous different servers (primarily Dell) that we are installing through pxeboot. After the OS is installed the first time, the UEFI boot sequence is automatically changed to allow the OS to load as the first boot option.

This works fine for regular people that want to build a single host one time, but in lab environments where things are continually rebuilt, this causes a large sore. Is there anyway to disable the OS install from changing boot order in UEFI after an install.

This article talks more regarding it https://arstechnica.com/civis/viewtopic.php?f=21&t=1474353 and it is discussed that it is potetnially the uefi specification but no affirmative answer on this.

Is there a way to not allow the UEFI Boot Sequence to be modified after installing an OS?

已采纳解答

原帖链接 · NiKiZe · CC BY-SA 4.0

The option to modify efi boot order is in the uefi specification. You could indeed create a firmware that ignores this part, or has an option to reset it. (Reach out to the manufacturer, Dell for this)

As a work around you could reset this from the OS at least in linux you can use efimgr to change the order.

Another option to consider could be that many machines have the option for different boot order depending on network start or not. That is normal startup uses the normal efi order, however if the machine is "started over the network" with WOL then the "network boot order" is used instead. - This could then be used to instead of restart of the machine, shut it down and then start it remotely.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2021-11-11)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。