我安装了默认的 Ubuntu 20.04 LTS 内核,目前
$ uname -r
5.4.0-7634-generic
但我想安装旧版内核 5.3。我确实看到了一个软件包linux-image-5.3.0-7648-generic
,但当我尝试安装它时,Synaptic 找不到实际的软件包。
我是否错过了 /etc/apt 中的一些 repo?
使用 5.3 内核并在 Canonical 发布新的 5.3.x 版本时自动升级它的最简单方法是什么?
答案1
只需下载并安装内核二进制文件即可:
64位系统:
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300_5.3.0-050300.201909152230_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300-generic_5.3.0-050300.201909152230_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-image-unsigned-5.3.0-050300-generic_5.3.0-050300.201909152230_amd64.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-modules-5.3.0-050300-generic_5.3.0-050300.201909152230_amd64.deb
sudo dpkg -i *.deb
sudo reboot
32位系统:
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300_5.3.0-050300.201909152230_all.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300-generic_5.3.0-050300.201909152230_i386.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-image-5.3.0-050300-generic_5.3.0-050300.201909152230_i386.deb
wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-modules-5.3.0-050300-generic_5.3.0-050300.201909152230_i386.deb
sudo dpkg -i *.deb
sudo reboot
希望对您有帮助