<?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=4203&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Issues installing VirtualBox on Refracta]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4203</link>
		<description><![CDATA[The most recent posts in Issues installing VirtualBox on Refracta.]]></description>
		<lastBuildDate>Wed, 24 Mar 2021 15:13:36 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28464#p28464</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>I don&#039;t have any ideas for the usb. Yes I do. Not a fix; just a workaround. Someone I know used shared folders with a usb mounted on the host system.</p></div></blockquote></div><p>Good idea. That might help some people. Unfortunately, that won&#039;t work for a printer or scanner.</p><p>Since version 5.2 worked just fine on Devuan ASCII, I figured I would go back to using that version even though it&#039;s no longer supported. Imagine my surprise when I encountered the same error messages when I tried to install version 5.2 on Beowulf-based Refracta.</p><p>This was my final attempt to get VirtualBox working:</p><div class="codebox"><pre><code>$ wget https://download.virtualbox.org/virtualbox/6.1.18/VirtualBox-6.1.18-142142-Linux_amd64.run
$ wget https://www.virtualbox.org/download/hashes/6.1.18/SHA256SUMS
$ sha256sum VirtualBox-6.1.18-142142-Linux_amd64.run
[Then check to make sure that the sha256sum value is correct.]

$ su
[Enter root password.]

# chmod u+x VirtualBox-6.1.18-142142-Linux_amd64.run
# ./VirtualBox-6.1.18-142142-Linux_amd64.run install</code></pre></div><p>I was quite surprised when those same error messages appeared again.</p><p>This is what I did to try to repair (complete) the installation:</p><div class="codebox"><pre><code># update-rc.d vboxdrv defaults
# rcvboxdrv setup</code></pre></div><p>I then tested USB passthrough to see if it was working, and it was not. At this point I almost gave up. In fact, I did a minimal installation of QEMU and started researching the different utilities and GUI tools that are available for QEMU.</p><p>I then had a hunch that I should try rebooting the system. I didn&#039;t think it would help, but I went ahead and did it anyway. That worked -- USB passthrough is now working.</p>]]></description>
			<author><![CDATA[dummy@example.com (pcalvert)]]></author>
			<pubDate>Wed, 24 Mar 2021 15:13:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28464#p28464</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28459#p28459</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>People use virtualbox because it&#039;s easy to figure out how to do things with it.</p><p>So how does one attach a usb drive in qemu? I saw two ways to do it and one way not to do it in the man page, but not really an explanation of how to do it. Anyone have a quick answer so I don&#039;t have to spend the time experimenting?</p></div></blockquote></div><p>What head on a stick said. Ive only just started playing around with qemu, i installed a windows installation with qemu to update a garmin navman to the latest maps as garmin doesnt seem to care for linux and opensource. The only hard part was parting with 6GB of bandwidth downloading the win10 IS0. I followed head on a sticks tutorial and some notes from here: <a href="http://dev1galaxy.org/viewtopic.php?pid=26102#p26102" rel="nofollow">http://dev1galaxy.org/viewtopic.php?pid=26102#p26102</a></p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>I use this to launch a QEMU/KVM virtual machine along with virt-viewer and a shared directory (with the path to the disk image as the argument):</p><div class="codebox"><pre><code>function vlaunch {
   qemu-system-x86_64 -enable-kvm \
                      -m 4G \
                      -cpu host \
                      -smp cores=4 \
                      -drive file=&quot;$1&quot;,format=raw,cache=none,if=virtio \
                      -soundhw hda \
                      -vga qxl \
                      -device virtio-serial-pci \
                      -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \
                      -chardev spicevmc,id=spicechannel0,name=vdagent \
                      -spice unix,addr=/tmp/vm_spice.socket,disable-ticketing \
                      -device nec-usb-xhci,id=usb \
                      -chardev spicevmc,name=usbredir,id=usbredirchardev1 \
                      -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 \
                      -chardev spicevmc,name=usbredir,id=usbredirchardev2 \
                      -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 \
                      -fsdev local,id=qemu_dev,path=/home/empty/Public,security_model=none \
                      -device virtio-9p-pci,fsdev=qemu_dev,mount_tag=qemu_mount &amp;
   remote-viewer &quot;spice+unix:///tmp/vm_spice.socket&quot;
}</code></pre></div><p>See <a href="http://forums.debian.net/viewtopic.php?f=16&amp;t=144775" rel="nofollow">http://forums.debian.net/viewtopic.php?f=16&amp;t=144775</a> for more on this.</p><p>But that&#039;s in $ENV (<span class="bbc">~/.kshrc</span>) because I use Korn Shell rather than bloaty old bash :-)</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Wed, 24 Mar 2021 13:25:47 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28459#p28459</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28452#p28452</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>People use virtualbox because it&#039;s easy to figure out how to do things with it.</p></div></blockquote></div><p>Have you tried <a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=gnome-boxes" rel="nofollow">gnome-boxes</a>? It&#039;s easier to use than VirtualBox, and <a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=virt-manager" rel="nofollow">virt-manager</a> isn&#039;t particularly difficult to use either.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>how does one attach a usb drive in qemu?</p></div></blockquote></div><p>See <a href="https://www.spice-space.org/usbredir.html" rel="nofollow">https://www.spice-space.org/usbredir.html</a> ← that shows how to configure pass-through for the USB ports themselves. It works for any attached USB devices, including hard drives; gnome-boxes configures it automagically.</p><p>EDIT: <a href="http://forums.debian.net/viewtopic.php?f=16&amp;t=144775" rel="nofollow">my fdn guide</a> shows a complete configuration from the command line, including shared folders and USB pass-through.</p></div></blockquote></div><p>Virt-manager and gnome-boxes are both also good. </p><p>Virt-manager is the easier of the two.</p><p>But I think, redhat develops virt-manager, which makes me wary of them now.</p><p>I used to like it, but I don&#039;t need it now that I know a bit more how to use qemu.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Tue, 23 Mar 2021 23:13:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28452#p28452</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28451#p28451</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>People use virtualbox because it&#039;s easy to figure out how to do things with it.</p><p>So how does one attach a usb drive in qemu? I saw two ways to do it and one way not to do it in the man page, but not really an explanation of how to do it. Anyone have a quick answer so I don&#039;t have to spend the time experimenting?</p></div></blockquote></div><p>Ah, you want to know how to use a usb drive in qemu? </p><p>I can tell you:</p><p>qemu-system-x86_64 ~/your.img -cpu kvm64,+nx&#160; -enable-kvm&#160; -hdb /dev/sdb -m 3072 -soundhw ac97</p><p>However, for some virtual machines, you need to do one other thing...</p><p>Switch on show tabs on your VM,&#160; and go to compat_monitor0</p><p>Then type in device_add usb-host or usb-storage...</p><p>That&#039;s always worked when I used to use winxp vms.</p><p>Obviously I keep those detached from the internet. <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Quick note though,&#160; I don&#039;t remember whether its usb-host or usb-storage after device_add</p><p>my two cents. Hope this helps.</p><p>The extra step however isn&#039;t needed for Devuan images from what I remember. Same with Hyperbola, etc...</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Tue, 23 Mar 2021 23:09:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28451#p28451</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28443#p28443</link>
			<description><![CDATA[<div class="quotebox"><cite>pcalvert wrote:</cite><blockquote><div><p>I ran into some problems when installing VirtualBox 6.1.18 on Beowulf-based Refracta.</p><p>Here&#039;s the relevant info:</p><div class="codebox"><pre><code>$ cat /etc/apt/sources.list.d/virtualbox.list
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian buster contrib</code></pre></div><div class="codebox"><pre><code># aptitude install virtualbox-6.1 -r
The following NEW packages will be installed:
  libqt5opengl5{a} libqt5printsupport5{a} libsdl-ttf2.0-0{a} virtualbox-6.1 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/88.7 MB of archives. After unpacking 215 MB will be used.
Do you want to continue? [Y/n/?] y
Preconfiguring packages ...              
...
...snip...
...</code></pre></div></div></blockquote></div><p>Well, I have used a different way to install VBox on my stock Beowulf installations (with backports kernels). Loaded the Debian10 package down to /tmp, installed it with <span class="bbc">dpkg -i</span> followed by a <span class="bbc">apt -f install</span> to correct all dependencies. No trace of any dbus errors. My latest learning: maybe an <span class="bbc">apt install ./package.deb</span> takes care for the dependencies too.</p><p>In addition, I added the vboxdrv, vboxnetadp and vboxnetflt to the /etc/modules file.&#160; </p><div class="quotebox"><cite>pcalvert wrote:</cite><blockquote><div><p>I believe that this may be a solution (or partial solution):</p><div class="codebox"><pre><code># update-rc.d vboxdrv defaults</code></pre></div><p><span class="bbu">Reference:</span><br />Instalando VirtualBox 6.0 en Devuan Beowulf<br /><a href="https://www.linuxito.com/cloud/1269-instalando-virtualbox-6-0-en-devuan-beowulf" rel="nofollow">https://www.linuxito.com/cloud/1269-ins … an-beowulf</a></p><p>VirtualBox runs and appears to (mostly) work. However, at least one function (USB passthrough) does not. The extension pack and guest additions have been installed, so that isn&#039;t the problem.</p></div></blockquote></div><p>I have not seen any need to fool around with update-rc.d. Maybe the modules did the job.</p><p>Besides the installation of the extension pack, the USB passthrough depends on that the user using the machine is member of the <strong>vboxusers</strong> group. Make sure you/the user are member of this group. The group is created automagically, but the user(s) needs to be added manually.</p><div class="quotebox"><cite>pcalvert wrote:</cite><blockquote><div><p>P.S.&#160; Don&#039;t tell me not to use VirtualBox. I&#039;m not ready to switch just yet.</p></div></blockquote></div><p>Full ACK from my side.</p><p>rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Tue, 23 Mar 2021 18:10:31 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28443#p28443</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28438#p28438</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>People use virtualbox because it&#039;s easy to figure out how to do things with it.</p></div></blockquote></div><p>Have you tried <a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=gnome-boxes" rel="nofollow">gnome-boxes</a>? It&#039;s easier to use than VirtualBox, and <a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=virt-manager" rel="nofollow">virt-manager</a> isn&#039;t particularly difficult to use either.</p><div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>how does one attach a usb drive in qemu?</p></div></blockquote></div><p>See <a href="https://www.spice-space.org/usbredir.html" rel="nofollow">https://www.spice-space.org/usbredir.html</a> ← that shows how to configure pass-through for the USB ports themselves. It works for any attached USB devices, including hard drives; gnome-boxes configures it automagically.</p><p>EDIT: <a href="http://forums.debian.net/viewtopic.php?f=16&amp;t=144775" rel="nofollow">my fdn guide</a> shows a complete configuration from the command line, including shared folders and USB pass-through.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 23 Mar 2021 17:03:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28438#p28438</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28436#p28436</link>
			<description><![CDATA[<p>People use virtualbox because it&#039;s easy to figure out how to do things with it.</p><p>So how does one attach a usb drive in qemu? I saw two ways to do it and one way not to do it in the man page, but not really an explanation of how to do it. Anyone have a quick answer so I don&#039;t have to spend the time experimenting?</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 23 Mar 2021 15:56:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28436#p28436</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28434#p28434</link>
			<description><![CDATA[<p>Forget virtualbox, use what is available and works within devuan, learn to use qemu.</p>]]></description>
			<author><![CDATA[dummy@example.com (dice)]]></author>
			<pubDate>Tue, 23 Mar 2021 13:23:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28434#p28434</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28385#p28385</link>
			<description><![CDATA[<p>I am a bit confused why people use virtualbox still...</p><p>Qemu works fine for most things I thought... </p><p>just my two cents.</p><p>qemu-system-x86_64 ~/YOUR.img -cpu kvm64,+nx&#160; --enable-kvm&#160; -m 2048 -soundhw ac97</p><p>I do this to make qemu work. It is the better option for many reasons...</p><p>Also, virtualbox is a security minefield I have heard.&#160; </p><p>And I wasn&#039;t talking about systemd either.</p>]]></description>
			<author><![CDATA[dummy@example.com (zapper)]]></author>
			<pubDate>Sat, 20 Mar 2021 09:35:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28385#p28385</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28377#p28377</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>I just booted a live iso in qemu and installed vbox.</p></div></blockquote></div><p><a href="https://xkcd.com/1764/" rel="nofollow">https://xkcd.com/1764/</a></p><p>(scnr)</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 19 Mar 2021 23:42:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28377#p28377</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28376#p28376</link>
			<description><![CDATA[<p>I just booted a live iso in qemu and installed vbox. I had to say those words in my head before I realized how weird it is. Anyway, I got the same error messages as you. Before I did it, I checked in sysv-rc-conf to see where dbus starts, and it starts in 2-5, not S. I checked beowulf, ascii, chimaera, jessie and wheezy. All the same. </p><p>There&#039;s no mention of dbus in /etc/init.d/vbox* or /var/lib/dpkg/info/virualbox-6.1.* so I don&#039;t know where that message is coming from.</p><p>I don&#039;t have any ideas for the usb. Yes I do. Not a fix; just a workaround. Someone I know used shared folders with a usb mounted on the host system.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 19 Mar 2021 23:38:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28376#p28376</guid>
		</item>
		<item>
			<title><![CDATA[Issues installing VirtualBox on Refracta]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28368#p28368</link>
			<description><![CDATA[<p>I ran into some problems when installing VirtualBox 6.1.18 on Beowulf-based Refracta.</p><p>Here&#039;s the relevant info:</p><div class="codebox"><pre><code>$ cat /etc/apt/sources.list.d/virtualbox.list
deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian buster contrib</code></pre></div><div class="codebox"><pre class="vscroll"><code># aptitude install virtualbox-6.1 -r
The following NEW packages will be installed:
  libqt5opengl5{a} libqt5printsupport5{a} libsdl-ttf2.0-0{a} virtualbox-6.1 
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/88.7 MB of archives. After unpacking 215 MB will be used.
Do you want to continue? [Y/n/?] y
Preconfiguring packages ...              
Selecting previously unselected package libqt5opengl5:amd64.
(Reading database ... 158142 files and directories currently installed.)
Preparing to unpack .../libqt5opengl5_5.11.3+dfsg1-1+deb10u4_amd64.deb ...
Unpacking libqt5opengl5:amd64 (5.11.3+dfsg1-1+deb10u4) ...
Selecting previously unselected package libqt5printsupport5:amd64.
Preparing to unpack .../libqt5printsupport5_5.11.3+dfsg1-1+deb10u4_amd64.deb ...
Unpacking libqt5printsupport5:amd64 (5.11.3+dfsg1-1+deb10u4) ...
Preparing to unpack .../virtualbox-6.1_6.1.18-142142~Debian~buster_amd64.deb ...
Unpacking virtualbox-6.1 (6.1.18-142142~Debian~buster) ...
Selecting previously unselected package libsdl-ttf2.0-0:amd64.
Preparing to unpack .../libsdl-ttf2.0-0_2.0.11-6_amd64.deb ...
Unpacking libsdl-ttf2.0-0:amd64 (2.0.11-6) ...
Setting up libqt5printsupport5:amd64 (5.11.3+dfsg1-1+deb10u4) ...
Setting up libqt5opengl5:amd64 (5.11.3+dfsg1-1+deb10u4) ...
Setting up libsdl-ttf2.0-0:amd64 (2.0.11-6) ...
Setting up virtualbox-6.1 (6.1.18-142142~Debian~buster) ...
addgroup: The group `vboxusers&#039; already exists as a system group. Exiting.
insserv: FATAL: service dbus is missed in the runlevels S to use service bluetooth
insserv: exiting now!
insserv: FATAL: service vboxdrv has to be enabled to use service vboxballoonctrl-service
insserv: FATAL: service dbus is missed in the runlevels S to use service bluetooth
insserv: exiting now!
insserv: FATAL: service vboxdrv has to be enabled to use service vboxautostart-service
insserv: FATAL: service dbus is missed in the runlevels S to use service bluetooth
insserv: exiting now!
insserv: FATAL: service vboxdrv has to be enabled to use service vboxweb-service
insserv: FATAL: service dbus is missed in the runlevels S to use service bluetooth
insserv: exiting now!
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for shared-mime-info (1.10-1) ...
Processing triggers for desktop-file-utils (0.23-4) ...</code></pre></div><p>I believe that this may be a solution (or partial solution):</p><div class="codebox"><pre><code># update-rc.d vboxdrv defaults</code></pre></div><p><span class="bbu">Reference:</span><br />Instalando VirtualBox 6.0 en Devuan Beowulf<br /><a href="https://www.linuxito.com/cloud/1269-instalando-virtualbox-6-0-en-devuan-beowulf" rel="nofollow">https://www.linuxito.com/cloud/1269-ins … an-beowulf</a></p><p>VirtualBox runs and appears to (mostly) work. However, at least one function (USB passthrough) does not. The extension pack and guest additions have been installed, so that isn&#039;t the problem.</p><p>Anyone have any ideas? And what about those error messages regarding dbus?</p><p>P.S.&#160; Don&#039;t tell me not to use VirtualBox. I&#039;m not ready to switch just yet.</p>]]></description>
			<author><![CDATA[dummy@example.com (pcalvert)]]></author>
			<pubDate>Fri, 19 Mar 2021 21:00:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28368#p28368</guid>
		</item>
	</channel>
</rss>
