查看系统内核配置 默认0为使用最新版本内核
vim /etc/default/grub
{
如需要对上面修改:
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.15.0-43-generic"
}
当前使用的内核
uname -r
查看当前存在的内核版本
dpkg -l | grep linux-ima
更新内核版本配置
update-grub
重启生效
reboot now
查看系统内核配置 默认0为使用最新版本内核
vim /etc/default/grub
{
如需要对上面修改:
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.15.0-43-generic"
}
当前使用的内核
uname -r
查看当前存在的内核版本
dpkg -l | grep linux-ima
更新内核版本配置
update-grub
重启生效
reboot now