<?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=7961&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7961</link>
		<description><![CDATA[The most recent posts in [SOLVED] Steps required to upgrade the desktop-live .ISO.]]></description>
		<lastBuildDate>Sun, 10 May 2026 05:53:53 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63720#p63720</link>
			<description><![CDATA[<p>Following-up:&#160; I would recommend the better solution in post #4, but this solution specifically answers the original question:<br />Steps required to upgrade the DEVUAN desktop-live .ISO (without persistence)</p><ul><li><p>meaning that it is a good method to choose if you plan to do this once or rarely.</p></li><li><p>perhaps not so good if you are doing much customization</p></li></ul><p>For lack of patience at this moment, I&#039;ll be a bit terse.</p><ul><li><p>boot the DEVUAN desktop-live .ISO and select &quot;TO RAM&quot; from the boot menu</p></li><li><div class="codebox"><pre><code>sudo apt -y remove live-tools</code></pre></div></li><li><div class="codebox"><pre><code>sudo nano /etc/kernel/post{inst,rm}.d/zz-update-grub
# in the space after the if-then clause containing &quot;systemd-detect-virt&quot;, add this line (once for each file):
if (grep --quiet QEMU /proc/cpuinfo); then exit 0; fi</code></pre></div><p>(attribution to this post: <a href="https://dev1galaxy.org/viewtopic.php?pid=62626#p62626" rel="nofollow">https://dev1galaxy.org/viewtopic.php?pid=62626#p62626</a> )</p></li><li><div class="codebox"><pre><code>sudo apt -y remove grub-efi-amd64
sudo apt -y update
sudo apt -y upgrade
sudo apt -y autoremove
sudo apt install live-tools</code></pre></div><p>note: grub efi support was just removed.&#160; implications thereof?</p></li><li><p>get your storage-media ready for use</p><div class="codebox"><pre><code>sudo mkdir /mnt/space
# replace Zda below with your own empty storage media or partition, e.g. sda3, vda1, sdc
sudo mkfs.ext4 /dev/Zda # only do this if you need to format the space
sudo mount /dev/Zda /mnt/space
sudo mkdir /mnt/space/{work,snapshot}</code></pre></div></li><li><div class="codebox"><pre><code>sudo nano /etc/refractasnapshot.conf
# find variables: snapshot_dir and work_dir and edit them to contain /mnt/space/snapshot and /mnt/space/work</code></pre></div></li><li><p>get your new kernel version:</p><div class="codebox"><pre><code>uname -r # this shows the correct format that you need, but the old kernel version number
ls -l /vmlinuz # this is the new version; take the matching bits from the end of this line
sudo nano /bin/refractasnapshot
# at approx line #438, find line starting with &quot;mkinitramfs&quot;; to the end of that line, add a space and your kernel version, e.g. 6.12.86+deb13-amd64</code></pre></div><p>the above edit is a hack, and could be better if scripted</p></li><li><div class="codebox"><pre><code>sudo refractasnapshot
# choose: 1
# type: q
# hit: &lt;Enter&gt;</code></pre></div><p>when done, find your newly upgraded .ISO in the /mnt/space/snapshot/ directory (under snapshot/ on your storage-media)</p></li></ul><p>I&#039;ve just finished doing the above and am running on the upgraded desktop-live .ISO to make this post.<br />(also with this upgrade, now safe from <a href="https://www.linode.com/docs/guides/cve-2026-31431-copy-fail-mitigation/" rel="nofollow">Copy Fail CVE-2026-31431</a>)</p><p>thanks to <a href="https://dev1galaxy.org/profile.php?id=6" rel="nofollow">fsmithred</a> for prompt advice and encouragement</p>]]></description>
			<author><![CDATA[dummy@example.com (idle)]]></author>
			<pubDate>Sun, 10 May 2026 05:53:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63720#p63720</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63706#p63706</link>
			<description><![CDATA[<p>OK, I think the message is becoming a bit more clear.</p><p>If the .ISO is an egg:</p><p>The idea I had was to make an egg from an egg.<br />One could set up a genetics lab to do it.</p><p>... or just let the egg hatch into a chicken, and then let the chicken lay it&#039;s own egg.</p><p>(there must be an ethnic proverb out there that covers this)</p>]]></description>
			<author><![CDATA[dummy@example.com (idle)]]></author>
			<pubDate>Sat, 09 May 2026 20:32:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63706#p63706</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63704#p63704</link>
			<description><![CDATA[<p>I would expect the initramfs to contain the modules for the running kernel, and I would expect the running kernel to be the old one. A live system is read-only, so if you upgrade the kernel, you have to reboot to use that kernel, but when you reboot, the new kernel is no longer there. It was only in memory.</p><p>You need a persistent partition or an installed system to upgrade the kernel and put it into a new snapshot.</p><p>You might be able to do it from the live system if you chroot into the copy of the filesystem. I&#039;m not sure if that would work. The new kernel will be there in the storage media after you install it and run refractasnapshot once. </p><p>You need to set refractasnapshot.conf to save the filesystem copy. Then maybe you can chroot into the fs copy and run &#039;update-initramfs -u -k all&#039; and then copy the new kernel and initramfs to /iso/live/vmlinuz and /iso/live/initrd.img. Then run refractasnapshot again and choose &quot;Re-squash and make iso (no-copy)&quot; so you don&#039;t clobber your edits.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 09 May 2026 19:42:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63704#p63704</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63701#p63701</link>
			<description><![CDATA[<p>SOLVED by <a href="https://dev1galaxy.org/profile.php?id=6" rel="nofollow">fsmithred</a>&#039;s post #3, which I expanded into post #4.</p><p>Now, I&#039;d like to mention that back with my initial quest of running refractasnapshot straight from the booted-to-RAM&quot; .ISO, I got to a point where the kernel had been upgraded, and a new initramfs created (which does include the correct kernel modules); and also with /etc/refractasnapshot.conf variables: kernel_image= and initrd_image= updated accordingly.</p><p>The issue now is that the initramfs on the new .ISO only contains a directory for the old kernel modules (lacking the new ones), so the boot halts and drops to the initramfs prompt.&#160; I have been inspecting /bin/refractasnapshot and so far haven&#039;t been able to find the reason for that.</p><p>If there&#039;s any ideas on why or where the issue lies, please let me know.</p>]]></description>
			<author><![CDATA[dummy@example.com (idle)]]></author>
			<pubDate>Sat, 09 May 2026 18:33:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63701#p63701</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63700#p63700</link>
			<description><![CDATA[<p>Yes, that way will work if you don&#039;t want to use qemu or virtualbox. Another way would be to&#160; use a spare partition on your hard drive instead of external storage media, but those are essentially the same thing.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 09 May 2026 18:01:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63700#p63700</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63699#p63699</link>
			<description><![CDATA[<p>OK, so if I get what you&#039;re saying, <a href="https://dev1galaxy.org/profile.php?id=6" rel="nofollow">fsmithred</a>, the proven method would be:</p><ul><li><p>boot computer(or virtual machine) on the live .ISO</p></li><li><p>insert (if not already present) some empty storage-media, or some storage-media that can be overwritten</p></li><li><p>install the live-system onto that storage-media</p></li><li><p>then boot that newly-installed system off of the storage-media</p></li><li><p>now upgrade that booted system (and/or modify it to your liking)</p></li><li><p>lastly, run refractasnapshot to make a new, upgraded live .ISO of your installed system</p></li></ul><p>Afterward, keep the operating system that&#039;s on the storage-media for future-use (preferably clean, and otherwise unused).&#160; Upgrade or modify it periodically, then run refractasnapshot to create another new, upgraded live .ISO</p><p>Looking at it that way, I see an extra step involved (creation of an installed-system on storage-media), versus what I was attempting to do.</p><p>However, if the user upgrades their .ISO more than one time between .ISO releases, then network-bandwidth will be saved between user and devuan repositories (by not re-downloading the same updates each time they update their .ISO).</p><p>Do you agree or have corrections or anything do add?</p>]]></description>
			<author><![CDATA[dummy@example.com (idle)]]></author>
			<pubDate>Sat, 09 May 2026 17:54:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63699#p63699</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63695#p63695</link>
			<description><![CDATA[<p>live-sdk downloads all the packages every time it runs. If you have a fast internet connection, that&#039;s not bad. It&#039;s especially good if you want to make several isos with different content. You just use different config files for the different builds. The downside is that if there&#039;s anything wrong in the build setup, or if you list a package to be installed when that package doesn&#039;t exist, the whole build fails and you have to start it again. </p><p>My preferred workflow is to install a system into a VM and make the snapshot there. Then I can upgrade the VM any time I want and make a new iso. It doesn&#039;t have to download the whole system every time.</p><p>Then, if I want to use a live, read-only system, I just boot the iso file inside a VM and use that. Then I don&#039;t have to reboot the computer to switch to read-only. When the VM shuts down, everything from that session is gone.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 09 May 2026 10:42:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63695#p63695</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63690#p63690</link>
			<description><![CDATA[<p>(inb4 Fred posts his &quot;two ways to make a live-iso&quot; links)</p><p>found several forum-links pointing to <a href="https://dev1galaxy.org/profile.php?id=6" rel="nofollow">fsmithred</a>&#039;s topic: <a href="https://dev1galaxy.org/viewtopic.php?id=551" rel="nofollow">Make a live-CD with live-sdk</a></p><ul><li><p>While not an answer to the immediate question, it is one possible solution to the problem at hand.</p></li></ul><p>continuing...</p>]]></description>
			<author><![CDATA[dummy@example.com (idle)]]></author>
			<pubDate>Sat, 09 May 2026 04:24:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63690#p63690</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Steps required to upgrade the desktop-live .ISO]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=63689#p63689</link>
			<description><![CDATA[<p>TL/DR: see post #4 and post #9</p><p>Hello folks,</p><p>Requesting help in considering that with this use-case:</p><ul><li><p>booting from DEVUAN desktop-live .ISO often</p></li><li><p>up to several concurrent instances, several times per day</p></li><li><p>with zero persistence</p></li></ul><p>and keeping <em>devuan-security</em> in mind, that <strong>it might be good to &quot;not wait&quot; for next .ISO release before updating packages</strong>.<br />Also, I suggest that it would &quot;not be sane&quot; to burn up bandwidth by performing <em>apt upgrade</em> upon each boot.</p><p>That leads me to believe that several of you must already have a routine for:<strong> upgrading the DEVUAN desktop-live .ISO</strong></p><p>So let us say that the upgrade will be done from &quot;inside&quot; the booted .ISO and that we expect the high-level steps to include:</p><ul><li><p>Burn to DVD the latest DEVUAN desktop-live .ISO file. (or write it to USB) <a href="https://www.devuan.org/get-devuan" rel="nofollow">https://www.devuan.org/get-devuan</a></p></li><li><p>Boot computer (or virtual-machine) from this new DEVUAN desktop-live media.</p></li><li><p>If not already connected, insert some storage-media with enough free space for a copy of the new filesystem and an .ISO file.</p></li><li><p>Connect to network (INTERNET)</p></li><li><p>To update the operating-system, open Terminal Emulator and run: </p><div class="codebox"><pre><code>sudo apt -y update &amp;&amp; sudo apt -y upgrade</code></pre></div></li><li><p>Optionally pause here to make more changes: add/remove packages; update settings to personal-preferences, e.g. browser-configuration; add files; etc.</p></li><li><p>Then to create an .ISO of this <em>improved</em> state of the operating-system, open Terminal Emulator and run: </p><div class="codebox"><pre><code>sudo refractasnapshot</code></pre></div></li><li><p>Burn to DVD the freshly-upgraded DEVUAN desktop-live .ISO file. (or write it to USB)</p></li></ul><p>(I&#039;ve spent a bit of time trying the above, and have learned that it is not quite as simple as stated, e.g. issues with updating kernel and initramfs; minor-changes required in /etc/refractsnapshot.conf; ...???...)</p><p>So I ask those in-the-know, if you could please share the complete steps.&#160; Or bring forward any helpful hints.&#160; Thanking you in advance.</p><p>Separately, if there is any how-to info out there on doing automated builds of the desktop-live .ISO, please share those links here as well.</p>]]></description>
			<author><![CDATA[dummy@example.com (idle)]]></author>
			<pubDate>Sat, 09 May 2026 02:52:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=63689#p63689</guid>
		</item>
	</channel>
</rss>
