<?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=5740&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] locked out & chrooting into encrypted install, trying update-initramfs]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5740</link>
		<description><![CDATA[The most recent posts in [SOLVED] locked out & chrooting into encrypted install, trying update-initramfs.]]></description>
		<lastBuildDate>Wed, 07 Jun 2023 14:43:53 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] locked out & chrooting into encrypted install, trying update-initramfs]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=42494#p42494</link>
			<description><![CDATA[<p><span style="color: green"><strong>solved</strong></span></p><p><span class="bbc">cryptsetup luksOpen /dev/sda1 sda1_crypt</span></p><p><span class="bbc">mnt /dev/mapper/devuan-rootvol /mnt</span></p><p><span class="bbc">for name in proc sys dev ; do mount --bind /$name /mnt/$name; done</span></p><p><span class="bbc">chroot /mnt/ /bin/bash</span></p><p><span class="bbc">update-initramfs -u -k all</span></p>]]></description>
			<author><![CDATA[dummy@example.com (driver)]]></author>
			<pubDate>Wed, 07 Jun 2023 14:43:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=42494#p42494</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] locked out & chrooting into encrypted install, trying update-initramfs]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=42493#p42493</link>
			<description><![CDATA[<p>You need to open the luks volume with the same name as listed in the crypttab. An easy way to get a chroot is to use the rescue mode of the install medium, the netinstall is sufficient.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Wed, 07 Jun 2023 13:50:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=42493#p42493</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] locked out & chrooting into encrypted install, trying update-initramfs]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=42492#p42492</link>
			<description><![CDATA[<p>Messed something up in the process of adding a keyfile to avoid an extra passphrase prompt and now I can only access my Chimaera install from a Live USB.</p><p>I need to undo the modifications by editing the modified <span class="bbc">/etc/crypttab</span> , <span class="bbc">/etc/cryptsetup-initramfs/conf-hook</span> , <span class="bbc">/etc/initramfs-tools/initramfs.conf</span> and running <strong>update-initramfs</strong> via chroot on a live booted system.<br />I fail at the latter, getting the following warning:<br /><span class="bbc"><span style="color: #FF0000">cryptsetup: WARNING: target &#039;luks-a01-b02-c03-d04-e05&#039; not found in /etc/crypttab</span></span></p><p>My encryption/partitioning scheme looks like this:</p><div class="codebox"><pre><code>NAME                          TYPE
sda                           disk
└─sda1                        part
  └─luks-a01-b02-c03-d04-e05  crypt
    ├─devuan-rootvol          lvm
    └─devuan-swap             lvm</code></pre></div><p>How do I mount things the right way?</p>]]></description>
			<author><![CDATA[dummy@example.com (driver)]]></author>
			<pubDate>Wed, 07 Jun 2023 13:23:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=42492#p42492</guid>
		</item>
	</channel>
</rss>
