Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
背景
有些Windows Server 2008 X86版本的虚拟是在VPC下面制作并运行的,迁移到Hyper-V上运行的需求很强烈。但是直接使用VPC中的.vhd文件在Hyper-V中建立VM运行速度慢得出奇,需要使用些手段加以改善。
准备工作
使用VPC下的.vhd文件在Hyper-V下建立VM,VM中需要有CD-ROM,至少分配2个vCPU。在Hyper-V中启动该VM,请耐心等待,因为这时运行速度确实很慢。
操作步骤:
1. 在VM的“Control Panel\Programs\Programs and Features”中卸载“Virtual Machine AddOns”,提示reboot时千万不要重启
2. 在Hyper-V的VM管理界面中选择“Action”=>“Insert Integration Services Setup Disk”后自动完成“Integration Services”的安装,提示reboot时千万不要重启
3. 在VM中打开cmd窗口,输入msconfig命令,运行“System configuration”程序。选择“Boot”=>“Advanced Options”=>“Detect HAL”设置,关闭“System configuration”程序
4. 重新启动VM后,Hyper-V的Integration Services在Windows Server 2008 X86虚机下成功运行,VM运行速度恢复正常
--Jack提示,整个操作步骤只需要在最后reboot一次,如果中途reboot有可能丢失VM中键盘和鼠标光标的控制