[LINUX] Stumble when trying to share clipboard between VirtualBox and Mac

I was doing it because I didn't set the copy. Please say beyond the corpse.

environment

error contents

The fact that you arrived at this article means Share the clipboard and set drag and drop![Screenshot 2020-04-24 17.49.27.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/ 0/316620/c9ce3107-420c-d139-c77e-4ee3672d9438.png) Also set GuestAdditions.iso スクリーンショット 2020-04-24 17.57.32.png Press Device> insert Guest Additions CD ... ** GuestAddictionsCD not recognized (?) Error occurred. ** **

スクリーンショット 2020-04-24 18.05.40.png

Unable to insert the virtual optical disk /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the machine Kali-Linux-2018.4-vbox-amd64. Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED). Result Code: NS_ERROR_FAILURE (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed} Callee: IMachine {5047460a-265d-4538-b23e-ddba5fb84976}

The error content is that the Guest Additions CD cannot be mounted. ~~ Guest Additions CD image is already mounted: thinking: ~~

Solution

I tried mounting from CUI. Input command below

root@kali:~# cd /media/
root@kali:/media#  mkdir cdrom1
root@kali:/media# mount /dev/cdrom /media/cdrom1
root@kali:/media# cd /cdrom1
root@kali:/media/cdrom1# ./VBoxLinuxAdditions.run 
root@kali:/media/cdrom1# reboot 

[VirtualBox Unable to Install Guest Additions CD Image - 2019] I did it with reference to (https://www.youtube.com/watch?v=WiYNrx1Grak). I was able to do it this way. There are some that can be done by other methods, so please check it in detail.

Summary

Mounting the Guest Additions CD that didn't work for some reason. I wonder why ....: thinking: I went to the Amazon's hinterland to solve the mystery.

Reference link

Kali Linux 2017.1 on VirtualBox for Mac OS X (Cyber Security Programming (O'Reilly Japan)) Drag and drop files, bidirectional (virtualbox) [VirtualBox Unable to Install Guest Additions CD Image - 2019] (https://www.youtube.com/watch?v=WiYNrx1Grak) Unable to Install Guest Additions CD Image on Virtual Box Cannot install Guest Additions CD image in Virtual Box

Recommended Posts

Stumble when trying to share clipboard between VirtualBox and Mac
How to switch between Linux and Mac shells
How to share OS and Vim clipboard on Ubuntu 18.04.3 LTS
UnicodeEncodeError when trying to run radon
I got an error when trying to install Xgboost and its solution
Problems and solutions when trying to put rbenv with git submodule (also pyenv)