当前位置:网站首页>不能改变虚拟机电源状态报错解决方案
不能改变虚拟机电源状态报错解决方案
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
如果仍然不起作用,这时候你需要重启主系统,因为有可能是主系统休眠导致的问题【参考自这里】,再次按照上面的指令操作。
边栏推荐
- [micro services ~nacos] Nacos service providers and service consumers
- Tencent cloud ASR product PHP realizes real-time voice authentication request
- 工具类
- The pie chart with dimension lines can set various parameter options
- "Wechat cloud hosting" first practical battle | introduction to minimalist demo
- Several schemes of PHP code encryption
- Easydss anonymous live channel data volume instability optimization scheme sharing
- 分布式 | 如何与 DBLE 进行“秘密通话”
- Glusterfs replacement failure brick
- api平台通用签名机制
猜你喜欢

Centos7 installation of jdk8, mysql5.7 and Navicat connection to virtual machine MySQL and solutions (solutions to MySQL download errors are attached)

pymysql 向MySQL 插入数据无故报错

2022.06.23(LC_144,94,145_二叉树的前序、中序、后序遍历)

JUC personal simple notes

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

Background management of uniapp hot update

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

ZUCC_ Principles of compiling language and compilation_ Experiment 01 language analysis and introduction

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

小黑ai4code代码baseline啃食1
随机推荐
PHP code encryption + extended decryption practice
OpenCV to realize the basic transformation of image
Summary of methods in numpy
Xtrabackup for data backup
什么是SRE?一文详解SRE运维体系
Easynvr and easyrtc platforms use go language to manage projects. Summary of the use of govendor and gomod
Three ways to uninstall Symantec Endpoint Protection Symantec
leetcode 1268. Search suggestions system
获取屏幕宽高工具类
[untitled]
xargs使用技巧 —— 筑梦之路
利用sonar做代码检查
表单图片上传在Chorme中无法查看请求体的二进制图片信息
【团队管理】测试团队绩效管理的25点小建议
What is the future development trend of Business Intelligence BI
Scheduled database backup script
【关于运维和网工的差别,一文说透】
Send custom events in QT
input的聚焦后的边框问题
MATLAB Camera Calibrator相机标定