在深度Linux上虚拟了个XP,不能使用多核
Tofloor
poster avatar
baoding-fenshuajiang_Odoo
deepin
2017-06-28 19:24
Author
主板已开启虚拟化,深度Linux的VirtualBox上已设置XP使用4核,但在XP上只显示1核,想通过msconfig设置默认核数,发现只能设置1。
我是用的ghost版的XP。有在深度Linux下虚拟机安装XP开启多核成功的请说明下安装过程。
只用单核,虚拟的XP运行速度很慢,拜托大神帮忙!

Reply Favorite View the author
All Replies
avatar
baoding-fenshuajiang_Odoo
deepin
2017-06-28 19:46
#1
找到原因和解决办法了!晚上我试下。
The core (pun intended) issue is that Windows XP contains two kernels: single-core and multi-core. Likely, the guest OS only detected 1-core during installation and your Windows XP guest is running on the single-core hal and kernel. Follow the directions below to enable booting with the multi-core hal and kernel.

This worked for me (VirtualBox XP Pro)...

1) Go into c:\windows (your install path), search for sp3.cab. Open this cab file with 7-zip (although explorer may be able to natively open the file, if it can't then download 7-zip from sourceforge).

2) a) Extract halmacpi.dll to c:\windows\system32

b) Extract ntkrnlmp.exe to c:\windows\system32

3) Edit c:\boot.ini

Note: You will need to uncheck the Read-only property so you can save your changes. Set back to Read-only once complete.
Copy the line that looks like this:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /NoExecute=OptIn
Make the copied entry look like this:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP MultiCore" /fastdetect /NoExecute=OptIn /kernel=ntkrnlmp.exe /hal=halmacpi.dll
Now you have a dual-boot option to utilize single or multicore (TaskManager will show two CPU graphs if this was successful). If multicore boots and works properly, then you can delete the single core entry from boot.ini.
Reply View the author
avatar
baoding-fenshuajiang_Odoo
deepin
2017-06-28 19:48
#2
大家在装系统前注意在VirtualBox中先设置好多核,这样就不会出现我说的这个问题了。
Reply View the author