Getting VirtualBox Guest Additions to run on Xen

Discussions about using Linux guests in VirtualBox.
Post Reply
Melab
Posts: 19
Joined: 1. Jul 2009, 05:37
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows Vista Home Premium

Getting VirtualBox Guest Additions to run on Xen

Post by Melab »

Currently, I'm running Ubuntu 15.04 (Linux 3.19.0-26-generic) on Windows so I can screw around with Xen's features. I'm running VirtualBox 4.3.30 and all I really need is for the screen to resize itself whenever I maximize the virtual machine's window. Up until this morning, although I would get a pop-up box saying:
VBoxClient: the VirtualBox kernel service is not running. Exiting.
the screen would still adjust to fit the window after logging in if I booted up Xen. Now, it's not doing that anymore (the resizing bit).

Here are some parts of the file /var/log/boot.log that mention VirtualBox components:

Code: Select all

         Starting LSB: VirtualBox Linux X11 Additions...
[  OK  ] Started LSB: VirtualBox Linux X11 Additions.
…
         Starting LSB: VirtualBox Linux Additions...
[FAILED] Failed to start LSB: VirtualBox Linux Additions.
See "systemctl status virtualbox-guest-utils.service" for details.
Here is the output of "systemctl status -l virtualbox-guest-utils.service":

Code: Select all

● virtualbox-guest-utils.service - LSB: VirtualBox Linux Additions
   Loaded: loaded (/etc/init.d/virtualbox-guest-utils)
   Active: failed (Result: exit-code) since Sun 2015-08-23 15:24:37 EDT; 2min 28s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 538 ExecStart=/etc/init.d/virtualbox-guest-utils start (code=exited, status=1/FAILURE)

Aug 23 15:24:22 ubuntu systemd[1]: Starting LSB: VirtualBox Linux Additions...
Aug 23 15:24:23 ubuntu virtualbox-guest-utils[538]: * Starting VirtualBox Additions
Aug 23 15:24:37 ubuntu virtualbox-guest-utils[538]: * modprobe vboxguest failed. Please use 'dmesg' to find out why
Aug 23 15:24:37 ubuntu virtualbox-guest-utils[538]: ...fail!
Aug 23 15:24:37 ubuntu systemd[1]: virtualbox-guest-utils.service: control process exited, code=exited status=1
Aug 23 15:24:37 ubuntu systemd[1]: Failed to start LSB: VirtualBox Linux Additions.
Aug 23 15:24:37 ubuntu systemd[1]: Unit virtualbox-guest-utils.service entered failed state.
Aug 23 15:24:37 ubuntu systemd[1]: virtualbox-guest-utils.service failed.
Here is what the output of "dmesg" says:

Code: Select all

[   19.667378] VBoxGuestInitDevExt: VBoxGuestInfo failed, rc=-1
[   19.667965] vboxguest: VBoxGuestInitDevExt failed with rc=-1
Running "sudo VBoxClient --display" gives me a pop-up box saying:
VBoxClient: Failed to connect to the VirtualBox kernel service, rc=VERR_FILE_NOT_FOUND
Any attempts to use modprobe to load vboxsf.ko or vboxguest.ko fail:

Code: Select all

modprobe: ERROR: could not insert 'vboxguest': Resource deadlock avoided
modprobe: ERROR: could not insert 'vboxguest': Resource deadlock avoided
I installed my VirtualBox Guest Additions using apt-get:

Code: Select all

sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Getting VirtualBox Guest Additions to run on Xen

Post by Perryg »

Aside from you using the repo version of the guest additions ( not supported here ), VirtualBox does not support nested virtualization.
sjfloat
Posts: 1
Joined: 25. Sep 2015, 18:24

Re: Getting VirtualBox Guest Additions to run on Xen

Post by sjfloat »

Melab: Did you make any progress on this? If not the guest additions, then Xen on Virtualbox in general?
Post Reply