Hi,
I installed all three versions that comes desktop environment. While many features from Virtualbox guest add-on works, such as sharing of clipboard, and changing of screen resolution, I can’t get Shared Folder to auto mount. Any advice?
I tried re-installed from Virtualbox iso. It does not work. I lack the skills to debug the issue.
Thanks in advance.
I almost didn't understand what it was about from your explanation ... so I'll just give a link to the wiki https://wiki.archlinux.org/index.php/VirtualBox and comment that the shared folder works (I use it).
I am sorry for not being clear. My VirtualBox host is Windows. I likerun Artix in a vm, to access folders in Windows via Shared Folder.
I did look at the wiki. https://wiki.archlinux.org/index.php/VirtualBox. There isn't any information that can help me on Shared Folder.
I search the Wiki for the work "Shared" and landed on 5 locations. There is a SSH solution but that is not what I am looking for...
Addition info since the start of this thread:
I tried other Arch based Linus. Installation of virtaulbox-guest-utils and/or virtualbox-guest-dkms does not work. However, direct installation from the iso works. However, I can't get it to work on Artix with OpenRC.... I confirmed vboxadd and vboxadd-service is in /etc/init.d.
Not sure about VM's, not using one, perhaps there is some VM easier method you are talking about, but if you are dual booting Windows & Linux you can set up something in /etc/fstab to automatically mount whatever Windows directories you would like to access from Linux. These can be set up rw or ro as you desire. There are some oddball Windows advanced filesystem layouts or something (can't remember what they are called, but anyway the directories don't really exist unless Windows is running so you can't mount them from Linux) that might cause problems though.
I need to run this is Virtualbox as a vm. Shared folder is a very important feature.
I have tried installing virtaulbox-guest-utils and/or virtualbox-guest-dkms. Neither of these works.
If I install directly from Virtualbox iso, feactures such as sharing of clipboard, and changing of screen resolution works but not Shared Folder.
Any help is much appreciated. Thanks!
did you installed https://aur.archlinux.org/packages/virtualbox-ext-oracle/ ? if not, install it, it can help you. IN setting you must define which shared folders you want have in windows (like in my setting https://i.imgur.com/J2CoM2O.png)
To get full functionality, your user must be a member of the 'vboxusers' group.
I have made some progress, but not home yet....
I used the OpenRC version, install Virtualbox addon via the iso. This created two services, vboxadd and vboxadd-service. Both these files are in /etc/init.d/ and /etc/runlevel/default. However, when I reboot, vboxadd-service does not start. If I start it manually "/etc/init.d/vboxadd-service start", Shared Folder will appear. So my question is, how can I start this service? I already "rc-update add vboxadd-service"
Here are some information from others that may also have Shared Folder issue.
I looked at other Arch linux that uses systemd, installing "virtualbox-guest-utils" will install two services, vbocdrmclient.service and vboxservice.service. This works for the standard kernel and harden kernel. However, ""virtualbox-guest-utils" on Artix does not install any services.
Arch linux has a virtualbox-guest-modules-artix. I suppose this is needed. I did install but it did not install any services..
Thanks. I tried. It did install a few staff including virtualbox host. However, it did not install any services and my problem remians...
Got it. I suppose you mean vboxsf group.
vboxusers group is right (for usb access )
noted. I didn'r even reach this point...
Shared folders work in my boxes, without having any services installed. I only have these modules loaded:
vboxnetflt
vboxnetadp
vboxdrv
vboxvideo
vboxsf
vboxguest
You can modprobe any missing on your side an see which one does the trick, but judging by the names I'd guess it's vboxsf.
have installed virtualbox-guest-modules-artix and virtualbox-guest-utils. With this, none of the modules you mentioned are installed. I also connot find these modules in /lib/modules/5.9.14-artix1-1 folder.
May I know how do you get these modules installed in the first place?
vboxsf.ko.gz is in /usr/lib/modules/5.5.10-artix1-1/extramodules and belongs to virtualbox-guest-modules-artix-6.1.4-8-x86_64.pkg.tar.xz in my system.
i have installed
pacman -S virtualbox virtualbox-guest-iso virtualbox-host-dkms
and
from AUR
virtualbox-ext-oracle
member of groups:
http games dbus ntp network scanner power users cups nordvpn video storage lp disk optical audio wheel
lsmod:
vboxnetflt 32768 0
vboxnetadp 28672 0
vboxdrv 552960 2 vboxnetadp,vboxnetflt
and virtualbox with Windows 7 works out of box absolutely perfect
if you install same packages as i have, it must works for you too!
Thanks for the guidance. What I got is vboxsf.ko.xz in /usr/lib/modules/5.5.10-artix1-1/extramodules. Not sure what to do with it.
I do have virtualbox-guest-modules-artix 6.1.4-8 confirm via pacman -Qs.
Just install same packages as I you wrote above
Did that. Still no improvement...
lsmod | grep vbox
vboxguest 49152 3
pacman -Qs virtualbox
local/linux 5.9.14.artix1-1
The Linux kernel and modules
local/virtualbox 6.1.16-4
Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-ext-oracle 6.1.16-1
Oracle VM VirtualBox Extension Pack
local/virtualbox-guest-iso 6.1.16-1
The official VirtualBox Guest Additions ISO image
local/virtualbox-guest-modules-artix 6.1.4-8
Virtualbox guest kernel modules for Artix Kernel
local/virtualbox-guest-utils 6.1.16-4
VirtualBox Guest userspace utilities
local/virtualbox-host-dkms 6.1.16-4
VirtualBox Host kernel modules sources
pacman -Qm
virtualbox-ext-oracle 6.1.16-1
uname -r
5.9.14-artix1-1
pwd; ls *
/usr/lib/modules
5.5.10-artix1-1:
extramodules
5.9.14-artix1-1:
build modules.builtin.alias.bin modules.devname pkgbase
kernel modules.builtin.bin modules.order vmlinuz
modules.alias modules.builtin.modinfo modules.softdep
modules.alias.bin modules.dep modules.symbols
modules.builtin modules.dep.bin modules.symbols.bin
pwd; ls
/usr/lib/modules/5.5.10-artix1-1/extramodules
vboxsf.ko.xz
Well, the module is there. Why don't you modprobe it?
I manually started the services. I did a reboot and confirm these are running. Sill, Shared Folder is not working. Also, changing of screen rsoloution does not auto-adj. The good news is, shared clipboard is working.
leon-virtualbox:[leon]:~$ !lsm
lsmod | grep vbox
vboxnetflt 32768 0
vboxnetadp 28672 0
vboxdrv 528384 2 vboxnetadp,vboxnetflt
vboxguest 49152 3
leon-virtualbox:[leon]:~$
What you mean whith "not working"??
Make screenshots from your settings and put it here, please!!!
I still can't see vboxsf.
Happy New Year!
I am unable to see the Shared Folder in the file manager. If I change the size of the vb windows, Artix screen size does not change. Shared clipboard is, however, working.
Is the attached you are looking for?
(https://i.postimg.cc/MT2x3krf/Artic-Shared-Folder.png) (https://postimages.org/)what fish can i put with my betta (https://bettafishcaretaker.com/)
...ok.. so how can I get it? My eariler post shows that packages that I have installed.
i no have vboxsf installed on my system, and still shared folders works. But i have in virtualbox my windows 7 on artix. Not artix on another system as you...
see https://wiki.archlinux.org/index.php/VirtualBox/Install_Arch_Linux_as_a_guest#Enable_shared_folders
sudo -i
pacman -S virtualbox-guest-utils virtualbox-guest-modules-artix
curl --output /etc/init.d/vboxautofs https://git.alpinelinux.org/aports/plain/community/virtualbox-guest-additions/virtualbox-guest-additions.initd
chmod +x /etc/init.d/vboxautofs
rc-update add vboxautofs default
rc-service vboxautofs start
usermod -a -G vboxsf USER_NAME
exit
MfG
Nice guide for Leon, now must it works! If not, it's problem on your side, Leon ;D
Thanks! the vboxautofs script finally solve the problem.
This is great! It completely works for me