- 使用 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
零五网,为热爱技术的人而生!
2026年02月14日 周六





