当前位置:网站首页>不能改变虚拟机电源状态报错解决方案
不能改变虚拟机电源状态报错解决方案
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
如果仍然不起作用,这时候你需要重启主系统,因为有可能是主系统休眠导致的问题【参考自这里】,再次按照上面的指令操作。
边栏推荐
- 教程篇(5.0) 08. Fortinet安全架构集成与FortiXDR * FortiEDR * Fortinet 网络安全专家 NSE 5
- Common misconceptions in Tencent conference API - signature error_ code 200003
- xargs使用技巧 —— 筑梦之路
- Application of tidb in Netease games
- One development skill a day: how to establish P2P communication based on webrtc?
- Ordering of MySQL composite index
- IIS build wordpress5.7 manually
- Three ways to uninstall Symantec Endpoint Protection Symantec
- Two methods of QT exporting PDF files
- 获取屏幕宽高工具类
猜你喜欢

ZUCC_编译语言原理与编译_实验06 07 语法分析 LL 分析

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

關於ETL看這篇文章就够了,三分鐘讓你明白什麼是ETL

数据库迁移从PostgreSQL迁移到 MYSQL

input的聚焦后的边框问题

New technology practice, encapsulating the permission application library step by step with the activity results API

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

ZUCC_ Principles of compiling language and compilation_ Experiment 02 fsharp Ocaml language

Qt 中发送自定义事件

ZUCC_ Principles of compiling language and compilation_ Experiment 08 parsing LR parsing
随机推荐
Shell pass parameters
The pie chart with dimension lines can set various parameter options
获取屏幕宽高工具类
数据库,查询本月借出书的数量,如果高于10本时,显示“本月借出书大于10本”,否则显示“本月借出书小于10本”
Glusterfs replacement failure brick
leetcode 1268. Search Suggestions System(搜索推荐系统)
rsync做文件备份
Using skills of xargs -- the way to build a dream
Increase insert speed
表单图片上传在Chorme中无法查看请求体的二进制图片信息
leetcode 1642. Furthest Building You Can Reach(能到达的最远的建筑)
为什么ping不通,而traceroute却可以通
Qt 中发送自定义事件
How to implement approval function in Tekton
How to configure networkpolicy for nodeport in kubernetes
Send custom events in QT
RuntimeError: Missing dependencies:XXX
rpiplay实现树莓派AirPlay投屏器
Rust procedure macro simply imitates Lombok function
Cloudbase database migration scheme