PnetLab换EVE-ng内核

下载eve-ng内核

Index of /focal/pool/main/l/linux-source-5.17.8-eve-ng-uksm-wg+

安装内核

dpkg -i *.deb
# 或
pkill dpkg

# 更新 grub 启动列表
update-grub

# 查看 menuentry 信息
grep menuentry /boot/grub/grub.cfg
# menuentry 'Ubuntu, with Linux 5.17.8-eve-ng-uksm-wg+' ...
# menuentry 'Ubuntu, with Linux 4.15.18-pnetlab2' ...

更改启动项

vim /etc/default/grub

# 修改以下内容
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 4.15.18-pnetlab2"

# 修改为
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.17.8-eve-ng-uksm-wg+"

update-grub

GRUB默认启动项修改