<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3441&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [HowTo] Upgrade kernel to the latest]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3441</link>
		<description><![CDATA[The most recent posts in [HowTo] Upgrade kernel to the latest.]]></description>
		<lastBuildDate>Tue, 14 Apr 2020 03:16:30 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[[HowTo] Upgrade kernel to the latest]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=21105#p21105</link>
			<description><![CDATA[<p><strong>How to upgrade the kernel to the latest via backports sources.</strong></p><p><span style="color: #00BF00">You need to add extra backports sources tou your sources list:</span></p><div class="codebox"><pre><code>echo &quot;deb http://deb.devuan.org/merged &lt;my_dist&gt;-backports main contrib non-free&quot; &gt;&gt; /etc/apt/sources.list</code></pre></div><div class="codebox"><pre><code>according to your OS change &lt;my_dist&gt; with ascii or beowulf</code></pre></div><div class="codebox"><pre><code>apt update</code></pre></div><p><span style="color: #00BF00">To know how kernel are installed:</span></p><div class="codebox"><pre><code>uname -a</code></pre></div><p><span style="color: #00BF00">To search a newest kernel:</span></p><div class="codebox"><pre><code>apt search linux-image</code></pre></div><p><span style="color: #00BF00">In the output we will see a lot of kernels, but we have interest to the latest, at this time the kernel 5.7:</span></p><p><a href="https://ibb.co/CBJdYrz" rel="nofollow"><span class="postimg"><img src="https://i.ibb.co/CBJdYrz/linux-kernel.png" alt="linux-kernel.png" /></span></a></p><p><span style="color: #00BF00">Lets do it and install the latest kernel:</span></p><div class="codebox"><pre><code>apt install linux-image-5.7.0-0.bpo.2-amd64 linux-headers-5.7.0-0.bpo.2-amd64 -t buster-backports -y</code></pre></div><p><span style="color: #00BF00">A reboot is needed to boot on the new kernel:</span></p><div class="codebox"><pre><code>reboot</code></pre></div><p><span style="color: #00BF00">We can check now:</span></p><div class="codebox"><pre><code>uname -a</code></pre></div><p><span style="color: #00BF00">The output:</span></p><div class="codebox"><pre><code>Linux my-pc 5.7.0-0.bpo.2-amd64 #1 SMP Debian 5.7.10-1~bpo10+1 (2020-07-30) x86_64 GNU/Linux</code></pre></div><p>let&#039;s take it a step further by removing the old kernels, in general it is advisable to keep 2 kernels in case there is a problem with one of them.</p><p><span style="color: #00BF00">To view the installed kernel:</span></p><div class="codebox"><pre><code>dpkg --list &#039;linux-image*&#039;</code></pre></div><p>In the output you will see how kernel you can purge, in my case i keep the 4.19 and the 5.7 and purge the 5.6.</p><p><span style="color: #00BF00">Example to purge a kernel:</span></p><div class="codebox"><pre><code>apt autoremove --purge linux-image-5.6.0-0.bpo.2-amd64 linux-headers-5.6.0-0.bpo.2-amd64 -y</code></pre></div><p><span style="color: #00BF00">We need to upgrade the grub with the changes we made:</span></p><div class="codebox"><pre><code>update-grub2</code></pre></div><p>After an reboot in the boot menu, select advanced options, you can also check the kernels who are usable.</p><p>In case if you have a graphic card using open firmwares you&#039;ll need to update your kernel with it, just check this <a href="https://dev1galaxy.org/viewtopic.php?pid=22445#p22445" rel="nofollow">tutorial</a></p>]]></description>
			<author><![CDATA[dummy@example.com (wingcommander1999)]]></author>
			<pubDate>Tue, 14 Apr 2020 03:16:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=21105#p21105</guid>
		</item>
	</channel>
</rss>
