<?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=3588&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Boot menu says "Debian" instead of "Devuan"]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3588</link>
		<description><![CDATA[The most recent posts in Boot menu says "Debian" instead of "Devuan".]]></description>
		<lastBuildDate>Mon, 15 Jun 2020 13:46:45 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22696#p22696</link>
			<description><![CDATA[<p>And now, to finally solve the last part of my problem, a step by step description of what actually <strong>to do</strong>:</p><ul><li><p><span class="bbc">sudo apt autoremove --purge grub-efi-amd64-signed shim-signed</span></p></li><li><p>Edit <span class="bbc">/etc/os-release</span> and <span class="bbc">/etc/default/grub</span> as mentioned above.</p></li><li><p>Remove the old (debian) EFI boot menu entry:<br /><span class="bbc">sudo efibootmgr -v</span> and look for the line saying <span class="bbc">Bootxxxx* debian</span>, where xxxx is something like 0001 or 0002 or so.<br />Delete the entry:<br /><span class="bbc">sudo efibootmgr -b xxxx -B</span>, where xxxx is the value from above.</p></li><li><p>Install a new boot loader:<br /><span class="bbc">sudo grub-install</span></p></li><li><p>Optionally, delete the old (debian) secure boot loader:<br /><span class="bbc">sudo rm -r /boot/efi/EFI/debian</span></p></li><li><p>Reboot.</p></li><li><p>Be happy!</p></li></ul><p>It worked for me after a netinstall, but do it at your own risk.</p>]]></description>
			<author><![CDATA[dummy@example.com (jdev)]]></author>
			<pubDate>Mon, 15 Jun 2020 13:46:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22696#p22696</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22567#p22567</link>
			<description><![CDATA[<p>For those of you who, like me, want to understand in more detail why renaming Debian to Devuan affects secure boot, here is what I have found out so far and what I think to understand:</p><p>The signed boot loader shimx64.efi, which is necessary for secure boot, was taken unchanged from Debian. The EFI directory, where the files necessary for booting must be located, is in Debian - of course - defined as <span class="bbc">boot/efi/EFI/debian</span>. Grub on the other hand takes the definition in GRUB_DISTRIBUTOR as the directory where to install grubx64.efi. So in order for shimx64.efi to load grubx64.efi (probably only within the same directory), grub must also select &quot;debian&quot;. If you change this in <span class="bbc">/etc/default/grub</span>, grubx64.efi will end up in a directory without shimx64.efi.</p><p>But the shim sources apparently allow the creation of a signed boot loader with a canonical certificate for other distributions. For Ubuntu this is already part of the rules (<span class="bbc">dpkg-vendor --is ubuntu</span>), so Devuan would only have to add this for itself, compile and provide shim as an own package.</p>]]></description>
			<author><![CDATA[dummy@example.com (jdev)]]></author>
			<pubDate>Thu, 11 Jun 2020 11:25:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22567#p22567</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22557#p22557</link>
			<description><![CDATA[<p>Hi</p><p>It means that the signed one will boot with secure boot enabled (and also without). The other only without secure boot disabled. But to my knowledge (in this case limited) there is no reason not to use the signed kernel anyway.</p><p>Have a nice day<br />Lars H</p>]]></description>
			<author><![CDATA[dummy@example.com (larsH)]]></author>
			<pubDate>Wed, 10 Jun 2020 19:55:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22557#p22557</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22553#p22553</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Are you using secure boot?</p></div></blockquote></div><p>No.</p><p>I disabled &quot;secure boot&quot; prior to the installation, because it stopped the netinstall usb stick from booting (and I don&#039;t want secure boot anyway).</p><p>Nevertheless, the signed boot loader was installed.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>Are you unable to boot your os?</p></div></blockquote></div><p>No.</p><p>But I&#039;d like to change the boot menu entry from &quot;Debian&quot; to &quot;Devuan&quot; and because I can&#039;t use the signed boot loader then anyway, I wonder what &quot;remove grub-efi-amd64-signed and just use grub-efi-amd64&quot; means, respectively what exactly has to be done (to make sure it still will boot afterwards).</p>]]></description>
			<author><![CDATA[dummy@example.com (jdev)]]></author>
			<pubDate>Wed, 10 Jun 2020 19:04:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22553#p22553</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22548#p22548</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>I still don&#039;t get &quot;If you&#039;re booting UEFI mode, you will also need to remove grub-efi-amd64-signed and just use grub-efi-amd64.&quot;, though. Any explanation what to do or what is meant appreciated.</p></div></blockquote></div><p>Are you using secure boot?<br />Are you unable to boot your os?</p><p>If your answer to the second question is &#039;yes&#039; then you will need to do something. We will help you figure that out. Otherwise, you can ignore it.</p><p>In previous testing, the bootloader had to be named &#039;debian&#039; if you used the signed grub package. Otherwise, it could not find the bootloader, because $prefix was hard-coded as EFI/debian. I don&#039;t know if that&#039;s still true in beowulf.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 09 Jun 2020 23:09:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22548#p22548</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22545#p22545</link>
			<description><![CDATA[<div class="quotebox"><cite>jdev wrote:</cite><blockquote><div><div class="quotebox"><cite>HevyDevy wrote:</cite><blockquote><div><p>To answer your question better i think <span class="bbc">lsb_release -i -s</span> reads from the file <span class="bbc">/etc/os-release</span>.</p></div></blockquote></div><p>Nope, it reads from <span class="bbc">/etc/lsb-release</span>.</p></div></blockquote></div><p>HevyDevy, you are right.</p><p>The first part of my problem is solved. The Debian/Devuan version of lsb is modified and reads - unlike the genuine lsb_release, which reads from <span class="bbc">/etc/lsb-release</span> - <span class="bbc">/etc/os-release</span> instead.</p><p>So the release notes should read more precisely: &quot;Edit /etc/os-release to show ID=devuan <strong>and</strong> edit /etc/default/grub so that GRUB_DISTRIBUTOR ends with &#039;echo Devuan&#039; instead of &#039;echo Debian&#039; (in case lsb_release isn&#039;t installed)&quot;.</p><p>I still don&#039;t get &quot;If you&#039;re booting UEFI mode, you will also need to remove grub-efi-amd64-signed and just use grub-efi-amd64.&quot;, though. Any explanation what to do or what is meant appreciated.</p>]]></description>
			<author><![CDATA[dummy@example.com (jdev)]]></author>
			<pubDate>Tue, 09 Jun 2020 22:38:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22545#p22545</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22544#p22544</link>
			<description><![CDATA[<p>lsb-base and lsb-release in ascii are devuanized packages. You can tell because &#039;devuan&#039; is in the version. In beowulf, chimaera and ceres, we&#039;re using the unchanged debian versions.</p><p>The code you&#039;re looking for might be here: <a href="https://salsa.debian.org/debian/lsb" rel="nofollow">https://salsa.debian.org/debian/lsb</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 09 Jun 2020 22:25:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22544#p22544</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22540#p22540</link>
			<description><![CDATA[<div class="quotebox"><cite>bitfarmer wrote:</cite><blockquote><div><p>There might be a difference in the files between people who were running Beta then upgraded and those that just installed the Release version. For the record, I upgraded from Beta, I don&#039;t have a <strong>/etc/lsb-release</strong>, and <strong> lsb_release -i -s </strong> reports &#039;<strong>Debian</strong>&#039; unless I change the <em>ID=Debian</em> line in <strong>/etc/os-release</strong> whereupon the <strong> lsb_release -i -s </strong> reports &#039;<strong>Devuan</strong>&#039; immediately.</p></div></blockquote></div><p>I installed a minimal system with netinstall and have neither <span class="bbc">/etc/lsb-release</span> nor <span class="bbc">lsb_release</span>.</p><p>I can&#039;t find any reference to <span class="bbc">/etc/os-release</span> in the lsb source from <a href="https://git.devuan.org/devuan-packages/lsb" rel="nofollow">https://git.devuan.org/devuan-packages/lsb</a>. So why is your <span class="bbc">lsb_release</span> reading <span class="bbc">/etc/os-release</span>?</p><p>So probably <a href="https://git.devuan.org/devuan-packages/lsb" rel="nofollow">https://git.devuan.org/devuan-packages/lsb</a> isn&#039;t the place that holds the actual Devuan sources?</p>]]></description>
			<author><![CDATA[dummy@example.com (jdev)]]></author>
			<pubDate>Tue, 09 Jun 2020 18:54:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22540#p22540</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22539#p22539</link>
			<description><![CDATA[<p>There might be a difference in the files between people who were running Beta then upgraded and those that just installed the Release version. For the record, I upgraded from Beta, I don&#039;t have a <strong>/etc/lsb-release</strong>, and <strong> lsb_release -i -s </strong> reports &#039;<strong>Debian</strong>&#039; unless I change the <em>ID=Debian</em> line in <strong>/etc/os-release</strong> whereupon the <strong> lsb_release -i -s </strong> reports &#039;<strong>Devuan</strong>&#039; immediately.</p>]]></description>
			<author><![CDATA[dummy@example.com (bitfarmer)]]></author>
			<pubDate>Tue, 09 Jun 2020 18:28:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22539#p22539</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22538#p22538</link>
			<description><![CDATA[<div class="quotebox"><cite>HevyDevy wrote:</cite><blockquote><div><p><span class="bbc">GRUB_DISTRIBUTOR=`lsb_release -d -s`</span></p><p>i get below for a grub boot menu</p><p><span class="bbc">Devuan GNU/Linux 3 (beowulf)</span></p></div></blockquote></div><p>This is not surprising, since grub undoubtedly makes use of GRUB_DISTRIBUTOR and <span class="bbc">lsb_release -d</span> provides the description.</p><p>It is not and was not the question that a change to GRUB_DISTRIBUTOR will have an effect. The question was whether <span class="bbc">/etc/os-release</span> would have any effect at all.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><div class="quotebox"><blockquote><div><p>Changing the &#039;ID=&#039; line in /etc/os-release will also change the name of the bootloader created by &#039;grub-install&#039;.</p></div></blockquote></div><p>Correction:<br />With ID=mydevuan, grub-install creates a bootloader at /boot/efi/EFI/mydevuan<br />With ID=devuan, it does not. It just went back to using /boot/efi/EFI/debian.</p><p>So, like I said before, I probably can&#039;t explain it.</p></div></blockquote></div><p>This is strange, because there is no reference to <span class="bbc">/etc/os-release</span> in any grub source (genuine, debian, devuan) I could find. Actually, <span class="bbc">/etc/os-release</span> seems to come from <a href="http://0pointer.de/blog/projects/os-release" rel="nofollow">systemd</a> and grub-install definitively reads the bootloader id from GRUB_DISTRIBUTOR in <span class="bbc">/etc/default/grub</span> (unless given by option bootloader-id or setting it as environment variable).</p>]]></description>
			<author><![CDATA[dummy@example.com (jdev)]]></author>
			<pubDate>Tue, 09 Jun 2020 18:11:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22538#p22538</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22534#p22534</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Changing the &#039;ID=&#039; line in /etc/os-release will also change the name of the bootloader created by &#039;grub-install&#039;.</p></div></blockquote></div><p>Correction:<br />With ID=mydevuan, grub-install creates a bootloader at /boot/efi/EFI/mydevuan<br />With ID=devuan, it does not. It just went back to using /boot/efi/EFI/debian.</p><p>So, like I said before, I probably can&#039;t explain it.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 09 Jun 2020 14:40:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22534#p22534</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22533#p22533</link>
			<description><![CDATA[<p>Just some off hand info here.</p><p>Devuan system im currently using was installed to a usb stick&#160; first using devuan installer then i proceeded to reinstall system from usb stick to ssd laptop using the usb stick via refractainstaller.</p><p>So if i just change <span class="bbc">GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian`</span></p><p>to </p><p><span class="bbc">GRUB_DISTRIBUTOR=`lsb_release -d -s`</span></p><p>i get below for a grub boot menu</p><p><span class="bbc">Devuan GNU/Linux 3 (beowulf)</span></p>]]></description>
			<author><![CDATA[dummy@example.com (HevyDevy)]]></author>
			<pubDate>Tue, 09 Jun 2020 14:13:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22533#p22533</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22531#p22531</link>
			<description><![CDATA[<div class="quotebox"><cite>jdev wrote:</cite><blockquote><div><p>Could someone please explain what exactly needs to be done?</p></div></blockquote></div><p>Probably not, but I&#039;ll try. I think the behavior of grub has changed since that was tested for the release notes. To change it in the boot menu, you can either change it in /etc/default/grub or /etc/os-release and re-run update-grub.</p><p>Like this works:</p><div class="codebox"><pre><code>GRUB_DISTRIBUTOR=Devuan</code></pre></div><p>Changing the &#039;ID=&#039; line in /etc/os-release will also change the name of the bootloader created by &#039;grub-install&#039;. I don&#039;t think /etc/default/grub will do that. Correct me if you find otherwise.</p><p>Changing it in /etc/lsb-release works, too, but you won&#039;t have that file unless you created it. Or maybe I created it for you, if you&#039;re running Refracta.</p><p>If you have secure boot enabled, I don&#039;t know what will happen. Some time ago, the bootloader directory on the efi partition needed to be named &#039;debian&#039; if you were using the signed version of grub-efi-amd64, even without secure boot enabled. That appears to have changed in chimaera. Either that or my motherboard is lying to me about secure boot. That&#039;s a distinct possibility, since manufacturers can seem to agree on uefi implementations.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 09 Jun 2020 13:47:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22531#p22531</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22529#p22529</link>
			<description><![CDATA[<div class="quotebox"><cite>jdev wrote:</cite><blockquote><div><div class="quotebox"><cite>HevyDevy wrote:</cite><blockquote><div><p>To answer your question better i think <span class="bbc">lsb_release -i -s</span> reads from the file <span class="bbc">/etc/os-release</span>.</p></div></blockquote></div><p>Nope, it reads from <span class="bbc">/etc/lsb-release</span>.</p></div></blockquote></div><p>That is strange because i dont have that file <span class="bbc">/etc/lsb-release</span> on my installation of beowulf.</p>]]></description>
			<author><![CDATA[dummy@example.com (HevyDevy)]]></author>
			<pubDate>Tue, 09 Jun 2020 12:49:30 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22529#p22529</guid>
		</item>
		<item>
			<title><![CDATA[Re: Boot menu says "Debian" instead of "Devuan"]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=22528#p22528</link>
			<description><![CDATA[<div class="quotebox"><cite>HevyDevy wrote:</cite><blockquote><div><p>To answer your question better i think <span class="bbc">lsb_release -i -s</span> reads from the file <span class="bbc">/etc/os-release</span>.</p></div></blockquote></div><p>Nope, it reads from <span class="bbc">/etc/lsb-release</span>.</p>]]></description>
			<author><![CDATA[dummy@example.com (jdev)]]></author>
			<pubDate>Tue, 09 Jun 2020 12:44:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=22528#p22528</guid>
		</item>
	</channel>
</rss>
