如何安装特定内核版本(4.15.0)?

如何安装特定内核版本(4.15.0)?

我在 Ubuntu 18.04 LTS 上。我正在运行此内核版本:

root@sintrones-vbox:/usr/src# uname -r
5.4.0-122-generic

在文件夹中usr/src,我有:

root@sintrones-vbox:/usr/src# ls
backport-iwlwifi-8324             linux-headers-4.15.0-189          linux-hwe-5.4-5.4.0                          linux-hwe-5.4_5.4.0.orig.tar.gz  linux-source-4.15.0.tar.bz2
linux-headers-4.15.0-162          linux-headers-4.15.0-189-generic  linux-hwe-5.4_5.4.0-122.138~18.04.1.diff.gz  linux-hwe-5.4-headers-5.4.0-122
linux-headers-4.15.0-162-generic  linux-headers-5.4.0-122-generic   linux-hwe-5.4_5.4.0-122.138~18.04.1.dsc      linux-source-4.15.0

有没有办法安装内核版本4.15.0?在我升级之前,它是以前的内核版本。我安装了几个内核:

root@sintrones-abox:/usr/src# apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

linux-image-4.15.0-162-generic/bionic-updates,bionic-security,now 4.15.0-162.170 amd64 [installed]
linux-image-4.15.0-189-generic/bionic-updates,bionic-security,now 4.15.0-189.200 amd64 [installed,automatic]
linux-image-5.4.0-122-generic/bionic-updates,bionic-security,now 5.4.0-122.138~18.04.1 amd64 [installed,automatic]
linux-image-extra-virtual/bionic-updates,bionic-security,now 4.15.0.189.174 amd64 [installed]
linux-image-generic/bionic-updates,bionic-security,now 4.15.0.189.174 amd64 [installed,automatic]
linux-image-unsigned-5.18.14-051814-generic/now 5.18.14-051814.202207231131 amd64 [installed,local]

问题是我想切换到4.15版本


我已经安装了几个内核:

root@sintrones-abox:/usr/src# apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

linux-image-4.15.0-162-generic/bionic-updates,bionic-security,now 4.15.0-162.170 amd64 [installed]
linux-image-4.15.0-189-generic/bionic-updates,bionic-security,now 4.15.0-189.200 amd64 [installed,automatic]
linux-image-5.4.0-122-generic/bionic-updates,bionic-security,now 5.4.0-122.138~18.04.1 amd64 [installed,automatic]
linux-image-extra-virtual/bionic-updates,bionic-security,now 4.15.0.189.174 amd64 [installed]
linux-image-generic/bionic-updates,bionic-security,now 4.15.0.189.174 amd64 [installed,automatic]
linux-image-unsigned-5.18.14-051814-generic/now 5.18.14-051814.202207231131 amd64 [installed,local]

问题是我想切换到4.15版本

相关内容