当前位置:网站首页>不能改变虚拟机电源状态报错解决方案
不能改变虚拟机电源状态报错解决方案
2022-06-24 07:06:00 【Ly.Leo】
1 系统环境
| 系统 | 名称 | 版本 |
|---|---|---|
| 主系统 | Ubuntu | 18.04LTS |
| 虚拟机 | VMware Workstation 16 Pro | 16.1.0 build-17198959 |
| 虚拟系统 | Windows | 10 x64 |
2 问题描述
虚拟系统死机,然后强制关闭虚拟机,之后再次启动虚拟机运行虚拟系统,首先加载系统比较慢,其次开机就会报错:
Unable to change virtual machine power state: Failed to power on '/{虚拟机文件路径}
3 原因分析
即便关闭所有虚拟机,虚拟系统所在目录也会有一个.vmdk.lck文件,其中包含一些系统虚拟硬盘的锁定信息,因为该文件的存在,当你再次运行虚拟机时,它会检测到虚拟磁盘已经被锁定,所以你将无法进行访问,也就无法改变电源状态。
4 解决方案
进入你虚拟机文件(.vmx文件)所在目录,空白处右击,在终端中打开,强制停止并强制启动虚拟机【参考自这里】
vmrun stop {
你的虚拟机文件名}.vmx
vmrun start {
你的虚拟机文件名}.vmx
如果仍然不起作用,这时候你需要重启主系统,因为有可能是主系统休眠导致的问题【参考自这里】,再次按照上面的指令操作。
边栏推荐
猜你喜欢

Vscode install the remote -wsl plug-in to connect to the local WSL

What is the future development trend of Business Intelligence BI

Send custom events in QT

教程篇(5.0) 08. Fortinet安全架构集成与FortiXDR * FortiEDR * Fortinet 网络安全专家 NSE 5

数据库迁移从PostgreSQL迁移到 MYSQL

rpiplay实现树莓派AirPlay投屏器

Distributed | how to make "secret calls" with dble

ZUCC_ Principles of compiling language and compilation_ Experiment 05 regular expression, finite automata, lexical analysis

为什么ping不通,而traceroute却可以通

【关于运维和网工的差别,一文说透】
随机推荐
Rescue system -- the application of read-write separation
PHP code encryption + extended decryption practice
Introduction to data platform
JS to get the last element of the array
Earthly container image construction tool -- the road to dream
项目部署相关
JUC personal simple notes
Rust procedure macro simply imitates Lombok function
String to Base64
饼状统计图,带有标注线,都可以自行设定其多种参数选项
關於ETL看這篇文章就够了,三分鐘讓你明白什麼是ETL
Shell basic operator -- arithmetic operator
QT source code analysis -- QObject (2)
(pkcs1) RSA public private key PEM file parsing
orb slam build bug: undefined reference to symbol ‘_ ZN5boost6system15system_ categoryEv‘
【团队管理】测试团队绩效管理的25点小建议
Common misconceptions in Tencent conference API - signature error_ code 200003
How to configure networkpolicy for nodeport in kubernetes
Earthly 容器镜像构建工具 —— 筑梦之路
微博撰写-流程图-序列图-甘特图-mermaid流程图-效果不错