Linux Kernel: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Ubuntu » 24.04 » Upgrade » 6.9.3==
<syntaxhighlight lang="bash">
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
</syntaxhighlight>
==Ubuntu » 24.04 » Upgrade » 6.10.0==
<syntaxhighlight lang="bash">
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
</syntaxhighlight>
==Playground==
{|
| valign="top" |
<syntaxhighlight lang="bash">
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
</syntaxhighlight>
| valign="top" |
<syntaxhighlight lang="bash">
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
</syntaxhighlight>
| 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>
|-
| colspan="3" |
----
|-
| 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" |
|}
==References==
==References==
{|
{|
| valign="top" |
| valign="top" |
* [https://unix.stackexchange.com/questions/465201/ Kernel » Ubuntu » Rollback to a Previous]
* [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]
Line 16: Line 90:
|-
|-
| valign="top" |
| valign="top" |
* [[Disk Performance|Ubuntu » Disk Performance]]
* [[Free Up RAM|Ubuntu » Free Up RAM]]
* [[Linux Service Creation]]
* [[Linux Service Creation]]
* [[Swap Space|Ubuntu » Swap Space]]
* [[Docker on Windows]]
* [[Docker on Windows]]
* [[Linux Mount Drive]]
* [[Linux Mount Drive]]

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