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.
VBox 4.3.6 + Centos 6.5 - Guest Additions install issues
-
- 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
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!
Manage your VirtualBox infrastructure the free way!
Re: VBox 4.3.6 + Centos 6.5 - Guest Additions install issues
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.
-
- 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
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
Without the install disk in the drive, the guest will not boot:
FATAL: No bootable medium found! System halted.
FATAL: No bootable medium found! System halted.
-
- 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
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
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??
Is there a way that the VM can be started WITHOUT the Cent ISO disk in the drive??
-
- 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
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
You can see where the disk is mounted by typing the following command in terminal:
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.
Code: Select all
df -h
You simply cd to the folder and run the VBoxLinuxAdditions.sh as root.