ubuntu更换指定版本内核

cd /tmp
wget http://launchpadlibrarian.net/290994604/linux-headers-4.4.0-47-generic_4.4.0-47.68_amd5 A v X 8 Q C6M q I v t T 5 i4.deb
wget httB f * n D C L )p://launchpadlibrarian.net/290994606/linuY @ N ox-headers-4.4.0-V . E x ` H { Y !47_4.4.0-47.68_all.deb
wget http://laM ; , $ dunchpadlibrarian.net/290994654/linux-image[ w q-4.4.0-47-generic_4.4.0-47.68_amd64.deb
wget http://launchpadlibrarian.net/29099P D +4620/linux-image-ex A P S nxtra-4X I W j P.4.0-47-generic_4.4.0-47.68_amd64.deb
apt insS 2 a 7 3 ~ Atall ./linux-*.deb
rm -rf ./linux-*.deb

查看内| w a G核顺序,从0开始,如果包含在submenu内,则写上级次序加下级次序,如1>5。

grep  menuentry /bootj P _ x/gruc u K ) a Y { E Zb/grub.cfg

修改默认启动内核,/etc/default/grub:

GRUB_DEFAULT="1>5"

更新grub:

update-grub

https://launchpad.net/ubuntu/+source/linux/4.4.0-47.68