You are not logged in.

#1 2020-02-26 14:11:08

metafizik
Member
Registered: 2020-02-26
Posts: 3

Problem installing virtualbox guest additions

Long time linux user but first go around with archlinux. I'm very impressed by the speed of archlinux and everything has installed/worked great so far except installing the vbox guest additions.  Once I get everything like I want it I can see installing this on one of laptops.
As far as I know I have installed all of the prereqs but I still can't get the kernel modules built with the vbox additions.  I have installed gcc, linux-headers, make, dkms, autoconf, automake and several other dev tools.  Below is the first error in var/log/vboxadd-setup.log.

Building the main Guest Additions 6.0.12 module for kernel 5.5.5-arch1-1.
Error building the module.  Build output follows.
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/5.5.5-arch1-1/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 modules
make[1]: warning: -j2 forced in submake: resetting jobserver mode.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (        \
echo >&2;                            \
ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing.Run 'make oldconfig && make prepare' on kernel src to fix it.";    \
echo >&2 ;                            \
/bin/false)

I would upload that log and the list of installed packages but I am not see that option. Regardless does anyone have a suggestion as to what I should do next?

regards, ~metafizik

Offline

#2 2020-02-26 14:25:21

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Problem installing virtualbox guest additions

Why are you building modules instead of just using the precompiled package?
https://www.archlinux.org/packages/comm … ules-arch/

And why such the old version of VirtualBox? The Arch repos are currently on 6.1.4.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2020-02-26 14:45:54

metafizik
Member
Registered: 2020-02-26
Posts: 3

Re: Problem installing virtualbox guest additions

Actually I did install those but they didn't seem to provide the functionality the additions typically provide. Ahh...My vbox host is 6.1.2.  Those additions are old. I will download a more recent version of the extensions and try again. If that doesn't work I will update both to 6.1.4. 

Thank you.

Offline

#4 2020-02-27 01:57:10

metafizik
Member
Registered: 2020-02-26
Posts: 3

Re: Problem installing virtualbox guest additions

I updated the virtualbox version of the host to 6.1.4 and installed the 6.1.4 guest additions. They installed without error. However after rebooting I got the error below.

[root@arch-linux-lab0 ~]# journalctl -xe |grep register
Feb 27 01:40:20 arch-linux-lab0.inflict.us dbus-daemon[520]: [session uid=1000 pid=520] Activating service name='org.freedesktop.Notifications' requested by ':1.2' (uid=1000 pid=558 comm="notify-send VBoxClient: Failed to register resizin")

I'm not sure why resizing won't work. I have 3 other Linux guests as well as Solaris, BSD and windows and I am able to resize and go full screen on all of them. I'll play around with VBoxClient a bit and if that doesn't work I may start over now and apply some lessons I have learned on this first try with archlinux.

Offline

#5 2020-02-28 01:01:43

WFV
Member
From: ☭USSA⛧⭒⭒⭒⭒
Registered: 2013-04-23
Posts: 290

Re: Problem installing virtualbox guest additions

You are installing the VBox host packages in the host, and the guest* package(s) in the guest, yes?
I have these (Arch host, with Arch guest) and have no problem with screen resize (although recent updates seem to have broken bidirectional clipboard, unrelated):

HOST:
community/libvirt 5.10.0-2 [installed]
community/virtualbox 6.1.4-2 [installed]
community/virtualbox-ext-vnc 6.1.4-2 [installed]
community/virtualbox-guest-iso 6.1.4-1 [installed]
community/virtualbox-host-modules-arch 6.1.4-3 [installed]
AUR/virtualbox-ext-oracle 6.1.4-1 [installed]
GUEST:
community/virtualbox-guest-modules-arch 6.1.4-3 [installed]
community/virtualbox-guest-utils 6.1.4-2 [installed]

*the guest-iso package installed in the host is for other guests (Windows, etc, etc), not Arch guest.

Last edited by WFV (2020-02-29 23:30:51)


∞ hard times make the strong, the strong make good times, good times make the weak, the weak make hard times ∞

Offline

Board footer

Powered by FluxBB