当前位置:网站首页>不能改变虚拟机电源状态报错解决方案
不能改变虚拟机电源状态报错解决方案
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
如果仍然不起作用,这时候你需要重启主系统,因为有可能是主系统休眠导致的问题【参考自这里】,再次按照上面的指令操作。
边栏推荐
- Xiaohei ai4code code baseline nibble 1
- 偶然间得到的framework工具类 自用
- leetcode 1642. Furthest building you can reach
- 更改SSH端口号
- Common date formatter and QT method for obtaining current time
- 【生活思考】计划与自律
- Video Fusion communication has become an inevitable trend of emergency command communication. How to realize it based on easyrtc?
- leetcode 1268. Search suggestions system
- The pie chart with dimension lines can set various parameter options
- 获取屏幕宽高工具类
猜你喜欢

liunx服务器 telnet 带用户名 端口登陆方法

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

成为IEEE学生会员

K8S部署高可用postgresql集群 —— 筑梦之路

K8s deployment of highly available PostgreSQL Cluster -- the road to building a dream

It is enough to read this article about ETL. Three minutes will let you understand what ETL is

Distributed | how to make "secret calls" with dble

Qt 中发送自定义事件

À propos de ETL il suffit de lire cet article, trois minutes pour vous faire comprendre ce qu'est ETL

Background management of uniapp hot update
随机推荐
Several schemes of PHP code encryption
5 minutes, excellent customer service chat handling skills
ZUCC_ Principles of compiling language and compilation_ Experiment 0607 grammar analysis ll analysis
xtrabackup做数据备份
Battle history between redis and me under billion level traffic
dataX使用指南
Ordering of MySQL composite index
等保备案是什么意思?应该去哪里办理备案?
À propos de ETL il suffit de lire cet article, trois minutes pour vous faire comprendre ce qu'est ETL
js中通过key查找和更新对象中指定值的方法
leetcode 1268. Search suggestions system
Vscode install the remote -wsl plug-in to connect to the local WSL
QPS, TPS, concurrent users, throughput relationship
K8S部署高可用postgresql集群 —— 筑梦之路
The reason why the qtimer timer does not work
ZUCC_ Principles of compiling language and compilation_ Experiment 03 getting started with compiler
[force deduction 10 days SQL introduction] Day3
QT source code analysis -- QObject (2)
There was an error checking the latest version of pip
Distributed | how to make "secret calls" with dble