VirtualBox安装Windows 2000不断重启

vm  在公司尝试在VirtualBox安装Windows 2000 Server时,每到复制文件的地方,就自动重启,屡试不爽,原以为是软件、硬件支持度的问题,本打算作罢,没想到竟然在Google找到了答案…

  而發生的原因竟然是太快了!這算是Windows 2000的一個bug擷取Sun官方說明如下

After issuing a hard disk request, there is a race condition in the Windows driver code which leads to corruption if the operation completes too fast, i.e. the hardware interrupt from the IDE controller arrives too soon. With physical hardware, there is a guaranteed delay in most systems so the problem is usually hidden there (however it should be possible to reproduce it on physical hardware as well). In a virtual environment, it is possible for the operation to be done immediately (especially on very fast systems with multiple CPUs) and the interrupt is signaled sooner than on a physical system.

因此,解決的方法也很簡單就是讓它慢一點…,執行指令

VBoxManage setextradata VMNAME        "VBoxInternal/Devices/piix3ide/0/Config/IRQDelay" 1

此值可以介於0~5單位是ms因此數值愈大延遲愈久
在安裝完系統後請將此值移除或改成0


【相關連結】

留下回复

您的电子邮件地址不会被公开. 必填项已标注 *

本网站使用 Akismet 来减少垃圾评论. 了解您的评论数据如何被处理.