2017-11-21

Oracle VM VirtualBox - E_FAIL (0x80004005)

Oracle VM VirtualBox

Issue#01
The VM session was closed before any attempt to power it on.


Result Code:
E_FAIL (0x80004005)
Component:
SessionMachine
Interface:
ISession {7844aa05-b02e-4cdd-a04f-ade4a762e6b7}






Only succeeded at 3rd tries:

  1. Tried#1 - made a copy of the "VM_NAME.xml-prev" file and renamed the copy to "VM_NAME.xml" at URL https://forums.virtualbox.org/viewtopic.php?f=6&t=33196
  2. Tried#2 - changed the 'virtual disc name - .vbox-prev' to 'virtual disc name .vbox' at URL https://forums.virtualbox.org/viewtopic.php?f=6&t=33196
  3. Tried#3 - Start as: Detachable Start, printscreen at: https://photos.app.goo.gl/MaOV5V1UVxD27vEN2




Issue#02
Update On: 2019-Jan-30_pm021031



Unable to insert the virtual optical disk C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the machine CentOS_7.6.1810.

Could not mount the media/drive 'C:\Program Files\Oracle\VirtualBox/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Callee: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}



Reference URL: https://askubuntu.com/questions/573596/unable-to-install-guest-additions-cd-image-on-virtual-box


I ran into this problem recently (Sept 2017) trying to install Guest Additions into Oracle VM VirtualBox Manager version 5.1.28, in a newly-installed VM for Ubuntu version 16.04.3. The host is Win-10. The problem was that the Guest Additions CD image was already mounted. To fix it:
  • In the VM Manager under Settings->Storage, under Controller: Right-click on VBoxGuestAdditions, and select “Remove Attachment." There will be a confirmation box: click “remove.”
  • Click the “+” icon next to “Controller," to add new optical drive. A dialog box will open. Choose “Leave Empty-> Okay”
  • Open the VM and select Devices->Insert Guest Additions. It should install now. Power off the VM (not the VM Manager) and restart the VM. GuestAdditions should now be working.













Google Referrals