The specified virtual disk needs repair.

如题:

出现场景:使用了VMWare虚拟机,创建了一个虚拟硬盘位20G的虚拟机器,安装了ubuntu12.10操作系统,然后往其中copy了一个文件大小大概在十几G的文件,提示控件不足,然后去扩展虚拟磁盘空间,提示这个错误。

原因:虚拟磁盘文件损坏。

解决:使用vmware-vdiskmanage.exe工具来进行修复。

过程:

1)在vm的安装目录找到vmware-vdiskmanager.exe程序,如果没有,则请自己从网络上下载一个。

2)在cmd命令行使用该程序,假如你的错误提示有提示具体某个文件出错,那么就具体修复某个文件。

比如提示这个文件:D:\vm\install\machine\ubuntu\123456.vmdk

那么就运行下面命令:vmware-vdiskmanager.exe -R "D:\vm\install\machine\ubuntu\123456.vmdk"

3)如果没有提示具体的文件,那么就请修复和你建立的机器名同名的vmdk文件,比如我的是gavinguo-ubuntu.vmdk。


good luck!

The "The specified JRE installation does not exist" exception typically occurs when there is a mismatch between the Java Runtime Environment (JRE) configuration in your project and the actual JRE installation on your system. Here are a few possible reasons and solutions for this issue: 1. Incorrect JRE configuration in Eclipse: - Open the project properties in Eclipse by right-clicking on the project and selecting "Properties". - Go to "Java Build Path" and check the "Libraries" tab. - Ensure that the correct JRE is selected. If not, click on "Add Library" and select the appropriate JRE. - Clean and rebuild your project. 2. Incorrect JRE configuration in Tomcat: - Open the Tomcat server configuration in Eclipse by double-clicking on the server in the "Servers" view. - Go to the "Java" tab and check the "JRE" section. - Ensure that the correct JRE is selected. If not, click on "Installed JREs" and add the appropriate JRE. - Restart the Tomcat server. 3. Multiple JRE installations: - Check if you have multiple JRE installations on your system. - Make sure that the JRE you are using for your project is the same as the one you have installed and configured in Eclipse and Tomcat. 4. Environment variables: - Check if the JAVA_HOME environment variable is set correctly. - Ensure that the PATH environment variable includes the bin directory of the JRE installation. 5. Reinstalling JRE: - If none of the above solutions work, try reinstalling the JRE and make sure to configure it correctly in Eclipse and Tomcat.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值