重启后直接进入 UEFI/BIOS 设置
用 systemctl reboot --firmware-setup 让 Linux 重启后直接进入主板固件设置界面。
运行 `systemctl reboot --firmware-setup` 即可在重启后直接进入 UEFI/BIOS 设置。
01命令
命令
$ systemctl reboot --firmware-setup02作用说明
该命令在重启前设置 UEFI 的“启动进入固件设置”标志,不用再掐着时机狂按 F2/Del。它只在 UEFI 模式下有效;传统 BIOS 的机器会忽略这个标志,仍需手动按键。如果提示不支持,说明固件缺少 os-indications 功能。
03风险
04撤销
✓无需撤销——该命令不会改变持久状态。
05来源
- systemctl(1) - Linux manual page依据: systemctl reboot --firmware-setup requests that the system reboot into the firmware setup interface on the next boot.
最后验证: 2026-09-18 · 分类: 系统与设置