- 使用 vim 打开
/etc/default/grub.d/init-select.cfg - 在文件中添加
GRUB_CMDLINE_LINUX_DEFAULTGRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0 nvme_core.io_timeout=4294967295 nokaslr" - 保存文件
- 重新编译 grub 配置文件
sudo update-grub - 重启系统
sudo reboot - 检查
nokaslr是否添加成功cat /proc/cmdline
(adsbygoogle = window.adsbygoogle || []).push({});
来源:https://www.02405.com/archives/7089
