<div dir="auto">Cool, I didn’t know you could do this! Which reminds me, sometimes I wonder if we really need the sources and changes files outside the image, it’s just 8MB… perhaps it would be nicer for images to be self-contained (although the changes file still makes sense for recovery in case the image breaks).</div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, Mar 9, 2025 at 01:26 Gerald Klix via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hi all,<br>
<br>
I stead of complaining again, about Cuis7.2.image being executable<br>
(it has the executable bit that on Unix), I decided to make the best<br>
oi it.<br>
<br>
Just execute this snipped of code as root and the kernel magically<br>
starts your OSVM (at least for 64bit images):<br>
<br>
echo ':osvm68021:M::\xB5\x09\x01\x00::<path to squeak>:C' > <br>
/proc/sys/fs/binfmt_misc/register<br>
<br>
Of course <path to squeak> needs to be replaced with the absolute<br>
filename of your real VM.<br>
<br>
<br>
Using the old fashioned Devuan distribution I placed<br>
I script at<br>
<br>
/etc/boot.d/register_osvm<br>
<br>
The whole script looks like this:<br>
<br>
#!/bin/sh<br>
echo <br>
':osvm68021:M::\xB5\x09\x01\x00::/home/bear/HaverWorks/VM/Linux/squeak:C' <br>
 > /proc/sys/fs/binfmt_misc/register<br>
<br>
All scripts under /etc/boot.d/ are executed by rc.local<br>
with this distribution.<br>
<br>
<br>
<br>
HTH,<br>
<br>
Gerald<br>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>