Unable to Install Guest Additions CD Image on Virtual Box
Error when I clicked on Insert GuestAdditions CD Image from "Devices"
Unable to insert the virtual optical disk /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the machine VirtualUbuntu.
Would you like to try to force insertion of this disk?
Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
Callee:
IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
I can see VBoxGuestAdditions under VirtualBox list
homeuser@ubuntu:/usr/share/virtualbox$ ls -l
drwxr-xr-x 2 root root 4096 Jan 14 12:46 nls
-rw-r--r-- 1 root root 64647168 Apr 7 2014 VBoxGuestAdditions.iso
-rwxr-xr-x 1 root root 2176 Apr 6 2014 VBox.sh
-rwxr-xr-x 1 root root 4161 Apr 7 2014 VBoxSysInfo.sh
Any suggestion(s)?
14.04 virtualbox guest-additions
add a comment |
Error when I clicked on Insert GuestAdditions CD Image from "Devices"
Unable to insert the virtual optical disk /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the machine VirtualUbuntu.
Would you like to try to force insertion of this disk?
Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
Callee:
IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
I can see VBoxGuestAdditions under VirtualBox list
homeuser@ubuntu:/usr/share/virtualbox$ ls -l
drwxr-xr-x 2 root root 4096 Jan 14 12:46 nls
-rw-r--r-- 1 root root 64647168 Apr 7 2014 VBoxGuestAdditions.iso
-rwxr-xr-x 1 root root 2176 Apr 6 2014 VBox.sh
-rwxr-xr-x 1 root root 4161 Apr 7 2014 VBoxSysInfo.sh
Any suggestion(s)?
14.04 virtualbox guest-additions
1
What is your host OS? There are no guest additions for MacOS.
– Takkat
Jan 14 '15 at 8:19
OS is MAC. Have installed Ubuntu on Virtual Box.Thank you!
– Rads
Jan 14 '15 at 9:14
possible duplicate of How do I install Guest Additions in a VirtualBox VM?
– Eliah Kagan
May 9 '15 at 23:55
add a comment |
Error when I clicked on Insert GuestAdditions CD Image from "Devices"
Unable to insert the virtual optical disk /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the machine VirtualUbuntu.
Would you like to try to force insertion of this disk?
Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
Callee:
IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
I can see VBoxGuestAdditions under VirtualBox list
homeuser@ubuntu:/usr/share/virtualbox$ ls -l
drwxr-xr-x 2 root root 4096 Jan 14 12:46 nls
-rw-r--r-- 1 root root 64647168 Apr 7 2014 VBoxGuestAdditions.iso
-rwxr-xr-x 1 root root 2176 Apr 6 2014 VBox.sh
-rwxr-xr-x 1 root root 4161 Apr 7 2014 VBoxSysInfo.sh
Any suggestion(s)?
14.04 virtualbox guest-additions
Error when I clicked on Insert GuestAdditions CD Image from "Devices"
Unable to insert the virtual optical disk /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the machine VirtualUbuntu.
Would you like to try to force insertion of this disk?
Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
Callee:
IMachine {480cf695-2d8d-4256-9c7c-cce4184fa048}
I can see VBoxGuestAdditions under VirtualBox list
homeuser@ubuntu:/usr/share/virtualbox$ ls -l
drwxr-xr-x 2 root root 4096 Jan 14 12:46 nls
-rw-r--r-- 1 root root 64647168 Apr 7 2014 VBoxGuestAdditions.iso
-rwxr-xr-x 1 root root 2176 Apr 6 2014 VBox.sh
-rwxr-xr-x 1 root root 4161 Apr 7 2014 VBoxSysInfo.sh
Any suggestion(s)?
14.04 virtualbox guest-additions
14.04 virtualbox guest-additions
edited Jan 14 '15 at 8:19
αғsнιη
24.7k2296158
24.7k2296158
asked Jan 14 '15 at 8:01
RadsRads
403146
403146
1
What is your host OS? There are no guest additions for MacOS.
– Takkat
Jan 14 '15 at 8:19
OS is MAC. Have installed Ubuntu on Virtual Box.Thank you!
– Rads
Jan 14 '15 at 9:14
possible duplicate of How do I install Guest Additions in a VirtualBox VM?
– Eliah Kagan
May 9 '15 at 23:55
add a comment |
1
What is your host OS? There are no guest additions for MacOS.
– Takkat
Jan 14 '15 at 8:19
OS is MAC. Have installed Ubuntu on Virtual Box.Thank you!
– Rads
Jan 14 '15 at 9:14
possible duplicate of How do I install Guest Additions in a VirtualBox VM?
– Eliah Kagan
May 9 '15 at 23:55
1
1
What is your host OS? There are no guest additions for MacOS.
– Takkat
Jan 14 '15 at 8:19
What is your host OS? There are no guest additions for MacOS.
– Takkat
Jan 14 '15 at 8:19
OS is MAC. Have installed Ubuntu on Virtual Box.Thank you!
– Rads
Jan 14 '15 at 9:14
OS is MAC. Have installed Ubuntu on Virtual Box.Thank you!
– Rads
Jan 14 '15 at 9:14
possible duplicate of How do I install Guest Additions in a VirtualBox VM?
– Eliah Kagan
May 9 '15 at 23:55
possible duplicate of How do I install Guest Additions in a VirtualBox VM?
– Eliah Kagan
May 9 '15 at 23:55
add a comment |
11 Answers
11
active
oldest
votes
I assume your host operating system is Mac OS X and you have installed Ubuntu as the guest operating system.
There is no need to mount the guest additions ISO and install from it if your guest OS is Ubuntu.
Instead, open a terminal and enter the following -
sudo apt-get install virtualbox-guest-utils
This will install the guest additions and is more or less equivalent to installing via the ISO.
5
Also worked for Windows host!
– Hack-R
May 26 '16 at 13:32
5
not available on debian
– chovy
Oct 15 '16 at 2:53
5
The statement about "No need to install Guest Additions" is presumptuous and does not actually answer the underlying problem of the CD failing to mount. In my experience, the drivers provided on the Guest Additions CD are newer and offer better performance than those offered in the Ubuntu PPA. Furthermore, as @chovy has explained, this solution does not scale well when received on non-Ubuntu based distributions. Please see dave-rose's answer below for a better solution.
– tresf
Nov 7 '17 at 14:42
1
For installing virtualbox guest additions on Debian: virtualboxes.org/doc/installing-guest-additions-on-debian @chovy
– Caleb Jay
Jan 24 '18 at 5:38
The commandbrew install virtualbox-guest-utils
will also work
– Arefe
Jul 9 '18 at 15:41
|
show 1 more comment
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.
2
This is a slightly better version of @jan-hettich's answer.
– tresf
Nov 7 '17 at 14:15
This works. But for me I had to manuall install the guest additions as the OS (Lubuntu in my case) was not starting the "autorun.sh" script. So I had to manually execure this: sudo ./VBoxLinuxAdditions.run This than told me that my system was not set up to compile the kernel moduls for the guest additions. So I had to install them before running the script again: sudo apt install gcc make perl sudo ./VBoxLinuxAdditions.run After a restart the resizing did indead work. Thanks guys!
– KFleischer
Aug 5 '18 at 13:18
“Remove Attachment." is disabled/inaccessible for me, do you perhaps know why?
– Les
Feb 6 at 9:55
@Les it's likely because your VM was still running
– Daniel Jamrozik
Feb 18 at 21:21
add a comment |
For me, the solution was discovering that you have to add an Empty optical drive in the virtual machine settings! If you try to "help" by pre-loading the VBoxGuestAdditions.iso, it doesn't work. The shortcut on the Devices menu "Insert Guest Additions CD image ..." wants to find an empty optical drive to use!
1
I followed a similar procedure. By powering down the guest, deleting the optical drive and re-adding one, I was able to re-insert the Guest Additions CD. This should be the accepted answer because it is the most user-friendly fix to the problem. Whereas other answers that instruct to useapt-get
are a workaround, not a solution.
– tresf
Nov 7 '17 at 14:14
If you're running Oracle-provided VirtualBox, you shouldn't use theapt-get
method. Theapt-get
solution is a bit better for if your host is also Ubuntu and you're using the Ubuntu-provided VirtualBox package. It will keep your guest system running the right version of the guest additions when VirtualBox is updated on the host (they update their guest additions and VirtualBox packages at the same time, so both the host and guest get updated software).
– Chai T. Rex
Aug 30 '18 at 16:47
add a comment |
Hi I was having same issue (copy and paste problem) and I entered following commands from terminal and solved the problem.
sudo apt-get upgrade
sudo apt-get install virtualbox-guest-additions-iso
- Go to display setting, under video capture, check enable video capture
sudo apt-get install virtualbox-guest-utils
- restart virtual machine.
3
"under video capture, check enable video capture" - this is extremely unlikely to help. No offence, but this is probably not a good idea. :-)
– Max Murphy
Dec 3 '16 at 10:34
thanks, only this solution worked for me
– Fatemeh Karimi
Oct 29 '18 at 13:13
add a comment |
I had the same problem and manual installation with sudo apt-get didn't work for me. Different Virtual Box has different guests additions version so it's better to install the guest additions that comes with Virtual Box. So I installed it in this way:
- From File manager choose "Devices" -> "Insert Guest Additions CD
image..." - Login Ubuntu
- Unmount the CD (guest addition cd image)
Mount the guest additions iso
It'll pop up a window asking for confirmation to run it or not. If choosing to run, enter the login password and install it.
Reboot Ubuntu
add a comment |
Got same error, get it work as below:
- after got that error, unmount VBOXADDITIONS CD in ubuntu;
- get out Ubuntu, click Devices - Insert Guest Additions CD Image. This time it will pop up a window asking run it or not,
- choose to run
- enter the login password
- start to install now.
add a comment |
The problem many times that happens is that the iso file you installed is already mounted. Just go to Devices-Optical Device-Remove Virtual Disk from Guest installation. Then Manually mount the Guestadditions.iso file by going to Devices-Optical Drive-Choose Disk image then go to the folder where you installed ubuntu, find the guestadditions.iso file and then mount it. Once mounted, simply again click the Devices-Install Guest additions, enter your userID password for Ubuntu and the wizard will then continue to install the guest additions :)
add a comment |
In my case this happened because I was running Ubuntu server which doesn't have a window manager. Here is how I installed:
First, boot up the Ubuntu VM. Then press Devices > Insert Guest Additions CD
. The CD has now inserted but you won't see anything. If you try to press Insert Guest Additions CD
again you will get the error.
Next mount the CD:
sudo mount sr0 /media/cdrom
And then cd
into the directory (no pun):
cd /media/cdrom
Next, run the install script:
sudo ./VBoxLinuxAdditions.run
And now everything should fine :)
add a comment |
I had problems that after mounting ISO the disk was empty in Debian. I made following workaround:
- mount addons image in Deamon tools in home Win system
- copy files from iso to shared folder to access them from virtual Debian
- perform SH installation directly in that folder (you will have access to addons files all the time via this folder)
add a comment |
Same error for me with Macos. I was hitting the error Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
The guest additions iso was already downloaded previously. All steps are done within VM.
- cd to
media/<user>/Vbox_GAs_<version>
(there may be multiple folders here so choose the most recent).
./autorun.sh
to install the guest additions isosudo reboot
There is no useful directory in/media
in my case.
– Kamafeather
Feb 18 at 14:35
add a comment |
I solved by manually mounting the image (after adding the Device and the ISO according to the Dave Rose's answer) and running the installer.
sudo su
cd /media
mkdir cdrom
mount /dev/cdrom /media/cdrom
cd cdrom
sh VBoxLinuxAdditions.run
Check my answer on SuperUser 😉
New contributor
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– mature
Feb 18 at 17:56
Not being "better", but also not wrong, deserves a downvote? Last time (yesterday) I wrote the same answer on two different questions I got downvoted too.. 😕 Anyway, I added the relevant commands for the solution.
– Kamafeather
Feb 18 at 18:08
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f573596%2funable-to-install-guest-additions-cd-image-on-virtual-box%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
11 Answers
11
active
oldest
votes
11 Answers
11
active
oldest
votes
active
oldest
votes
active
oldest
votes
I assume your host operating system is Mac OS X and you have installed Ubuntu as the guest operating system.
There is no need to mount the guest additions ISO and install from it if your guest OS is Ubuntu.
Instead, open a terminal and enter the following -
sudo apt-get install virtualbox-guest-utils
This will install the guest additions and is more or less equivalent to installing via the ISO.
5
Also worked for Windows host!
– Hack-R
May 26 '16 at 13:32
5
not available on debian
– chovy
Oct 15 '16 at 2:53
5
The statement about "No need to install Guest Additions" is presumptuous and does not actually answer the underlying problem of the CD failing to mount. In my experience, the drivers provided on the Guest Additions CD are newer and offer better performance than those offered in the Ubuntu PPA. Furthermore, as @chovy has explained, this solution does not scale well when received on non-Ubuntu based distributions. Please see dave-rose's answer below for a better solution.
– tresf
Nov 7 '17 at 14:42
1
For installing virtualbox guest additions on Debian: virtualboxes.org/doc/installing-guest-additions-on-debian @chovy
– Caleb Jay
Jan 24 '18 at 5:38
The commandbrew install virtualbox-guest-utils
will also work
– Arefe
Jul 9 '18 at 15:41
|
show 1 more comment
I assume your host operating system is Mac OS X and you have installed Ubuntu as the guest operating system.
There is no need to mount the guest additions ISO and install from it if your guest OS is Ubuntu.
Instead, open a terminal and enter the following -
sudo apt-get install virtualbox-guest-utils
This will install the guest additions and is more or less equivalent to installing via the ISO.
5
Also worked for Windows host!
– Hack-R
May 26 '16 at 13:32
5
not available on debian
– chovy
Oct 15 '16 at 2:53
5
The statement about "No need to install Guest Additions" is presumptuous and does not actually answer the underlying problem of the CD failing to mount. In my experience, the drivers provided on the Guest Additions CD are newer and offer better performance than those offered in the Ubuntu PPA. Furthermore, as @chovy has explained, this solution does not scale well when received on non-Ubuntu based distributions. Please see dave-rose's answer below for a better solution.
– tresf
Nov 7 '17 at 14:42
1
For installing virtualbox guest additions on Debian: virtualboxes.org/doc/installing-guest-additions-on-debian @chovy
– Caleb Jay
Jan 24 '18 at 5:38
The commandbrew install virtualbox-guest-utils
will also work
– Arefe
Jul 9 '18 at 15:41
|
show 1 more comment
I assume your host operating system is Mac OS X and you have installed Ubuntu as the guest operating system.
There is no need to mount the guest additions ISO and install from it if your guest OS is Ubuntu.
Instead, open a terminal and enter the following -
sudo apt-get install virtualbox-guest-utils
This will install the guest additions and is more or less equivalent to installing via the ISO.
I assume your host operating system is Mac OS X and you have installed Ubuntu as the guest operating system.
There is no need to mount the guest additions ISO and install from it if your guest OS is Ubuntu.
Instead, open a terminal and enter the following -
sudo apt-get install virtualbox-guest-utils
This will install the guest additions and is more or less equivalent to installing via the ISO.
answered Jan 14 '15 at 8:53
Rohith MadhavanRohith Madhavan
6,79622041
6,79622041
5
Also worked for Windows host!
– Hack-R
May 26 '16 at 13:32
5
not available on debian
– chovy
Oct 15 '16 at 2:53
5
The statement about "No need to install Guest Additions" is presumptuous and does not actually answer the underlying problem of the CD failing to mount. In my experience, the drivers provided on the Guest Additions CD are newer and offer better performance than those offered in the Ubuntu PPA. Furthermore, as @chovy has explained, this solution does not scale well when received on non-Ubuntu based distributions. Please see dave-rose's answer below for a better solution.
– tresf
Nov 7 '17 at 14:42
1
For installing virtualbox guest additions on Debian: virtualboxes.org/doc/installing-guest-additions-on-debian @chovy
– Caleb Jay
Jan 24 '18 at 5:38
The commandbrew install virtualbox-guest-utils
will also work
– Arefe
Jul 9 '18 at 15:41
|
show 1 more comment
5
Also worked for Windows host!
– Hack-R
May 26 '16 at 13:32
5
not available on debian
– chovy
Oct 15 '16 at 2:53
5
The statement about "No need to install Guest Additions" is presumptuous and does not actually answer the underlying problem of the CD failing to mount. In my experience, the drivers provided on the Guest Additions CD are newer and offer better performance than those offered in the Ubuntu PPA. Furthermore, as @chovy has explained, this solution does not scale well when received on non-Ubuntu based distributions. Please see dave-rose's answer below for a better solution.
– tresf
Nov 7 '17 at 14:42
1
For installing virtualbox guest additions on Debian: virtualboxes.org/doc/installing-guest-additions-on-debian @chovy
– Caleb Jay
Jan 24 '18 at 5:38
The commandbrew install virtualbox-guest-utils
will also work
– Arefe
Jul 9 '18 at 15:41
5
5
Also worked for Windows host!
– Hack-R
May 26 '16 at 13:32
Also worked for Windows host!
– Hack-R
May 26 '16 at 13:32
5
5
not available on debian
– chovy
Oct 15 '16 at 2:53
not available on debian
– chovy
Oct 15 '16 at 2:53
5
5
The statement about "No need to install Guest Additions" is presumptuous and does not actually answer the underlying problem of the CD failing to mount. In my experience, the drivers provided on the Guest Additions CD are newer and offer better performance than those offered in the Ubuntu PPA. Furthermore, as @chovy has explained, this solution does not scale well when received on non-Ubuntu based distributions. Please see dave-rose's answer below for a better solution.
– tresf
Nov 7 '17 at 14:42
The statement about "No need to install Guest Additions" is presumptuous and does not actually answer the underlying problem of the CD failing to mount. In my experience, the drivers provided on the Guest Additions CD are newer and offer better performance than those offered in the Ubuntu PPA. Furthermore, as @chovy has explained, this solution does not scale well when received on non-Ubuntu based distributions. Please see dave-rose's answer below for a better solution.
– tresf
Nov 7 '17 at 14:42
1
1
For installing virtualbox guest additions on Debian: virtualboxes.org/doc/installing-guest-additions-on-debian @chovy
– Caleb Jay
Jan 24 '18 at 5:38
For installing virtualbox guest additions on Debian: virtualboxes.org/doc/installing-guest-additions-on-debian @chovy
– Caleb Jay
Jan 24 '18 at 5:38
The command
brew install virtualbox-guest-utils
will also work– Arefe
Jul 9 '18 at 15:41
The command
brew install virtualbox-guest-utils
will also work– Arefe
Jul 9 '18 at 15:41
|
show 1 more comment
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.
2
This is a slightly better version of @jan-hettich's answer.
– tresf
Nov 7 '17 at 14:15
This works. But for me I had to manuall install the guest additions as the OS (Lubuntu in my case) was not starting the "autorun.sh" script. So I had to manually execure this: sudo ./VBoxLinuxAdditions.run This than told me that my system was not set up to compile the kernel moduls for the guest additions. So I had to install them before running the script again: sudo apt install gcc make perl sudo ./VBoxLinuxAdditions.run After a restart the resizing did indead work. Thanks guys!
– KFleischer
Aug 5 '18 at 13:18
“Remove Attachment." is disabled/inaccessible for me, do you perhaps know why?
– Les
Feb 6 at 9:55
@Les it's likely because your VM was still running
– Daniel Jamrozik
Feb 18 at 21:21
add a comment |
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.
2
This is a slightly better version of @jan-hettich's answer.
– tresf
Nov 7 '17 at 14:15
This works. But for me I had to manuall install the guest additions as the OS (Lubuntu in my case) was not starting the "autorun.sh" script. So I had to manually execure this: sudo ./VBoxLinuxAdditions.run This than told me that my system was not set up to compile the kernel moduls for the guest additions. So I had to install them before running the script again: sudo apt install gcc make perl sudo ./VBoxLinuxAdditions.run After a restart the resizing did indead work. Thanks guys!
– KFleischer
Aug 5 '18 at 13:18
“Remove Attachment." is disabled/inaccessible for me, do you perhaps know why?
– Les
Feb 6 at 9:55
@Les it's likely because your VM was still running
– Daniel Jamrozik
Feb 18 at 21:21
add a comment |
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.
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.
answered Sep 28 '17 at 20:21
Dave RoseDave Rose
21122
21122
2
This is a slightly better version of @jan-hettich's answer.
– tresf
Nov 7 '17 at 14:15
This works. But for me I had to manuall install the guest additions as the OS (Lubuntu in my case) was not starting the "autorun.sh" script. So I had to manually execure this: sudo ./VBoxLinuxAdditions.run This than told me that my system was not set up to compile the kernel moduls for the guest additions. So I had to install them before running the script again: sudo apt install gcc make perl sudo ./VBoxLinuxAdditions.run After a restart the resizing did indead work. Thanks guys!
– KFleischer
Aug 5 '18 at 13:18
“Remove Attachment." is disabled/inaccessible for me, do you perhaps know why?
– Les
Feb 6 at 9:55
@Les it's likely because your VM was still running
– Daniel Jamrozik
Feb 18 at 21:21
add a comment |
2
This is a slightly better version of @jan-hettich's answer.
– tresf
Nov 7 '17 at 14:15
This works. But for me I had to manuall install the guest additions as the OS (Lubuntu in my case) was not starting the "autorun.sh" script. So I had to manually execure this: sudo ./VBoxLinuxAdditions.run This than told me that my system was not set up to compile the kernel moduls for the guest additions. So I had to install them before running the script again: sudo apt install gcc make perl sudo ./VBoxLinuxAdditions.run After a restart the resizing did indead work. Thanks guys!
– KFleischer
Aug 5 '18 at 13:18
“Remove Attachment." is disabled/inaccessible for me, do you perhaps know why?
– Les
Feb 6 at 9:55
@Les it's likely because your VM was still running
– Daniel Jamrozik
Feb 18 at 21:21
2
2
This is a slightly better version of @jan-hettich's answer.
– tresf
Nov 7 '17 at 14:15
This is a slightly better version of @jan-hettich's answer.
– tresf
Nov 7 '17 at 14:15
This works. But for me I had to manuall install the guest additions as the OS (Lubuntu in my case) was not starting the "autorun.sh" script. So I had to manually execure this: sudo ./VBoxLinuxAdditions.run This than told me that my system was not set up to compile the kernel moduls for the guest additions. So I had to install them before running the script again: sudo apt install gcc make perl sudo ./VBoxLinuxAdditions.run After a restart the resizing did indead work. Thanks guys!
– KFleischer
Aug 5 '18 at 13:18
This works. But for me I had to manuall install the guest additions as the OS (Lubuntu in my case) was not starting the "autorun.sh" script. So I had to manually execure this: sudo ./VBoxLinuxAdditions.run This than told me that my system was not set up to compile the kernel moduls for the guest additions. So I had to install them before running the script again: sudo apt install gcc make perl sudo ./VBoxLinuxAdditions.run After a restart the resizing did indead work. Thanks guys!
– KFleischer
Aug 5 '18 at 13:18
“Remove Attachment." is disabled/inaccessible for me, do you perhaps know why?
– Les
Feb 6 at 9:55
“Remove Attachment." is disabled/inaccessible for me, do you perhaps know why?
– Les
Feb 6 at 9:55
@Les it's likely because your VM was still running
– Daniel Jamrozik
Feb 18 at 21:21
@Les it's likely because your VM was still running
– Daniel Jamrozik
Feb 18 at 21:21
add a comment |
For me, the solution was discovering that you have to add an Empty optical drive in the virtual machine settings! If you try to "help" by pre-loading the VBoxGuestAdditions.iso, it doesn't work. The shortcut on the Devices menu "Insert Guest Additions CD image ..." wants to find an empty optical drive to use!
1
I followed a similar procedure. By powering down the guest, deleting the optical drive and re-adding one, I was able to re-insert the Guest Additions CD. This should be the accepted answer because it is the most user-friendly fix to the problem. Whereas other answers that instruct to useapt-get
are a workaround, not a solution.
– tresf
Nov 7 '17 at 14:14
If you're running Oracle-provided VirtualBox, you shouldn't use theapt-get
method. Theapt-get
solution is a bit better for if your host is also Ubuntu and you're using the Ubuntu-provided VirtualBox package. It will keep your guest system running the right version of the guest additions when VirtualBox is updated on the host (they update their guest additions and VirtualBox packages at the same time, so both the host and guest get updated software).
– Chai T. Rex
Aug 30 '18 at 16:47
add a comment |
For me, the solution was discovering that you have to add an Empty optical drive in the virtual machine settings! If you try to "help" by pre-loading the VBoxGuestAdditions.iso, it doesn't work. The shortcut on the Devices menu "Insert Guest Additions CD image ..." wants to find an empty optical drive to use!
1
I followed a similar procedure. By powering down the guest, deleting the optical drive and re-adding one, I was able to re-insert the Guest Additions CD. This should be the accepted answer because it is the most user-friendly fix to the problem. Whereas other answers that instruct to useapt-get
are a workaround, not a solution.
– tresf
Nov 7 '17 at 14:14
If you're running Oracle-provided VirtualBox, you shouldn't use theapt-get
method. Theapt-get
solution is a bit better for if your host is also Ubuntu and you're using the Ubuntu-provided VirtualBox package. It will keep your guest system running the right version of the guest additions when VirtualBox is updated on the host (they update their guest additions and VirtualBox packages at the same time, so both the host and guest get updated software).
– Chai T. Rex
Aug 30 '18 at 16:47
add a comment |
For me, the solution was discovering that you have to add an Empty optical drive in the virtual machine settings! If you try to "help" by pre-loading the VBoxGuestAdditions.iso, it doesn't work. The shortcut on the Devices menu "Insert Guest Additions CD image ..." wants to find an empty optical drive to use!
For me, the solution was discovering that you have to add an Empty optical drive in the virtual machine settings! If you try to "help" by pre-loading the VBoxGuestAdditions.iso, it doesn't work. The shortcut on the Devices menu "Insert Guest Additions CD image ..." wants to find an empty optical drive to use!
answered Aug 7 '17 at 6:15
Jan HettichJan Hettich
17113
17113
1
I followed a similar procedure. By powering down the guest, deleting the optical drive and re-adding one, I was able to re-insert the Guest Additions CD. This should be the accepted answer because it is the most user-friendly fix to the problem. Whereas other answers that instruct to useapt-get
are a workaround, not a solution.
– tresf
Nov 7 '17 at 14:14
If you're running Oracle-provided VirtualBox, you shouldn't use theapt-get
method. Theapt-get
solution is a bit better for if your host is also Ubuntu and you're using the Ubuntu-provided VirtualBox package. It will keep your guest system running the right version of the guest additions when VirtualBox is updated on the host (they update their guest additions and VirtualBox packages at the same time, so both the host and guest get updated software).
– Chai T. Rex
Aug 30 '18 at 16:47
add a comment |
1
I followed a similar procedure. By powering down the guest, deleting the optical drive and re-adding one, I was able to re-insert the Guest Additions CD. This should be the accepted answer because it is the most user-friendly fix to the problem. Whereas other answers that instruct to useapt-get
are a workaround, not a solution.
– tresf
Nov 7 '17 at 14:14
If you're running Oracle-provided VirtualBox, you shouldn't use theapt-get
method. Theapt-get
solution is a bit better for if your host is also Ubuntu and you're using the Ubuntu-provided VirtualBox package. It will keep your guest system running the right version of the guest additions when VirtualBox is updated on the host (they update their guest additions and VirtualBox packages at the same time, so both the host and guest get updated software).
– Chai T. Rex
Aug 30 '18 at 16:47
1
1
I followed a similar procedure. By powering down the guest, deleting the optical drive and re-adding one, I was able to re-insert the Guest Additions CD. This should be the accepted answer because it is the most user-friendly fix to the problem. Whereas other answers that instruct to use
apt-get
are a workaround, not a solution.– tresf
Nov 7 '17 at 14:14
I followed a similar procedure. By powering down the guest, deleting the optical drive and re-adding one, I was able to re-insert the Guest Additions CD. This should be the accepted answer because it is the most user-friendly fix to the problem. Whereas other answers that instruct to use
apt-get
are a workaround, not a solution.– tresf
Nov 7 '17 at 14:14
If you're running Oracle-provided VirtualBox, you shouldn't use the
apt-get
method. The apt-get
solution is a bit better for if your host is also Ubuntu and you're using the Ubuntu-provided VirtualBox package. It will keep your guest system running the right version of the guest additions when VirtualBox is updated on the host (they update their guest additions and VirtualBox packages at the same time, so both the host and guest get updated software).– Chai T. Rex
Aug 30 '18 at 16:47
If you're running Oracle-provided VirtualBox, you shouldn't use the
apt-get
method. The apt-get
solution is a bit better for if your host is also Ubuntu and you're using the Ubuntu-provided VirtualBox package. It will keep your guest system running the right version of the guest additions when VirtualBox is updated on the host (they update their guest additions and VirtualBox packages at the same time, so both the host and guest get updated software).– Chai T. Rex
Aug 30 '18 at 16:47
add a comment |
Hi I was having same issue (copy and paste problem) and I entered following commands from terminal and solved the problem.
sudo apt-get upgrade
sudo apt-get install virtualbox-guest-additions-iso
- Go to display setting, under video capture, check enable video capture
sudo apt-get install virtualbox-guest-utils
- restart virtual machine.
3
"under video capture, check enable video capture" - this is extremely unlikely to help. No offence, but this is probably not a good idea. :-)
– Max Murphy
Dec 3 '16 at 10:34
thanks, only this solution worked for me
– Fatemeh Karimi
Oct 29 '18 at 13:13
add a comment |
Hi I was having same issue (copy and paste problem) and I entered following commands from terminal and solved the problem.
sudo apt-get upgrade
sudo apt-get install virtualbox-guest-additions-iso
- Go to display setting, under video capture, check enable video capture
sudo apt-get install virtualbox-guest-utils
- restart virtual machine.
3
"under video capture, check enable video capture" - this is extremely unlikely to help. No offence, but this is probably not a good idea. :-)
– Max Murphy
Dec 3 '16 at 10:34
thanks, only this solution worked for me
– Fatemeh Karimi
Oct 29 '18 at 13:13
add a comment |
Hi I was having same issue (copy and paste problem) and I entered following commands from terminal and solved the problem.
sudo apt-get upgrade
sudo apt-get install virtualbox-guest-additions-iso
- Go to display setting, under video capture, check enable video capture
sudo apt-get install virtualbox-guest-utils
- restart virtual machine.
Hi I was having same issue (copy and paste problem) and I entered following commands from terminal and solved the problem.
sudo apt-get upgrade
sudo apt-get install virtualbox-guest-additions-iso
- Go to display setting, under video capture, check enable video capture
sudo apt-get install virtualbox-guest-utils
- restart virtual machine.
edited Oct 5 '15 at 19:25
Kevin Bowen
14.6k155970
14.6k155970
answered Oct 5 '15 at 16:57
Mickey min theinMickey min thein
6111
6111
3
"under video capture, check enable video capture" - this is extremely unlikely to help. No offence, but this is probably not a good idea. :-)
– Max Murphy
Dec 3 '16 at 10:34
thanks, only this solution worked for me
– Fatemeh Karimi
Oct 29 '18 at 13:13
add a comment |
3
"under video capture, check enable video capture" - this is extremely unlikely to help. No offence, but this is probably not a good idea. :-)
– Max Murphy
Dec 3 '16 at 10:34
thanks, only this solution worked for me
– Fatemeh Karimi
Oct 29 '18 at 13:13
3
3
"under video capture, check enable video capture" - this is extremely unlikely to help. No offence, but this is probably not a good idea. :-)
– Max Murphy
Dec 3 '16 at 10:34
"under video capture, check enable video capture" - this is extremely unlikely to help. No offence, but this is probably not a good idea. :-)
– Max Murphy
Dec 3 '16 at 10:34
thanks, only this solution worked for me
– Fatemeh Karimi
Oct 29 '18 at 13:13
thanks, only this solution worked for me
– Fatemeh Karimi
Oct 29 '18 at 13:13
add a comment |
I had the same problem and manual installation with sudo apt-get didn't work for me. Different Virtual Box has different guests additions version so it's better to install the guest additions that comes with Virtual Box. So I installed it in this way:
- From File manager choose "Devices" -> "Insert Guest Additions CD
image..." - Login Ubuntu
- Unmount the CD (guest addition cd image)
Mount the guest additions iso
It'll pop up a window asking for confirmation to run it or not. If choosing to run, enter the login password and install it.
Reboot Ubuntu
add a comment |
I had the same problem and manual installation with sudo apt-get didn't work for me. Different Virtual Box has different guests additions version so it's better to install the guest additions that comes with Virtual Box. So I installed it in this way:
- From File manager choose "Devices" -> "Insert Guest Additions CD
image..." - Login Ubuntu
- Unmount the CD (guest addition cd image)
Mount the guest additions iso
It'll pop up a window asking for confirmation to run it or not. If choosing to run, enter the login password and install it.
Reboot Ubuntu
add a comment |
I had the same problem and manual installation with sudo apt-get didn't work for me. Different Virtual Box has different guests additions version so it's better to install the guest additions that comes with Virtual Box. So I installed it in this way:
- From File manager choose "Devices" -> "Insert Guest Additions CD
image..." - Login Ubuntu
- Unmount the CD (guest addition cd image)
Mount the guest additions iso
It'll pop up a window asking for confirmation to run it or not. If choosing to run, enter the login password and install it.
Reboot Ubuntu
I had the same problem and manual installation with sudo apt-get didn't work for me. Different Virtual Box has different guests additions version so it's better to install the guest additions that comes with Virtual Box. So I installed it in this way:
- From File manager choose "Devices" -> "Insert Guest Additions CD
image..." - Login Ubuntu
- Unmount the CD (guest addition cd image)
Mount the guest additions iso
It'll pop up a window asking for confirmation to run it or not. If choosing to run, enter the login password and install it.
Reboot Ubuntu
edited Mar 3 '17 at 12:48
d a i s y
3,35282444
3,35282444
answered Jul 15 '16 at 15:07
rpanrpan
311
311
add a comment |
add a comment |
Got same error, get it work as below:
- after got that error, unmount VBOXADDITIONS CD in ubuntu;
- get out Ubuntu, click Devices - Insert Guest Additions CD Image. This time it will pop up a window asking run it or not,
- choose to run
- enter the login password
- start to install now.
add a comment |
Got same error, get it work as below:
- after got that error, unmount VBOXADDITIONS CD in ubuntu;
- get out Ubuntu, click Devices - Insert Guest Additions CD Image. This time it will pop up a window asking run it or not,
- choose to run
- enter the login password
- start to install now.
add a comment |
Got same error, get it work as below:
- after got that error, unmount VBOXADDITIONS CD in ubuntu;
- get out Ubuntu, click Devices - Insert Guest Additions CD Image. This time it will pop up a window asking run it or not,
- choose to run
- enter the login password
- start to install now.
Got same error, get it work as below:
- after got that error, unmount VBOXADDITIONS CD in ubuntu;
- get out Ubuntu, click Devices - Insert Guest Additions CD Image. This time it will pop up a window asking run it or not,
- choose to run
- enter the login password
- start to install now.
edited Mar 28 '17 at 6:26
Yaron
9,13871940
9,13871940
answered Mar 27 '17 at 23:13
KevinKevin
311
311
add a comment |
add a comment |
The problem many times that happens is that the iso file you installed is already mounted. Just go to Devices-Optical Device-Remove Virtual Disk from Guest installation. Then Manually mount the Guestadditions.iso file by going to Devices-Optical Drive-Choose Disk image then go to the folder where you installed ubuntu, find the guestadditions.iso file and then mount it. Once mounted, simply again click the Devices-Install Guest additions, enter your userID password for Ubuntu and the wizard will then continue to install the guest additions :)
add a comment |
The problem many times that happens is that the iso file you installed is already mounted. Just go to Devices-Optical Device-Remove Virtual Disk from Guest installation. Then Manually mount the Guestadditions.iso file by going to Devices-Optical Drive-Choose Disk image then go to the folder where you installed ubuntu, find the guestadditions.iso file and then mount it. Once mounted, simply again click the Devices-Install Guest additions, enter your userID password for Ubuntu and the wizard will then continue to install the guest additions :)
add a comment |
The problem many times that happens is that the iso file you installed is already mounted. Just go to Devices-Optical Device-Remove Virtual Disk from Guest installation. Then Manually mount the Guestadditions.iso file by going to Devices-Optical Drive-Choose Disk image then go to the folder where you installed ubuntu, find the guestadditions.iso file and then mount it. Once mounted, simply again click the Devices-Install Guest additions, enter your userID password for Ubuntu and the wizard will then continue to install the guest additions :)
The problem many times that happens is that the iso file you installed is already mounted. Just go to Devices-Optical Device-Remove Virtual Disk from Guest installation. Then Manually mount the Guestadditions.iso file by going to Devices-Optical Drive-Choose Disk image then go to the folder where you installed ubuntu, find the guestadditions.iso file and then mount it. Once mounted, simply again click the Devices-Install Guest additions, enter your userID password for Ubuntu and the wizard will then continue to install the guest additions :)
answered Mar 29 '18 at 21:13
Tushar SinghTushar Singh
1
1
add a comment |
add a comment |
In my case this happened because I was running Ubuntu server which doesn't have a window manager. Here is how I installed:
First, boot up the Ubuntu VM. Then press Devices > Insert Guest Additions CD
. The CD has now inserted but you won't see anything. If you try to press Insert Guest Additions CD
again you will get the error.
Next mount the CD:
sudo mount sr0 /media/cdrom
And then cd
into the directory (no pun):
cd /media/cdrom
Next, run the install script:
sudo ./VBoxLinuxAdditions.run
And now everything should fine :)
add a comment |
In my case this happened because I was running Ubuntu server which doesn't have a window manager. Here is how I installed:
First, boot up the Ubuntu VM. Then press Devices > Insert Guest Additions CD
. The CD has now inserted but you won't see anything. If you try to press Insert Guest Additions CD
again you will get the error.
Next mount the CD:
sudo mount sr0 /media/cdrom
And then cd
into the directory (no pun):
cd /media/cdrom
Next, run the install script:
sudo ./VBoxLinuxAdditions.run
And now everything should fine :)
add a comment |
In my case this happened because I was running Ubuntu server which doesn't have a window manager. Here is how I installed:
First, boot up the Ubuntu VM. Then press Devices > Insert Guest Additions CD
. The CD has now inserted but you won't see anything. If you try to press Insert Guest Additions CD
again you will get the error.
Next mount the CD:
sudo mount sr0 /media/cdrom
And then cd
into the directory (no pun):
cd /media/cdrom
Next, run the install script:
sudo ./VBoxLinuxAdditions.run
And now everything should fine :)
In my case this happened because I was running Ubuntu server which doesn't have a window manager. Here is how I installed:
First, boot up the Ubuntu VM. Then press Devices > Insert Guest Additions CD
. The CD has now inserted but you won't see anything. If you try to press Insert Guest Additions CD
again you will get the error.
Next mount the CD:
sudo mount sr0 /media/cdrom
And then cd
into the directory (no pun):
cd /media/cdrom
Next, run the install script:
sudo ./VBoxLinuxAdditions.run
And now everything should fine :)
answered May 24 '18 at 14:32
BugHunterUKBugHunterUK
1264
1264
add a comment |
add a comment |
I had problems that after mounting ISO the disk was empty in Debian. I made following workaround:
- mount addons image in Deamon tools in home Win system
- copy files from iso to shared folder to access them from virtual Debian
- perform SH installation directly in that folder (you will have access to addons files all the time via this folder)
add a comment |
I had problems that after mounting ISO the disk was empty in Debian. I made following workaround:
- mount addons image in Deamon tools in home Win system
- copy files from iso to shared folder to access them from virtual Debian
- perform SH installation directly in that folder (you will have access to addons files all the time via this folder)
add a comment |
I had problems that after mounting ISO the disk was empty in Debian. I made following workaround:
- mount addons image in Deamon tools in home Win system
- copy files from iso to shared folder to access them from virtual Debian
- perform SH installation directly in that folder (you will have access to addons files all the time via this folder)
I had problems that after mounting ISO the disk was empty in Debian. I made following workaround:
- mount addons image in Deamon tools in home Win system
- copy files from iso to shared folder to access them from virtual Debian
- perform SH installation directly in that folder (you will have access to addons files all the time via this folder)
edited Oct 17 '18 at 10:43
abu_bua
3,43481227
3,43481227
answered Oct 17 '18 at 9:52
Wake DownWake Down
111
111
add a comment |
add a comment |
Same error for me with Macos. I was hitting the error Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
The guest additions iso was already downloaded previously. All steps are done within VM.
- cd to
media/<user>/Vbox_GAs_<version>
(there may be multiple folders here so choose the most recent).
./autorun.sh
to install the guest additions isosudo reboot
There is no useful directory in/media
in my case.
– Kamafeather
Feb 18 at 14:35
add a comment |
Same error for me with Macos. I was hitting the error Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
The guest additions iso was already downloaded previously. All steps are done within VM.
- cd to
media/<user>/Vbox_GAs_<version>
(there may be multiple folders here so choose the most recent).
./autorun.sh
to install the guest additions isosudo reboot
There is no useful directory in/media
in my case.
– Kamafeather
Feb 18 at 14:35
add a comment |
Same error for me with Macos. I was hitting the error Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
The guest additions iso was already downloaded previously. All steps are done within VM.
- cd to
media/<user>/Vbox_GAs_<version>
(there may be multiple folders here so choose the most recent).
./autorun.sh
to install the guest additions isosudo reboot
Same error for me with Macos. I was hitting the error Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
The guest additions iso was already downloaded previously. All steps are done within VM.
- cd to
media/<user>/Vbox_GAs_<version>
(there may be multiple folders here so choose the most recent).
./autorun.sh
to install the guest additions isosudo reboot
answered Jan 30 at 22:59
RiftyRifty
1
1
There is no useful directory in/media
in my case.
– Kamafeather
Feb 18 at 14:35
add a comment |
There is no useful directory in/media
in my case.
– Kamafeather
Feb 18 at 14:35
There is no useful directory in
/media
in my case.– Kamafeather
Feb 18 at 14:35
There is no useful directory in
/media
in my case.– Kamafeather
Feb 18 at 14:35
add a comment |
I solved by manually mounting the image (after adding the Device and the ISO according to the Dave Rose's answer) and running the installer.
sudo su
cd /media
mkdir cdrom
mount /dev/cdrom /media/cdrom
cd cdrom
sh VBoxLinuxAdditions.run
Check my answer on SuperUser 😉
New contributor
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– mature
Feb 18 at 17:56
Not being "better", but also not wrong, deserves a downvote? Last time (yesterday) I wrote the same answer on two different questions I got downvoted too.. 😕 Anyway, I added the relevant commands for the solution.
– Kamafeather
Feb 18 at 18:08
add a comment |
I solved by manually mounting the image (after adding the Device and the ISO according to the Dave Rose's answer) and running the installer.
sudo su
cd /media
mkdir cdrom
mount /dev/cdrom /media/cdrom
cd cdrom
sh VBoxLinuxAdditions.run
Check my answer on SuperUser 😉
New contributor
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– mature
Feb 18 at 17:56
Not being "better", but also not wrong, deserves a downvote? Last time (yesterday) I wrote the same answer on two different questions I got downvoted too.. 😕 Anyway, I added the relevant commands for the solution.
– Kamafeather
Feb 18 at 18:08
add a comment |
I solved by manually mounting the image (after adding the Device and the ISO according to the Dave Rose's answer) and running the installer.
sudo su
cd /media
mkdir cdrom
mount /dev/cdrom /media/cdrom
cd cdrom
sh VBoxLinuxAdditions.run
Check my answer on SuperUser 😉
New contributor
I solved by manually mounting the image (after adding the Device and the ISO according to the Dave Rose's answer) and running the installer.
sudo su
cd /media
mkdir cdrom
mount /dev/cdrom /media/cdrom
cd cdrom
sh VBoxLinuxAdditions.run
Check my answer on SuperUser 😉
New contributor
edited Feb 18 at 18:06
New contributor
answered Feb 18 at 15:04
KamafeatherKamafeather
992
992
New contributor
New contributor
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– mature
Feb 18 at 17:56
Not being "better", but also not wrong, deserves a downvote? Last time (yesterday) I wrote the same answer on two different questions I got downvoted too.. 😕 Anyway, I added the relevant commands for the solution.
– Kamafeather
Feb 18 at 18:08
add a comment |
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– mature
Feb 18 at 17:56
Not being "better", but also not wrong, deserves a downvote? Last time (yesterday) I wrote the same answer on two different questions I got downvoted too.. 😕 Anyway, I added the relevant commands for the solution.
– Kamafeather
Feb 18 at 18:08
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– mature
Feb 18 at 17:56
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
– mature
Feb 18 at 17:56
Not being "better", but also not wrong, deserves a downvote? Last time (yesterday) I wrote the same answer on two different questions I got downvoted too.. 😕 Anyway, I added the relevant commands for the solution.
– Kamafeather
Feb 18 at 18:08
Not being "better", but also not wrong, deserves a downvote? Last time (yesterday) I wrote the same answer on two different questions I got downvoted too.. 😕 Anyway, I added the relevant commands for the solution.
– Kamafeather
Feb 18 at 18:08
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f573596%2funable-to-install-guest-additions-cd-image-on-virtual-box%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
What is your host OS? There are no guest additions for MacOS.
– Takkat
Jan 14 '15 at 8:19
OS is MAC. Have installed Ubuntu on Virtual Box.Thank you!
– Rads
Jan 14 '15 at 9:14
possible duplicate of How do I install Guest Additions in a VirtualBox VM?
– Eliah Kagan
May 9 '15 at 23:55