updateguestadditions on headless Ubuntu server
Posted: 8. Oct 2015, 19:21
I have an Ubuntu 14.04.3 server running VirtualBox 5.0.6 but with no X server, CLI only - and a Windows 7 32-bit guest. When attempting to run -
VBoxManage guestcontrol PC01 updateguestadditions --source /usr/share/virtualbox/VBoxGuestAdditions.iso --verbose
I get the following errors on screen -
VBoxManage: error: Could not open guest session: VERR_NOT_FOUND
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports
VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 3654 of file VBoxManageGuestCtrl.cpp
and in the guest log file -
00:17:05.451029 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={13a11514-402e-022e-6180-c3944de3f9c8} aComponent={GuestWrap} aText={Could not open guest session: VERR_NOT_FOUND}, preserve=false aResultDetail=0
The guest VM has the previous rev of guest additions via the more traditional method of mounting of the ISO to the guest DVD - and I can certainly repeat that method. But would be nice to have it work from the host CLI and make upgrading to new revs easier.
Thanks ahead for any assistance!
VBoxManage guestcontrol PC01 updateguestadditions --source /usr/share/virtualbox/VBoxGuestAdditions.iso --verbose
I get the following errors on screen -
VBoxManage: error: Could not open guest session: VERR_NOT_FOUND
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component GuestWrap, interface IGuest, callee nsISupports
VBoxManage: error: Context: "UpdateGuestAdditions(Bstr(strSource).raw(), ComSafeArrayAsInParam(aArgs), ComSafeArrayAsInParam(aUpdateFlags), pProgress.asOutParam())" at line 3654 of file VBoxManageGuestCtrl.cpp
and in the guest log file -
00:17:05.451029 ERROR [COM]: aRC=VBOX_E_IPRT_ERROR (0x80bb0005) aIID={13a11514-402e-022e-6180-c3944de3f9c8} aComponent={GuestWrap} aText={Could not open guest session: VERR_NOT_FOUND}, preserve=false aResultDetail=0
The guest VM has the previous rev of guest additions via the more traditional method of mounting of the ISO to the guest DVD - and I can certainly repeat that method. But would be nice to have it work from the host CLI and make upgrading to new revs easier.
Thanks ahead for any assistance!