LoginSignup
14

More than 5 years have passed since last update.

VirtualBoxにあるCentOS7で[Insert Guest Additions CD image...]を押下したら Unable to insert the virtual optical disk となった時の確認方法

Posted at

MacのVirtualBoxに作った仮想マシンへGuest Additionsをインストールする をしていた時のしくじりです。

環境

  • VirtualBox : Version 5.1.22 r115126 (Qt5.6.2)
  • ホストOS : macOS Sierra Virsion 10.12.5
    • 操作は基本的にホストOSからTerminalでSSH接続して行いました。
  • ゲストOS : CentOS Linux 7.3.1611(Core)

事象

  1. [Devices] > [Insert Guest Additions CD image...]を押下したものの何も反応がない?
  2. もう1度、[Devices] > [Insert Guest Additions CD image...]を押下したらエラーが発生しました。
Unable to insert the virtual optical disk /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the machine CentOS7.
Could not mount the media/drive '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).

Screen Shot 2017-07-11 at 23.48.38.png

原因 : 既に追加されているから:flushed:

確認 : 追加されていることを確認する

  1. [Oracle VM VirtualBox Manager]で対象の仮想マシンを選択します。
  2. [Strage]リンクを押下します。
  3. [Controller IDE]に[VBoxGuestAdditions.iso]が表示されています。 Screen Shot 2017-07-11 at 23.58.26.png

参考にさせて頂いたサイト様

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14