Skip to content

Commit a3eca53

Browse files
committed
2024-10-01: correct kexec configuration
1 parent 1fd1d74 commit a3eca53

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/records/2024-10-01.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
## kexec 配置
1616

17-
为了帮助未来升级后能够更快重启机器,我们尝试在 pv1 上配置了 kexec 启动内核。在安装 `kexec-tools` 包后,运行 `dpkg-reconfigure kexec-tools`,然后执行一次正常重启后即可(这一步是必须的,否则 kexec 重启无法使用)。
18-
19-
配置完成后,使用 `systemctl reboot` 就是自动使用 kexec 进行重启,跳过 POST 和 grub。
17+
为了帮助未来升级后能够更快重启机器,我们尝试在 pv1 上配置了 kexec 启动内核。在安装 `kexec-tools` 包后,运行 `dpkg-reconfigure kexec-tools`,对两个问题都回答 Yes(特别是第二个 Read configuration from GRUB)即可。配置完成后,使用 `reboot` / `systemctl reboot` 就是自动使用 kexec 进行重启,跳过 POST 和 grub。
2018

2119
## 清退操作
2220

0 commit comments

Comments
 (0)