<?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=4532&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Compile own kernel]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4532</link>
		<description><![CDATA[The most recent posts in [SOLVED] Compile own kernel.]]></description>
		<lastBuildDate>Sat, 02 Oct 2021 12:16:33 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Compile own kernel]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=31835#p31835</link>
			<description><![CDATA[<p>Hi Head_on_a_Stick</p><p>I took a look at your suggestions and I installed kernel 5.14.9, with the creation of .deb packages</p><p>First, upgraded the system</p><div class="codebox"><pre><code>apt-get update &amp;&amp; apt-get upgrade</code></pre></div><p>Then installed some things </p><div class="codebox"><pre><code>apt-get install -y build-essential libncurses5-dev libelf-dev libssl-dev dwarves</code></pre></div><p>gcc I installed way before this</p><p>Now, copy of .config from /boot/config-5.10.0-8-amd64 and</p><div class="codebox"><pre><code>make oldconfig
make menuconfig</code></pre></div><p>I got some erros while compiling, and after searching a bit, I had to edit .config to change one line</p><div class="codebox"><pre><code>CONFIG_SYSTEM_TRUSTED_KEYS=&quot;&quot;</code></pre></div><p>Finally,</p><div class="codebox"><pre><code>make deb-pkg -j4</code></pre></div><p>and, to install those .deb</p><div class="codebox"><pre><code>dpkg -i linux-*.deb</code></pre></div><p>This:</p><div class="codebox"><pre><code>grub-mkconfig</code></pre></div><p>was not needed.</p><p>Reboot and everything seems to be working fine.</p><p>Btw, compilation took 2h30m to finish on this core i3 3rd-gen, with 8gb ram and regular hdd.</p><p>Thanks!!</p>]]></description>
			<author><![CDATA[dummy@example.com (nonsd)]]></author>
			<pubDate>Sat, 02 Oct 2021 12:16:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=31835#p31835</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Compile own kernel]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=31792#p31792</link>
			<description><![CDATA[<div class="quotebox"><cite>nonsd wrote:</cite><blockquote><div><p>1) Keep kernel 5.10 as a safeguard (in case of any kernel panic when compiling any new/custom kernel)</p></div></blockquote></div><p>The installed kernels should always be available as boot options if GRUB was installed from the Devuan system.</p><p>You may might have to make a new boot entry for your custom kernel though. Not sure if <span class="bbc">grub-mkconfig</span> will pick it up automatically.</p><div class="quotebox"><cite>nonsd wrote:</cite><blockquote><div><p>2) Compile a new kernel using the config-5.10.0-8-amd64 (file located at /boot) as starting point</p></div></blockquote></div><p>From the custom kernel source tree:</p><div class="codebox"><pre><code>cp /boot/config-$(uname -r) .config
make oldconfig</code></pre></div><p>See also <a href="https://wiki.gentoo.org/wiki/Kernel/Configuration#Configuration" rel="nofollow">https://wiki.gentoo.org/wiki/Kernel/Con … figuration</a></p><div class="quotebox"><cite>nonsd wrote:</cite><blockquote><div><p>3) New kernel does not need to be packaged as .deb</p></div></blockquote></div><p>Well yeah, nobody <em>needs</em> chocolate but it&#039;s really nice...</p><p><a href="https://kernel-team.pages.debian.net/kernel-handbook/" rel="nofollow">https://kernel-team.pages.debian.net/kernel-handbook/</a></p><p>EDIT: corrected command block.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 30 Sep 2021 12:16:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=31792#p31792</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Compile own kernel]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=31773#p31773</link>
			<description><![CDATA[<p>Hello!</p><p>Last time I compiled my own kernel was a long (very long) time ago, kernel 2.6.x (only MBR + lilo)</p><p>Since then, in every distro I always kept the default kernel that was shipped. Now, with Chimaera (UEFI + GPT + GRUB), the default one is kernel 5.10. </p><p>I know that out there are a lot of tutorials with basic steps. But they seem to be a bit incomplete (sorry, I don&#039;t know how to be more clear on this.... )</p><p>What I would like to do is:</p><p>1) Keep kernel 5.10 as a safeguard (in case of any kernel panic when compiling any new/custom kernel)</p><p>2) Compile a new kernel using the config-5.10.0-8-amd64 (file located at /boot) as starting point</p><p>3) New kernel does not need to be packaged as .deb</p><p>- Do I <em>need</em> to compile a new kernel? No, 5.10 is working fine<br />- Why do I want to compile a new kernel? Well, why not?!?! </p><p>I will appreciate any help</p>]]></description>
			<author><![CDATA[dummy@example.com (nonsd)]]></author>
			<pubDate>Wed, 29 Sep 2021 17:47:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=31773#p31773</guid>
		</item>
	</channel>
</rss>
