<?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=3953&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Separate, non-encrypted /boot on BIOS/MBR]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3953</link>
		<description><![CDATA[The most recent posts in Separate, non-encrypted /boot on BIOS/MBR.]]></description>
		<lastBuildDate>Fri, 11 Dec 2020 00:30:36 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26208#p26208</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>The new version is currently in beowulf-proposed-updates and will be moved to the main beowulf repository very soon. You could install it from there in the live session and then do the installation.</p></div></blockquote></div><p>That&#039;s awesome, thanks so much!</p>]]></description>
			<author><![CDATA[dummy@example.com (user1120)]]></author>
			<pubDate>Fri, 11 Dec 2020 00:30:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26208#p26208</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26199#p26199</link>
			<description><![CDATA[<p>The problem is with the installer. If you don&#039;t want to download a new iso, you could just upgrade the installer. The new version is currently in beowulf-proposed-updates and will be moved to the main beowulf repository very soon. You could install it from there in the live session and then do the installation. </p><p>If you don&#039;t want to mess around with editing sources.list, you could download the packages directly and install them with dpkg or gdebi. These are the same packages that are in the repo, but the links are a little shorter and easier to type.<br /><a href="https://sourceforge.net/projects/refracta/files/tools/refractainstaller-base_9.5.6_all.deb" rel="nofollow">https://sourceforge.net/projects/refrac … .6_all.deb</a><br /><a href="https://sourceforge.net/projects/refracta/files/tools/refractainstaller-gui_9.5.6_all.deb" rel="nofollow">https://sourceforge.net/projects/refrac … .6_all.deb</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Thu, 10 Dec 2020 11:50:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26199#p26199</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26192#p26192</link>
			<description><![CDATA[<p>No worries. Good to know that the netinstall ISO works in this case, thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (user1120)]]></author>
			<pubDate>Wed, 09 Dec 2020 22:46:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26192#p26192</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26179#p26179</link>
			<description><![CDATA[<p>I want to apologize for my earlier post. I finally realized I hadn&#039;t done an install from the LiveCD iso, just from the netinstall iso. </p><p>So I tried doing a plain install using the LiveCD iso with no crypto, just &#039;/boot&#039; on sda1, and &#039;/&#039; on sda2.&#160; I worked with that for a couple of hours. No matter what I tried, it always put &#039;/boot&#039; on sda2 and I only got the grub rescue prompt.</p><p>I&#039;m guessing the install script is broken somewhere after partitioning. OTOH, the netinstall iso installer works flawlessly.</p>]]></description>
			<author><![CDATA[dummy@example.com (Jafa)]]></author>
			<pubDate>Tue, 08 Dec 2020 23:42:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26179#p26179</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26178#p26178</link>
			<description><![CDATA[<p>Finally moved from the grub rescue prompt :)</p><p>I&#039;ve done:</p><div class="codebox"><pre><code>grub-install /dev/sda
update-grub</code></pre></div><p>...then fixed the UUID in grub.cfg and rebooted. I got the theme warning, then the boot menu, entered the disk password, and then:</p><div class="codebox"><pre><code>mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /run on /root/run failed: No such file or directory
run-init: can&#039;t execute &#039;/sbin/init&#039;: No such file or directory
Target filesystem doesn&#039;t have requested /sbin/init.
run-init: can&#039;t execute &#039;/sbin/init&#039;: No such file or directory
run-init: can&#039;t execute &#039;/etc/init&#039;: No such file or directory
run-init: can&#039;t execute &#039;/bin/init&#039;: No such file or directory
run-init: can&#039;t execute &#039;/bin/sh&#039;: No such file or directory
run-init: can&#039;t execute &#039;&#039;: No such file or directory
No init found. Try passing init= bootarg.

BusyBox v1.30.1 (Debian 1:1.30.1-4) built-in shell (ash)
Enter &#039;help&#039; for a list of built-in commands.

(initramfs)</code></pre></div><p>I&#039;ve tried going back and doing &quot;update-initramfs.orig.initramfs-tools -u -k all&quot; again, but it&#039;s the same. The crypttab and fstab configs are unchanged.</p><p>I&#039;ll check out the test ISO when I get the time, thanks for the link :)</p>]]></description>
			<author><![CDATA[dummy@example.com (user1120)]]></author>
			<pubDate>Tue, 08 Dec 2020 23:12:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26178#p26178</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26171#p26171</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>It used to ask where to put the bootloader when you installed the deb package, but it no longer asks.</p></div></blockquote></div><p>The non-UEFI version (grub-pc) still asks for a target drive but the UEFI version does not because the question is meaningless for a UEFI system.</p></div></blockquote></div><p>Yes, that&#039;s what I remember, and it stopped doing that for me earlier this year. I modified refractainstaller to account for that. The modification involved uncommenting one line which I had commented out in the past because the user was being asked twice where to put the bootloader.&#160; Today, it&#039;s asking me again.</p><p>The problem with the 3.0.0 iso is that the boot partition isn&#039;t getting mounted correctly for grub-install. I was able to get it to work by manually mounting it right before installing the grub-pc package. But that does not explain why the attempts to fix it in chroot didn&#039;t work for OP. Everything was mounted correctly there. I&#039;d have to go back and read everything again to be sure, but maybe there was a problem with mis-match of grub packages between the iso and the repo. </p><p>I just did a successful install with a preliminary 3.1.0 iso I made for testing before actual point-release. It works. I do get asked twice where to put the bootloader. I also get a warning before the boot menu, because it can&#039;t find the theme. Press any key to continue, and it works.<br />Here&#039;s the link for the test iso.<br /><a href="https://get.refracta.org/files/experimental/devuan_beowulf_3.1.0_2020-11-30_amd64_desktop-live.iso" rel="nofollow">https://get.refracta.org/files/experime … p-live.iso</a><br />sha256sum: bf477a3c0dc27866509407fde670d8fa0b903296effef7f67c2222a48fd9eb2a</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 08 Dec 2020 18:18:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26171#p26171</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26162#p26162</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>It used to ask where to put the bootloader when you installed the deb package, but it no longer asks.</p></div></blockquote></div><p>The non-UEFI version (grub-pc) still asks for a target drive but the UEFI version does not because the question is meaningless for a UEFI system.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 08 Dec 2020 16:57:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26162#p26162</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26159#p26159</link>
			<description><![CDATA[<p>I just noticed that the command, grub-install, does not appear anywhere in this thread. You might need to run that or &#039;dpkg-reconfigure grub&#039; before you run update-grub. It used to ask where to put the bootloader when you installed the deb package, but it no longer asks.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 08 Dec 2020 14:45:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26159#p26159</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26157#p26157</link>
			<description><![CDATA[<p>Ok, so I did:</p><div class="codebox"><pre><code>update-initramfs.orig.initramfs-tools -u -k all</code></pre></div><p>...which returned no errors, then rechecked grub.cfg (as per Jafa&#039;s post), rebooted, but I still get the same result.</p><p>This is the current fstab:</p><div class="codebox"><pre><code>/dev/mapper/crypt       /       ext4    errors=remount-ro       0       1
UUID=37a1d9e9-2597-4fc7-ad7f-95def918c030       /boot   ext4    defaults,noatime,       0       2
/swapfile       none    swap    sw      0       0</code></pre></div><p>...and the current crypttab:</p><div class="codebox"><pre><code># &lt;target name&gt; &lt;source device&gt;         &lt;key file&gt;      &lt;options&gt;
crypt           UUID=b23b7722-8c39-47f1-a49b-cd6cc7ac4eae               none            luks,discard</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (user1120)]]></author>
			<pubDate>Tue, 08 Dec 2020 11:53:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26157#p26157</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26156#p26156</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>I: update-initramfs is disabled (live system is running without media mount on /lib/live/mount/medium).</p></div></blockquote></div><p>You can either remove the live-tools package or use the modified name for the command.</p><div class="codebox"><pre><code>update-initramfs.orig.initramfs-tools -u -k all</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 08 Dec 2020 00:58:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26156#p26156</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26155#p26155</link>
			<description><![CDATA[<p>Running either &quot;update-initramfs -u&quot; or &quot;update-initramfs -u -k all&quot; results in:</p><div class="codebox"><pre><code>I: update-initramfs is disabled (live system is running without media mount on /lib/live/mount/medium).</code></pre></div><p>I tried doing &quot;apt-get install --reinstall linux-image-${kernel_ver}-generic linux-signed-image-${kernel_ver}-generic&quot; and also managed to do &quot;mkinitramfs -o /boot/initrd.img-${kernel_ver}-generic ${kernel_ver}-generic&quot; without any errors, but I get the exact same grub rescue prompt when trying to boot, with the wrong UUID (and I&#039;ve checked grub.cfg before rebooting).</p>]]></description>
			<author><![CDATA[dummy@example.com (user1120)]]></author>
			<pubDate>Tue, 08 Dec 2020 00:03:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26155#p26155</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26142#p26142</link>
			<description><![CDATA[<p>Instead of mkinitramfs, you can use <span class="bbc">update-initramfs -u</span> in the chroot. It will rebuild the initrd.img for the running kernel. If you want to build for a different kernel, use <span class="bbc">update-initramfs -u -k &lt;kernel-version&gt;</span> or <span class="bbc">update-initramfs -u -k all</span></p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Mon, 07 Dec 2020 13:40:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26142#p26142</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26137#p26137</link>
			<description><![CDATA[<p>Hey, thanks for the input :)</p><p>I&#039;ve tried replacing &quot;05eb424f-c4f8-4a5e-88d4-7a95764f7e58&quot; with &quot;37a1d9e9-2597-4fc7-ad7f-95def918c030&quot; in grub.cfg, but it&#039;s as if no changes were made:</p><div class="codebox"><pre><code>error: no such device: 05eb424f-c4f8-4a5e-88d4-7a95764f7e58
error: unknown filesystem.
Entering rescue mode...
grub rescue&gt;</code></pre></div><p>I&#039;m assuming an &quot;update-grub&quot; is required, but that reverts the changes in grub.cfg.</p><p>I still haven&#039;t booted into the OS, but I&#039;ve entered chroot again and modified crypttab and fstab as you said, but I can&#039;t figure out the &quot;mkinitramfs&quot; part...</p>]]></description>
			<author><![CDATA[dummy@example.com (user1120)]]></author>
			<pubDate>Mon, 07 Dec 2020 09:37:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26137#p26137</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=26135#p26135</link>
			<description><![CDATA[<p>Wrong uuid before it fails and drops to the grub rescue prompt. That is the uuid of your /dev/mapper partition. Grub <em>should</em> be looking for the uuid of sda1. It can&#039;t find <strong>vmlinuz &amp; initrd.img</strong>. They are now on sda1.</p><p><span class="bbc">/dev/sda1: UUID=&quot;37a1d9e9-2597-4fc7-ad7f-95def918c030&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;df76ca67-01&quot;</span> <strong>&lt;-- this guy</strong></p><p>Check your grub.cfg. You should find a bunch of: </p><div class="codebox"><pre><code>--set=root 05eb424f-c4f8-4a5e-88d4-7a95764f7e58</code></pre></div><p>That should be reading: </p><div class="codebox"><pre><code>--set=root 37a1d9e9-2597-4fc7-ad7f-95def918c030</code></pre></div><p>You get the grub rescue prompt because grub can&#039;t find the 2 needed <strong><em>boot</em></strong> files. <strong>If it fails</strong> because of bad crypttab or lvm mistakes in the initramfs image file, it will drop to an (initramfs) shell instead of a grub rescue prompt.</p><p>(search &amp; replace is ur friend)&#160; <img src="https://dev1galaxy.org/img/smilies/cool.png" width="15" height="15" alt="cool" /></p><p>Once you boot into the OS, crypttab needs to have the uuid for sda2, like:<br /><span class="bbc">crypt UUID=b23b7722-8c39-47f1-a49b-cd6cc7ac4eae none luks,discard</span></p><p>and fstab needs to have the entry for sda1 and the /dev/mapper entry for the luks device.</p><div class="codebox"><pre><code># /boot was on /dev/sda1 during installation
UUID=37a1d9e9-2597-4fc7-ad7f-95def918c030 /boot           ext4    defaults        0       2
/dev/mapper/crypt /               ext4    errors=remount-ro 0       1 </code></pre></div><p>(yep, that&#039;s a space after the uuid and the word &#039;crypt&#039;)</p><p>Then have it pump you out a new initrd.img with mkinitramfs</p>]]></description>
			<author><![CDATA[dummy@example.com (Jafa)]]></author>
			<pubDate>Mon, 07 Dec 2020 03:25:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=26135#p26135</guid>
		</item>
		<item>
			<title><![CDATA[Re: Separate, non-encrypted /boot on BIOS/MBR]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=25914#p25914</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>The error message about grub-pc already being the newest version makes no sense. (Unless it said grub-pc-bin) because grub-pc is not installed in the amd64 desktop-live iso.</p></div></blockquote></div><p>As in, it shouldn&#039;t be there in the installed system? The deb package is included in the ISO, though. The second step during installation states:</p><div class="quotebox"><blockquote><div><p>### WARNING ###<br />grub-pc is not installed but you booted in bios mode.</p><p>If you have the grub-pc deb packages, you will be given a chance to install them into the new system.</p><p>grub package(s) found in /grub-pc_2.02+dfsg1-20_amd64.deb</p></div></blockquote></div><div class="quotebox"><blockquote><div><p>Comment out this line in /etc/default/grub:</p></div></blockquote></div><p>I could&#039;ve guessed that it was there. Sorry, should&#039;ve taken a look before asking.<br />I haven&#039;t tried copying the theme folder, but it doesn&#039;t bother me, as I usually disable the GRUB timeout anyway.</p><div class="quotebox"><blockquote><div><p>I know why you didn&#039;t get asked where to put the bootloader. That was a change in grub and a later version of refractainstaller corrects for that.</p></div></blockquote></div><p>Oh, good to know. Looking forward to Chimaera, then :D</p><p>At least the second method works. It&#039;s an extra step during installation, but easy enough. Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (user1120)]]></author>
			<pubDate>Fri, 20 Nov 2020 21:51:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=25914#p25914</guid>
		</item>
	</channel>
</rss>
