Page 1 of 1

Abount install Guest Addtions

Posted: 22. Mar 2010, 09:43
by satimis
Hi folks,

host - Ubuntu 9.10 64bit
VM - Ubuntu 9.10 32 bit

On;
Settings -> General -> Advanced
Shared Clipboard: Bidirectional

Settings -> Storage
Attributes
Slot: IDE Primary Slave
CD/DVD Device: ubuntu-9.10-ser-ISO image

-> OK

-> Start VM

Devices -> Install Guest Additions

Code: Select all

VirtualBox - Question
Unable to mount the CD/DVD image /usr/share/virtualbox/VBoxGuestAdditions.iso on the machine christseru910. Would you like to force mounting of this medium?
Could not mount the media/drive '/usr/share/virtualbox/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Please advise how to solve this problem.

B.R.
satimis

Re: Abount install Guest Addtions

Posted: 22. Mar 2010, 15:23
by Perryg
Shut down the guest and go to the setting under storage and mount the guest additions there. Restart the guest and it will work.

Re: Abount install Guest Addtions

Posted: 22. Mar 2010, 18:06
by satimis
Perryg wrote:Shut down the guest and go to the setting under storage and mount the guest additions there. Restart the guest and it will work.
Settings -> Storage

Storage Tree
ubuntu910
VBoxGuestAdditions

ubuntu910:
Attributes
Slot: IDE Primary Master
Hard Disk: ubuntu910.vdi
[not check] Differencing Disks

VBoxGuestAdditions
Attributes
Slot: IDE Primary Slave
CD/DVD Device: VBoxGuestAdditions.iso
[ ] Passthrough (greyout)

-> OK

-> Start VM

Devices -> Install Guest Additions

Code: Select all

Code: Select all   Expand viewCollapse view
    VirtualBox - Question
    Unable to mount the CD/DVD image /usr/share/virtualbox/VBoxGuestAdditions.iso on the machine christseru910. Would you like to force mounting of this medium?
    Could not mount the media/drive '/usr/share/virtualbox/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).

Details
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Console
Interface: IConsole {6375231a-c17c-464b-92cb-ae9e128d71c3}
Callee: IMachine {99404f50-dd10-40d3-889b-dd2f79f1e95e}

[Cancel]  [Force Unmount]
Still the same.


satimis

Re: Abount install Guest Addtions (SOLVED)

Posted: 23. Mar 2010, 12:51
by satimis
Hi Perryg,

Ubuntu 9.10/Debian 5.04 (both 64bit)


Problem solved as follow;

To install Guest Additions on guest it needs dkms and gcc packages. Also it needs to copy VBoxLinuxAdditions-amd64.run to home folder/directory to execute the command.

Step performed as follow;


On Guest:-
After installing dkms and gcc.

$ copy /cdrom/VBoxLinuxAdditions-amd64.run /home/satimis/

$ ls /home/satimis/

Code: Select all

Desktop  VBoxLinuxAdditions-amd64.run
$ cd /home/satimis/
$ sudo chmod +x VBoxLinuxAdditions-amd64.run

$ sudo ./VBoxLinuxAdditions-amd64.run

Code: Select all

 
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.1.4 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version of VirtualBox Guest Additions...
Building the VirtualBox Guest Additions kernel modules

Your guest system does not seem to have sufficient OpenGL support to enable
accelerated 3D effects (this requires Linux 2.6.27 or later in the guest
system).  This Guest Additions feature will be disabled.

Building the main Guest Additions module ...done.
Building the shared folder support module ...done.
Doing non-kernel setup of the Guest Additions ...done.
Starting the VirtualBox Guest Additions ...done.
Installing the Window System drivers
Installing X.Org Server 1.4 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services components ...done.
Reboot the guest.


Now copy/paste between guest and host are working.


The warning on my previous posting is correct. Because VBoxGuestAdditions iso image is already mounted on settings. It is not necessary to mount it again with Device -> "InstallGuestAdditions"


B.R.
satimis