<?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=5953&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5953</link>
		<description><![CDATA[The most recent posts in [SOLVED] How To install a virtual machine inside devuan chimaera, later stable.]]></description>
		<lastBuildDate>Sun, 03 Nov 2024 11:23:02 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52837#p52837</link>
			<description><![CDATA[<p>You have 3 options.</p><p><strong>1. For qemu/KVM do</strong></p><div class="codebox"><pre><code>apt-get install --install-recommends aqemu qemu-kvm qemu-system qemu-utils libvirt-daemon-system libvirt-clients bridge-utils virt-manager libguestfs-tools libosinfo-bin</code></pre></div><p>Additionally for home use you can</p><div class="codebox"><pre><code>nano /etc/libvirt/qemu.conf</code></pre></div><p>add</p><div class="codebox"><pre><code>user = &quot;type_your_username_here&quot;
group = &quot;kvm&quot;</code></pre></div><div class="codebox"><pre><code>sudo adduser `id -un` libvirt-qemu
sudo adduser `id -un` kvm
sudo adduser `id -un` libvirt-dnsmasq
sudo addgroup libvirtd
sudo adduser `id -un` libvirtd</code></pre></div><div class="codebox"><pre><code>/etc/libvirt/libvirt.conf</code></pre></div><p>paste</p><div class="codebox"><pre><code>#unix_sock_group = &quot;libvirt&quot;
#unix_sock_ro_perms = &quot;0777&quot;
#unix_sock_rw_perms = &quot;0770&quot;</code></pre></div><p>If no sudo, use doas.</p><p>Then you have to define default network, something like (I&#039;m not sure here)</p><div class="codebox"><pre><code>virsh define default
virsh net-autostart default</code></pre></div><p>Do not forget to add <strong>/etc/init.d/libvirtd</strong> service to autostart in your init system.</p><p>Finally you&#039;ll get usable qemu/KVM solution. But this is probably the worst solution.<br />Reasons:<br />too many components<br />bad shared folders for windows guest (try to run complex software even from virtiofs, good lack)<br />bridge on wifi? good lack<br />it looks for file in /var/log/libvirt, so if you are mounting /var on tmpfs take care<br />HiDPI display and Linux guest? Good lack. I&#039;ve to use qxl only, manually increase video ram and then manually add new xorg resolution in the guest. I still don´t know how to do it with wayland.</p><p>Better solutions are virtualbox (but extensions are proprietary and Oracle is well known. Or. just use guest tools with limited functionality) or vmware workstation (also proprietary, but not as much scary).</p><p><strong>2. For virtualbox do</strong></p><div class="codebox"><pre><code>apt-get install module-assistant
m-a prepare</code></pre></div><p>then you can use mx-linux repository. Their virtualbox is 100% compatible with devuan.</p><p>For daedalus do</p><div class="codebox"><pre><code>nano /etc/apt/sources.list.d/mxlinux.list</code></pre></div><div class="codebox"><pre><code> deb https://mxrepo.com/mx/repo/ bookworm main non-free </code></pre></div><p>change bookworm to the previous version for chimaera (bullseye?)</p><p>then </p><div class="codebox"><pre><code>nano /etc/apt/preferences.d/mxlinux</code></pre></div><p>with the following context</p><div class="codebox"><pre><code>Package: *
Pin: release a=mx
Pin-Priority: 100</code></pre></div><p>go to</p><p><a href="http://mxrepo.com/mx/repo/pool/main/m" rel="nofollow">http://mxrepo.com/mx/repo/pool/main/m</a><br />get the keyring (mx21 is based on bullseye: wget <a href="https://mxrepo.com/mx/repo/pool/main/m/mx21-archive-keyring/mx21-archive-keyring_2021.2.19_all.deb)" rel="nofollow">https://mxrepo.com/mx/repo/pool/main/m/ … 9_all.deb)</a></p><div class="codebox"><pre><code>apt-get install ./mx21-archive-keyring_2021.2.19_all.deb</code></pre></div><div class="codebox"><pre><code>apt-get update</code></pre></div><p>Now you can install packages from mx-linux with lower priority only those that are not in devuan&#039;s repo, i.e. virtualbox.</p><p>3. Vmware Workstation is free for personal use now (from v. 17.5.2). Get the latest version and install it. It supports everything. </p><p>Then you can add this line</p><div class="codebox"><pre><code>vmware-usbarbitrator</code></pre></div><p>in /etc/rc.local</p><p>to have no problem with usb support.</p><p>If you&#039;ve got this error </p><div class="codebox"><pre><code>Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon&#039; is loaded.</code></pre></div><p>then do</p><div class="codebox"><pre><code>vmware-modconfig --console --install-all</code></pre></div><p>When completely new linux kernel version is here, you have to recompile vmware kernel modules</p><p>they can be found here <a href="https://github.com/mkubecek/vmware-host-modules" rel="nofollow">https://github.com/mkubecek/vmware-host-modules</a></p><p>But I still have &quot;no 3d support available from the host&quot; error. I don&#039;t know how to force vmware to use 3d which is enabled on the host.</p>]]></description>
			<author><![CDATA[dummy@example.com (Devarch)]]></author>
			<pubDate>Sun, 03 Nov 2024 11:23:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52837#p52837</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52812#p52812</link>
			<description><![CDATA[<p>here you go;</p><p>qemu-img create -f qcow2 Unknown.qcow2 60G<br />qemu-system-x86_64 -m 3072 -cdrom Unknown.iso -boot d Unknown.qcow2 --enable-kvm<br />qemu-system-x86_64 --enable-kvm Unknown.qcow2 -cpu kvm64,+nx -m 4096 -device AC97</p><p>The below is for loading usbs in said vm:</p><p>qemu-system-x86_64 --enable-kvm Unknown.qcow2 -cpu kvm64,+nx -m 4096 -device AC97 -hdb /dev/sdb</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Thu, 31 Oct 2024 19:40:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52812#p52812</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52808#p52808</link>
			<description><![CDATA[<p>I have the VM now running with oracle VM. took some time</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Thu, 31 Oct 2024 10:34:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52808#p52808</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44175#p44175</link>
			<description><![CDATA[<p>You can directly download VBox from this web page: <a href="https://www.virtualbox.org/wiki/Linux_Downloads" rel="nofollow">https://www.virtualbox.org/wiki/Linux_Downloads</a></p><p>For Chimaera use the Debian11 file, for Daedalus the Debian12 file. Copy this file to /tmp and install it as root with <span class="bbc">dpkg -i </span>. You may also download the extension pack if you require e.g. improved USB support.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Fri, 08 Sep 2023 19:25:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44175#p44175</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44174#p44174</link>
			<description><![CDATA[<p>Also you can run existing windows installation in virtual machine it is not recommended. </p><p>Normally, you do not need extension pack which is proprietary. In most cases guest-tools are OK.</p><p>I found yet another way to install virtualbox:</p><div class="codebox"><pre><code>wget https://mxrepo.com/mx/repo/pool/main/m/mx23-archive-keyring/mx23-archive-keyring_2023.6.6_all.deb
apt-get install ./mx23-archive-keyring_2023.6.6_all.deb

nano /etc/apt/sources.list.d/mxlinux.list
deb http://mxrepo.com/mx/repo bookworm main non-free
deb http://mxrepo.com/mx/repo bookworm ahs

nano /etc/apt/preferences.d/mxlinux
Package: *
Pin: release a=mx
Pin-Priority: 100

apt-get update
apt-get install virtualbox virtualbox-guest-additions-iso

addgroup vboxsf
adduser your_user_name vboxsf
modprobe vboxdrv

nano /etc/modules   //add this line:
vboxdrv</code></pre></div><p>Now you have fully functional virtualbox. It&#039;s for daedalus. For chimaera you can use</p><div class="codebox"><pre><code>https://mxrepo.com/mx/repo/pool/main/m/mx21-archive-keyring/mx21-archive-keyring_2021.2.19_all.deb</code></pre></div><p>and replace bookworm with bullseye</p><p>As a bonus mx repo contains a lot of useful software such as palemoon, tlpui, foliate etc.</p>]]></description>
			<author><![CDATA[dummy@example.com (Devarch)]]></author>
			<pubDate>Fri, 08 Sep 2023 18:56:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44174#p44174</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44163#p44163</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>These instructions will work with devuan repos. Don&#039;t use any debian.org repos.</p><p><a href="https://wiki.debian.org/QEMU" rel="nofollow">https://wiki.debian.org/QEMU</a><br /><a href="https://wiki.debian.org/VirtualBox" rel="nofollow">https://wiki.debian.org/VirtualBox</a></p></div></blockquote></div><p>VirtualBox remains to ask for the non-free Oracle thing from the other website.<br /><a href="https://linuxize.com/post/how-to-install-virtualbox-on-debian-10/#installing-virtualbox-on-debian" rel="nofollow">https://linuxize.com/post/how-to-instal … -on-debian</a><br />It remains qemu. </p><p>I installed xen-system-amd64 , but system became unbootable with dead displays. Deleted xen again.<br />Then I had to reinstall grub-efi-amd-64, which was deleted from the xen-install.<br />I keep on trying.</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Fri, 08 Sep 2023 12:54:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44163#p44163</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44042#p44042</link>
			<description><![CDATA[<p>These instructions will work with devuan repos. Don&#039;t use any debian.org repos.</p><p><a href="https://wiki.debian.org/QEMU" rel="nofollow">https://wiki.debian.org/QEMU</a><br /><a href="https://wiki.debian.org/VirtualBox" rel="nofollow">https://wiki.debian.org/VirtualBox</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 03 Sep 2023 17:00:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44042#p44042</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44041#p44041</link>
			<description><![CDATA[<p>Virtualbox and its packages do not depend on systemd, so the original Debian files are passed through to ../merged into Devuan (like so many others). </p><p>If you don&#039;t like this there are two other ways to install VBox. </p><p>My preferred method is to load the deb from the Virtualbox website, copy it to /tmp and to install this via <span class="bbc">dpkg -i</span>.</p><p>The other way is described on the Virtualbox website: you add a line into the sources.list and do an install with apt/apt-get/aptitude.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sun, 03 Sep 2023 16:37:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44041#p44041</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] How To install a virtual machine inside devuan chimaera, later stable]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44039#p44039</link>
			<description><![CDATA[<p>I need to speed up changes without breaking production platform(s).<br />Therefore I need to have a virtual machine for three purposes inside devuan chimaera</p><ul><li><p>Run the already installed Win10 of this host for the purpose of updating my Navi from G????n. About every 4 weeks without necessarily restarting the computer.</p></li></ul><ul><li><p>copy the local distro installation and test the update&#160; / upgrade / dist-upgrade e.g. to daedalus for this machine</p></li></ul><ul><li><p>test a fresh install of daedalus for this machine</p></li></ul><p>eventually upgrade to daedalus and stable and </p><ul><li><p>continue to have an experimental playground for testing things.</p></li></ul><p>A net search is dominated by results on running *n?x inside a win$ows environment OMFG and other commercial solutions. </p><p>this workstation failed badly on updating to daedalus. dpkg locked in on the non-free nvidia driver. It broke the distro upgrade and it needed a fresh install. <br />This took days. The Reinstall is described elsewhere here. <br />Therefore I am careful || wary || overcautious || paranoid , when tinkering on production systems. Select as appropriate.</p><p>I started now with installing various packages</p><div class="codebox"><pre class="vscroll"><code>dpkg -l | grep -E &quot;xen|virt|kvm&quot;
ii  gir1.2-libvirt-glib-1.0:amd64           3.0.0-1                            amd64        GObject introspection files for the libvirt-glib library
ii  grub-xen                                2.06-3~deb11u5                     amd64        GRand Unified Bootloader, version 2 (Xen version)
ii  grub-xen-bin                            2.06-3~deb11u5                     amd64        GRand Unified Bootloader, version 2 (Xen modules)
ii  grub-xen-host                           2.06-3~deb11u5                     amd64        GRand Unified Bootloader, version 2 (Xen host version)
ii  gvfs:amd64                              1.46.2-1                           amd64        userspace virtual filesystem - GIO module
ii  gvfs-backends                           1.46.2-1                           amd64        userspace virtual filesystem - backends
ii  gvfs-common                             1.46.2-1                           all          userspace virtual filesystem - common data files
ii  gvfs-daemons                            1.46.2-1                           amd64        userspace virtual filesystem - servers
ii  gvfs-libs:amd64                         1.46.2-1                           amd64        userspace virtual filesystem - private libraries
ii  libvirt-clients                         7.0.0-3+devuan3                    amd64        Programs for the libvirt library
ii  libvirt-daemon                          7.0.0-3+devuan3                    amd64        Virtualization daemon
ii  libvirt-daemon-config-network           7.0.0-3+devuan3                    all          Libvirt daemon configuration files (default network)
ii  libvirt-daemon-config-nwfilter          7.0.0-3+devuan3                    all          Libvirt daemon configuration files (default network filters)
ii  libvirt-daemon-driver-qemu              7.0.0-3+devuan3                    amd64        Virtualization daemon QEMU connection driver
ii  libvirt-daemon-driver-xen               7.0.0-3+devuan3                    amd64        Virtualization daemon Xen connection driver
ii  libvirt-daemon-system                   7.0.0-3+devuan3                    amd64        Libvirt daemon configuration files
ii  libvirt-daemon-system-sysv              7.0.0-3+devuan3                    all          Libvirt daemon configuration files (sysv)
ii  libvirt-glib-1.0-0:amd64                3.0.0-1                            amd64        libvirt GLib and GObject mapping library
ii  libvirt0:amd64                          7.0.0-3+devuan3                    amd64        library for interfacing with different virtualization systems
ii  libxencall1:amd64                       4.14.5+94-ge49571868d-1            amd64        Xen runtime library - libxencall
ii  libxendevicemodel1:amd64                4.14.5+94-ge49571868d-1            amd64        Xen runtime libraries - libxendevicemodel
ii  libxenevtchn1:amd64                     4.14.5+94-ge49571868d-1            amd64        Xen runtime libraries - libxenevtchn
ii  libxenforeignmemory1:amd64              4.14.5+94-ge49571868d-1            amd64        Xen runtime libraries - libxenforeignmemory
ii  libxengnttab1:amd64                     4.14.5+94-ge49571868d-1            amd64        Xen runtime libraries - libxengnttab
ii  libxenhypfs1:amd64                      4.14.5+94-ge49571868d-1            amd64        Xen runtime library - libxenhypfs
ii  libxenmisc4.14:amd64                    4.14.5+94-ge49571868d-1            amd64        Xen runtime libraries - miscellaneous, versioned ABI
ii  libxenstore3.0:amd64                    4.14.5+94-ge49571868d-1            amd64        Xen runtime libraries - libxenstore
ii  libxentoolcore1:amd64                   4.14.5+94-ge49571868d-1            amd64        Xen runtime libraries - libxentoolcore
ii  libxentoollog1:amd64                    4.14.5+94-ge49571868d-1            amd64        Xen runtime libraries - libxentoollog
ii  python3-libvirt                         7.0.0-2                            amd64        libvirt Python 3 bindings
ii  qemu-efi-aarch64                        2020.11-2+deb11u1                  all          UEFI firmware for 64-bit ARM virtual machines
ii  virt-manager                            1:3.2.0-3                          all          desktop application for managing virtual machines
ii  virtinst                                1:3.2.0-3                          all          utilities to create and edit virtual machines
ii  virtualbox-7.0                          7.0.10-158379~Debian~bullseye      amd64        Oracle VM VirtualBox
ii  xen-doc                                 4.14.5+94-ge49571868d-1            amd64        XEN documentation
ii  xen-hypervisor-4.14-amd64               4.14.5+94-ge49571868d-1            amd64        Xen Hypervisor on AMD64
ii  xen-hypervisor-common                   4.14.5+94-ge49571868d-1            all          Xen Hypervisor - common files
ii  xen-system-amd64                        4.14.5+94-ge49571868d-1            amd64        Xen System on AMD64 (metapackage)
ii  xen-tools                               4.9-1                              all          Tools to manage Xen virtual servers
ii  xen-utils-4.14                          4.14.5+94-ge49571868d-1            amd64        XEN administrative tools
ii  xen-utils-common                        4.14.5+94-ge49571868d-1            amd64        Xen administrative tools - common files
ii  xenstore-utils                          4.14.5+94-ge49571868d-1            amd64        Xenstore command line utilities for Xen</code></pre></div><p>What I did not like that one of the WWWsites&#160; wants me to install from oracle </p><div class="codebox"><pre><code>ii  virtualbox-7.0                          7.0.10-158379~Debian~bullseye      amd64        Oracle VM VirtualBox</code></pre></div><p>Can it be done with the devuan packages only ? <br />It should be done with the devuan packages only.</p><p>a: </p><ul><li><p>A metapackage would be appreciated which does the right thing.</p></li></ul><p>b: </p><ul><li><p>A How To for devuan should result from this thread.</p></li></ul>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Sun, 03 Sep 2023 15:19:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44039#p44039</guid>
		</item>
	</channel>
</rss>
