Page 1 of 1

VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

PostPosted: 10. Jan 2014, 10:20
by ronc
I'm trying to install Guest Additions on Centos 6.5. According to instructions, I should be able to do this from Devices>Install Guest Additions, however in that drop-down menu I see "Insert Guest Additions CD image..." When I click this, I get a pop-up window stating the following:

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

Would you like to try to force insertion of this disk?

Could not mount the media/drive 'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).

There is a button labeled Force Unmount which does nothing except close the pop-up.

Re: VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

PostPosted: 10. Jan 2014, 12:58
by noteirak
You already have an ISO in the virtual CD/DVD drive, most likely your install ISO. The Guest OS is locking it and refusing to release it. Eject it from the guest.

Re: VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

PostPosted: 10. Jan 2014, 17:43
by ronc
Yes - the install ISO is in the drive. However, when I try to eject, I get the same type of error message saying Unable to eject instead of insert.

Re: VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

PostPosted: 10. Jan 2014, 18:05
by Perryg
Assuming that you have actually installed the guest and not running it from live cd, shut the guest down ( not saved state ) and remove the install cd from the storage section. Be sure to use the far right drop down and select to remove disk from virtual drive.

Re: VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

PostPosted: 10. Jan 2014, 19:15
by ronc
Without the install disk in the drive, the guest will not boot:

FATAL: No bootable medium found! System halted.

Re: VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

PostPosted: 10. Jan 2014, 19:22
by Perryg
Well there you have it. Install the guest and then you can install the guest additions.

Re: VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

PostPosted: 10. Jan 2014, 19:28
by ronc
I'm not following. The guest seems to require that the CentOS ISO disk be in the drive in order to boot and once booted, the system will not allow the user to eject the disk until the guest is shut down.

Is there a way that the VM can be started WITHOUT the Cent ISO disk in the drive??

Re: VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

PostPosted: 10. Jan 2014, 19:48
by Perryg
Yes. As I said install it. At this point you are running off the live cd. See CentOS on how to install the OS.

Re: VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

PostPosted: 28. Feb 2014, 00:05
by nikwasi
You can see where the disk is mounted by typing the following command in terminal:

Code: Select all   Expand viewCollapse view
df -h


It does not mount to /media, instead it will be something like /run/media/../VBOXADDTIONS_4.3.4.19027/

You simply cd to the folder and run the VBoxLinuxAdditions.sh as root.