<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=7637&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=7637</link>
		<description><![CDATA[The most recent posts in excalibur installation hangs in late-install-stage2 (in libvirt).]]></description>
		<lastBuildDate>Wed, 04 Mar 2026 00:59:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=62556#p62556</link>
			<description><![CDATA[<p>The 6.1.0 server installation ISO fixed the problem.</p>]]></description>
			<author><![CDATA[dummy@example.com (rmrichesjr)]]></author>
			<pubDate>Wed, 04 Mar 2026 00:59:54 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=62556#p62556</guid>
		</item>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60807#p60807</link>
			<description><![CDATA[<p>And now I can confirm that installer doesn&#039;t work. I&#039;ll have to try again with this &#039;hot fix&#039; some other day. But what an annoying glitch in a supposed official release!</p>]]></description>
			<author><![CDATA[dummy@example.com (Micronaut)]]></author>
			<pubDate>Mon, 22 Dec 2025 00:51:12 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60807#p60807</guid>
		</item>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60659#p60659</link>
			<description><![CDATA[<p>Thanks.&#160; I don&#039;t have debootstrap installed, but with that guidance I might do that for any later installation(s).</p>]]></description>
			<author><![CDATA[dummy@example.com (rmrichesjr)]]></author>
			<pubDate>Wed, 17 Dec 2025 00:21:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60659#p60659</guid>
		</item>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60652#p60652</link>
			<description><![CDATA[<div class="quotebox"><cite>rmrichesjr wrote:</cite><blockquote><div><p>If I understand that correctly, it means the build host needs an excalibur version of debootstrap.&#160; That would seem to imply that to build a release N ISO requires a release N build machine, which appears to be a chicken-and-egg situation.</p></div></blockquote></div><p>That&#039;s not exactly right.&#160; I run the excalibur build from daedalus (debootstrap 1.0.134devuan2).<br />Interestingly, /usr/share/deboostrap/scripts/{jessie,ascii,beowulf,chimaera,daedalus,excalibur,freia} are all symbolic links to ceres.&#160; That script, on my installation is: </p><div class="codebox"><pre><code>-rw-r--r-- 1 root root 8021 Mar 12  2024 /usr/share/debootstrap/scripts/ceres</code></pre></div><p>&#160; If yours is the same, you could just create a link to it, named excalibur.&#160; But it seems you&#039;ve got the installation finished another way :-)</p>]]></description>
			<author><![CDATA[dummy@example.com (rbit)]]></author>
			<pubDate>Tue, 16 Dec 2025 21:17:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60652#p60652</guid>
		</item>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60614#p60614</link>
			<description><![CDATA[<p>To close the loop, I used scp from inside the VM to replace the script in the running installer (right after configuring the clock).&#160; The installation finished, and the installed system boots to what appears to be a useful condition.</p><p>Thanks!!!!!</p>]]></description>
			<author><![CDATA[dummy@example.com (rmrichesjr)]]></author>
			<pubDate>Tue, 16 Dec 2025 04:49:45 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60614#p60614</guid>
		</item>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60409#p60409</link>
			<description><![CDATA[<p>After installing zsh, tried running ./build-sudo.sh per post #4.&#160; It appears to require a /usr/share/debootstrap/scripts/excalibur file on the build host:</p><div class="codebox"><pre><code>+./build-sudo.sh:8&gt; export LC_ALL=C
+./build-sudo.sh:10&gt; SUITE=excalibur 
+./build-sudo.sh:11&gt; ISOSET=server 
+./build-sudo.sh:12&gt; DISTVERSION=6.0.0-rc1 
+./build-sudo.sh:13&gt; : http://pkgmaster.devuan.org/merged
+./build-sudo.sh:14&gt; dpkg-architecture -q DEB_HOST_ARCH
+./build-sudo.sh:14&gt; : amd64
+./build-sudo.sh:15&gt; : excalibur.amd64.fs
+./build-sudo.sh:17&gt; id -u
+./build-sudo.sh:17&gt; [ 501 &#039;=&#039; 0 &#039;]&#039;
+./build-sudo.sh:21&gt; [ -n &#039;&#039; &#039;]&#039;
+./build-sudo.sh:37&gt; [ ! -d excalibur.amd64.fs &#039;]&#039;
+./build-sudo.sh:39&gt; [ -z -o ! &#039;&#039; &#039;=&#039; N &#039;]&#039;
+./build-sudo.sh:40&gt; [ -e excalibur.amd64.fs &#039;]&#039;
+./build-sudo.sh:48&gt; [ ! -e excalibur.amd64.fs &#039;]&#039;
+./build-sudo.sh:49&gt; echo &#039;# Set up a chroot environment to build in&#039;
# Set up a chroot environment to build in
+./build-sudo.sh:50&gt; [ ! -e /usr/share/debootstrap/scripts/excalibur &#039;]&#039;
+./build-sudo.sh:51&gt; echo &#039;MISSING debootstrap script /usr/share/debootstrap/scripts/excalibur&#039;
MISSING debootstrap script /usr/share/debootstrap/scripts/excalibur
+./build-sudo.sh:52&gt; exit 1</code></pre></div><p>If I understand that correctly, it means the build host needs an excalibur version of debootstrap.&#160; That would seem to imply that to build a release N ISO requires a release N build machine, which appears to be a chicken-and-egg situation.</p><p>In the interim, I&#039;ll try to implement the workaround to replace file /usr/lib/finish-install.d/18late-install-stage2 in the running installer.</p>]]></description>
			<author><![CDATA[dummy@example.com (rmrichesjr)]]></author>
			<pubDate>Sat, 06 Dec 2025 22:11:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60409#p60409</guid>
		</item>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60357#p60357</link>
			<description><![CDATA[<p>Superb!&#160; Thank you very much!</p>]]></description>
			<author><![CDATA[dummy@example.com (rmrichesjr)]]></author>
			<pubDate>Thu, 04 Dec 2025 00:21:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60357#p60357</guid>
		</item>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60349#p60349</link>
			<description><![CDATA[<p>The first patch that addresses this issue was listed here<br /><a href="https://git.devuan.org/devuan/installer-iso/commit/318290732095bf83e0bf488645aa5d2e12e7251c" rel="nofollow">https://git.devuan.org/devuan/installer … 2e12e7251c</a><br />but then I removed that entirely (and removed other old parts), and placed rsyslog in another part to ensure it gets installed<br /><a href="https://git.devuan.org/devuan/installer-iso/commit/5edddf0bc67c8873b74e54a9a4e5cd37ddeb4887" rel="nofollow">https://git.devuan.org/devuan/installer … 37ddeb4887</a><br />Not sure that&#039;s the proper way to do it, but it did pass my initial testing at least.</p><p>The first fix could be patched into a running installer, by replacing /usr/lib/finish-install.d/18late-install-stage2</p><div class="codebox"><pre class="vscroll"><code>cat &lt;&lt;EOF | tee /usr/lib/finish-install.d/18late-install-stage2 &gt; /dev/null
#!/bin/sh
if [ -f /target/var/lib/dpkg/info/desktop-base.list ]; then
	# desktop-base was installed.  reinstall it after other packages if possible
	if [ -n &quot;\$(grep ^deb\ http /target/etc/apt/sources.list)&quot; ]; then
		# there are online apt sources listed; do not use installation media
		sed -i -e &#039;s/^deb cdrom:/#deb cdrom:/g&#039; /target/etc/apt/sources.list
		in-target sh -c &quot;apt-get -y reinstall desktop-base&quot;
	elif [ -n &quot;\$(ls /target/tmp/desktop-base/desktop-base*.deb 2&gt;/dev/null)&quot; ]; then
		# the deb from installation media is available
		in-target sh -c &quot;cd /tmp/desktop-base ; dpkg -i *.deb&quot;
	else
		# this is an offline installation, and the deb was not found
		log &quot;(offline) unable to reinstall desktop-base: deb file is unavailable&quot;
	fi
fi

# check if rsyslog got installed
if [ ! -f /target/usr/sbin/rsyslogd ]; then
  # not installed; try to install it if possible
  if [ -n &quot;\$(grep ^deb\ http /target/etc/apt/sources.list)&quot; ]; then
    # there are online apt sources listed; do not use installation media
    sed -i -e &#039;s/^deb cdrom:/#deb cdrom:/g&#039; /target/etc/apt/sources.list
    in-target sh -c &quot;apt-get -y reinstall rsyslog&quot;
  elif [ -n &quot;\$(ls /target/tmp/rsyslog/rsyslog*.deb 2&gt;/dev/null)&quot; ]; then
    # offline installation; the deb from installation media is available
    in-target sh -c &quot;cd /tmp/rsyslog ; dpkg -i *.deb&quot;
  else
    # this is an offline installation, and the deb was not found
    log &quot;(offline) unable to install rsyslog: deb file is unavailable&quot;
  fi
fi

# patch for /usr/lib/udev/rules.d/90-alsa-restore.rules
# see: https://dev1galaxy.org/viewtopic.php?pid=57929#p57929
pathname=&quot;/target/usr/lib/udev/rules.d/90-alsa-restore.rules&quot;
if [ -f &quot;\$pathname&quot; ]; then
  # verify if patch is required
  if [ \$(grep -c &#039;^LABEL=&quot;alsa_restore_go&quot;&#039; \$pathname) -eq 2 ]; then
    # same label exists twice. patch is needed.
    linenum=\$(grep -n &#039;^LABEL=&quot;alsa_restore_go&quot;&#039; \$pathname | (read first; read second; echo \$second | cut -d : -f 1))
    # delete the wrong label (2nd one) and insert the correct label
    sed -i -e &quot;\${linenum}cLABEL=\&quot;alsa_restore_std\&quot;&quot; \$pathname
  fi
fi
EOF</code></pre></div><p>Or... to build your own updated ISO:</p><div class="codebox"><pre><code>git clone https://git.devuan.org/devuan/installer-iso.git
cd installer-iso
./build-sudo.sh excalibur netinstall</code></pre></div><p>replace &quot;netinstall&quot; with the iso you want to create (for example, &quot;desktop&quot;)<br />view the README.md file there to see dependencies and other helpful info.</p>]]></description>
			<author><![CDATA[dummy@example.com (rbit)]]></author>
			<pubDate>Wed, 03 Dec 2025 18:39:05 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60349#p60349</guid>
		</item>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60347#p60347</link>
			<description><![CDATA[<p>Thank you!&#160; Many additional thanks in advance for a pointer to the details of the workaround, please.&#160; It would be convenient if the workaround could be patched in, either during the running installer or by rebuilding a modified ISO.</p>]]></description>
			<author><![CDATA[dummy@example.com (rmrichesjr)]]></author>
			<pubDate>Wed, 03 Dec 2025 17:24:13 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60347#p60347</guid>
		</item>
		<item>
			<title><![CDATA[Re: excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60346#p60346</link>
			<description><![CDATA[<div class="quotebox"><cite>rmrichesjr wrote:</cite><blockquote><div><p>My first hunch is that the cdrom got unmounted too early, and that&#039;s causing the apt-get package [re]installation to hang.</p></div></blockquote></div><p>That&#039;s exactly correct.&#160; There&#039;s a workaround in the latest installer-iso program, so if/when a 6.0.1 iso is published it will be corrected.</p>]]></description>
			<author><![CDATA[dummy@example.com (rbit)]]></author>
			<pubDate>Wed, 03 Dec 2025 14:06:50 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60346#p60346</guid>
		</item>
		<item>
			<title><![CDATA[excalibur installation hangs in late-install-stage2 (in libvirt)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=60342#p60342</link>
			<description><![CDATA[<p>I&#039;m seeing a repeatable problem when installing devuan excalibur aka 6 on libvirt.&#160; The first problematic symptom is a hang for more than 30 minutes with the install UI saying &quot;Finishing the installation&quot; and &quot;Running late-install-stage2...&quot;&#160; This problem appears to be similar to this topic: <a href="https://dev1galaxy.org/viewtopic.php?id=7521" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=7521</a></p><p>Going to vt4 to see the installer&#039;s syslog, it appears the installer unmounts and ejects /dev/sr0, then runs script 18-late-install-stage2, which tries to install a few new packages: libestr0 libfastjson4 liblognorm5 rsyslog</p><p>Activating vt2, the &#039;ps&#039; command shows the two last non-kworker, non-ps processes as follows:<br />- apt-get -y reinstall rsyslog<br />- /usr/lib/apt/methods/cdrom</p><p>My first hunch is that the cdrom got unmounted too early, and that&#039;s causing the apt-get package [re]installation to hang.&#160; I&#039;d love to supply screenshots, but I haven&#039;t seen how to add an image.</p>]]></description>
			<author><![CDATA[dummy@example.com (rmrichesjr)]]></author>
			<pubDate>Wed, 03 Dec 2025 04:52:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=60342#p60342</guid>
		</item>
	</channel>
</rss>
