探索小游戏运行的技术基础与市场趋势分析
897
2022-10-13
挂载ISO镜像弹出Answer Question后未回答导致虚拟机Suspend
在mount /dev/cdmnt /mnt挂载虚拟光驱,使用完成后卸载虚拟光驱,umount /dev/cdrom导致虚拟机hung住一段时间,具体解决方案
SymptomsWhen you disconnect the virtual CD/DVD drive without unmounting inside guest OS, you experience these symptoms:Linux virtual machine stops responding.Virtual machine does not respond until you answer the question:The guest operating system has locked the CD-ROM door and is probably using the CD-ROM, which can prevent the guest from recognizing media changes.If possible, eject the CD-ROM from inside the guest before disconnecting.Disconnect anyway and override the lock?" ResolutionThis is an expected behavior when a CD/DVD drive is locked by virtual machine.To work around this issue, use one of these options:Unmount the CD/DVD drive in the virtual machine before disconnecting.For example, run this command for Guest OS RHEL7:eject cdromAdd these entries to vmx file to answer the question automatically:To cause disconnection to fail------------------------------------cdrom.showIsoLockWarning = "TRUE"msg.autoanswer = "TRUE"------------------------------------To force to disconnect CD/DVD drive regardless of locking drive by virtual machine------------------------------------cdrom.showIsoLockWarning = "FALSE"msg.autoanswer = "TRUE"------------------------------------Note: For more information, see Tips for editing a .vmx file (1714).
详见官网链接:https://kb.vmware.com/s/article/2144053?lang=en_us
linux
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~