VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ronc
Posts: 4
Joined: 10. Jan 2014, 09:54

VBox 4.3.6 + Centos 6.5 - Guest Additions install issues

Post 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.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

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

Post 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.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
ronc
Posts: 4
Joined: 10. Jan 2014, 09:54

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

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post 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.
ronc
Posts: 4
Joined: 10. Jan 2014, 09:54

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

Post by ronc »

Without the install disk in the drive, the guest will not boot:

FATAL: No bootable medium found! System halted.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post by Perryg »

Well there you have it. Install the guest and then you can install the guest additions.
ronc
Posts: 4
Joined: 10. Jan 2014, 09:54

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

Post 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??
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

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

Post 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.
nikwasi
Posts: 1
Joined: 27. Feb 2014, 22:59

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

Post by nikwasi »

You can see where the disk is mounted by typing the following command in terminal:

Code: Select all

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.
Post Reply