在公司尝试在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
【相關連結】
- 解决VirtualBox 3.0安装Windows 2000失败 | -= April 1985 =-
- Sun VirtualBox® Windows 2000 installation failures








留下回复