Linux Kernel: Difference between revisions
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 28: | Line 28: | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
dpkg -l | grep linux-image | dpkg -l | grep linux-image | ||
sudo apt-get purge linux-image-5.8.0-53-generic | cat <<-'EXE'|sudo bash | ||
apt-get purge linux-image-5.8.0-53-generic | |||
apt-get purge linux-headers-5.8.0-53-generic | |||
EXE | |||
</syntaxhighlight> | </syntaxhighlight> | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
dpkg -l | grep linux-image | dpkg -l | grep linux-image | ||
sudo apt-get purge linux-image-unsigned-6.9.3-060903-generic | cat <<-'EXE'|sudo bash | ||
apt-get purge linux-image-unsigned-6.9.3-060903-generic | |||
apt-get purge linux-headers-6.9.3-060903-generic | |||
EXE | |||
</syntaxhighlight> | </syntaxhighlight> | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | |||
dpkg -l | grep linux-image | |||
cat <<-'EXE'|sudo bash | |||
apt-get purge linux-image-unsigned-6.10.0-061000rc4-generic | |||
apt-get purge linux-headers-6.10.0-061000rc4-generic | |||
EXE | |||
</syntaxhighlight> | |||
|- | |- | ||
Line 49: | Line 58: | ||
|- | |- | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | |||
uname -r | |||
dpkg -l | grep linux-image | |||
sudo apt-get --purge autoremove | |||
dpkg -l | grep linux-image |grep rc | wc -l | |||
dpkg -l | grep linux-image |grep ii | wc -l | |||
</syntaxhighlight> | |||
| valign="top" | | | valign="top" | | ||
Line 59: | Line 75: | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
* [https://unix.stackexchange.com/questions/465201/ | * [https://unix.stackexchange.com/questions/465201/ Kernel » Ubuntu » Rollback to a Previous] | ||
* [https://askubuntu.com/questions/1338398/ Kernel » Ubuntu » Remove Latest Kernel] | |||
* [https://sypalo.com/how-to-upgrade-ubuntu Kernel » Ubuntu » 24.04 » Upgrade] | * [https://sypalo.com/how-to-upgrade-ubuntu Kernel » Ubuntu » 24.04 » Upgrade] | ||
* [https://kernel.ubuntu.com/mainline/v6.9.3/ Kernel » Ubuntu » 6.9.3] | * [https://kernel.ubuntu.com/mainline/v6.9.3/ Kernel » Ubuntu » 6.9.3] |
Latest revision as of 17:26, 11 July 2024
Ubuntu » 24.04 » Upgrade » 6.9.3
mkdir -p /tmp/kernel-playground/kernel-v6.9.3
cd /tmp/kernel-playground/kernel-v6.9.3
wget -cq https://kernel.ubuntu.com/mainline/v6.9.3/amd64/linux-headers-6.9.3-060903_6.9.3-060903.202405300957_all.deb
wget -cq https://kernel.ubuntu.com/mainline/v6.9.3/amd64/linux-headers-6.9.3-060903-generic_6.9.3-060903.202405300957_amd64.deb
wget -cq https://kernel.ubuntu.com/mainline/v6.9.3/amd64/linux-modules-6.9.3-060903-generic_6.9.3-060903.202405300957_amd64.deb
wget -cq https://kernel.ubuntu.com/mainline/v6.9.3/amd64/linux-image-unsigned-6.9.3-060903-generic_6.9.3-060903.202405300957_amd64.deb
sudo dpkg -i *.deb
sudo reboot
Ubuntu » 24.04 » Upgrade » 6.10.0
mkdir -p /tmp/kernel-playground/kernel-v6.10.0
cd /tmp/kernel-playground/kernel-v6.10.0
wget -cq https://kernel.ubuntu.com/mainline/v6.10-rc4/amd64/linux-headers-6.10.0-061000rc4_6.10.0-061000rc4.202406161734_all.deb
wget -cq https://kernel.ubuntu.com/mainline/v6.10-rc4/amd64/linux-headers-6.10.0-061000rc4-generic_6.10.0-061000rc4.202406161734_amd64.deb
wget -cq https://kernel.ubuntu.com/mainline/v6.10-rc4/amd64/linux-modules-6.10.0-061000rc4-generic_6.10.0-061000rc4.202406161734_amd64.deb
wget -cq https://kernel.ubuntu.com/mainline/v6.10-rc4/amd64/linux-image-unsigned-6.10.0-061000rc4-generic_6.10.0-061000rc4.202406161734_amd64.deb
sudo dpkg -i *.deb
sudo reboot
Playground
dpkg -l | grep linux-image
cat <<-'EXE'|sudo bash
apt-get purge linux-image-5.8.0-53-generic
apt-get purge linux-headers-5.8.0-53-generic
EXE
|
dpkg -l | grep linux-image
cat <<-'EXE'|sudo bash
apt-get purge linux-image-unsigned-6.9.3-060903-generic
apt-get purge linux-headers-6.9.3-060903-generic
EXE
|
dpkg -l | grep linux-image
cat <<-'EXE'|sudo bash
apt-get purge linux-image-unsigned-6.10.0-061000rc4-generic
apt-get purge linux-headers-6.10.0-061000rc4-generic
EXE
|
| ||
uname -r
dpkg -l | grep linux-image
sudo apt-get --purge autoremove
dpkg -l | grep linux-image |grep rc | wc -l
dpkg -l | grep linux-image |grep ii | wc -l
|
References
| ||