Porting a (former) physikal XP

Discussions about using Windows guests in VirtualBox.
wkjlhjl
Posts: 11
Joined: 24. Jan 2010, 04:22
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP

Porting a (former) physikal XP

Post by wkjlhjl »

Hey there.

So now I have a .vhd created from a physikal XP partition.

Porting it to VB worked pretty good, no Blue-Screen at first. But it wa steribly slow, because of IO ACPI.

using this guide:

http://ubuntuforums.org/showthread.php?t=769883

I disabled IO ACPI in VM, shutdown, edit the xml, restartet -> ERROR
then I wanted to reinstall (XP safe mode) IO ACPI- But I could only install ACPI w/o IO ACPI or Standard PC. So I took standard PC-> BSOD.
After another restart to safe mode, I could only install standard-PC, not even remove it anymore.

So what to do now?

I now restored the "original" .vhd, before using the guide - any ideas?!

regards
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Porting a (former) physikal XP

Post by MarkCranness »

Use HALu to change the XP HAL, and change it to 'Advanced Configuration and Power Interface (ACPI) PC', then unset (or not) IO APIC (actually, once you have the correct HAL it does not matter what the IO APIC setting is).
wkjlhjl
Posts: 11
Joined: 24. Jan 2010, 04:22
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP

Re: Porting a (former) physikal XP

Post by wkjlhjl »

Just another method that didn't work:

uses HALu (3rd entry "ACPI PC"), no restart.
Shut down the VM
diables IO ACPI
restarted VM
->freeze on boot

reenabled io apic->VM woks fine

so it seems like HALu didnt change a thing?!

Device Manager still says ACPI multiprocessor PC!

so i tried HALu again, this time telling it to restart -> nothing happend, had to restart manually.

after reboot device manager still says ACPI multiprocessor PC
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Porting a (former) physikal XP

Post by mpack »

HALu definitely works, I've used it several times over the last few days, though I've only tried the "ACPI Multiprocessor PC" (on two physical installations), and "ACPI Uniprocessor PC" in one VM - the latter precisely so I could turn off the IO-APIC feature. XP Pro SP2 in the first two cases, the latter was XP Home SP2.

Was this a migration of a standard (legit) XP install?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Porting a (former) physikal XP

Post by Perryg »

Of course this all depends on the fact that you must have VT-x/AMD-v enabled in the guest and that you have hardware-v enabled in the bios of the host.
Multiprocessor support depends on these features. If you don't then it might be better to switch to uniprocessor in the guest.
Disable VT-x/AMD-v, as well as IO APIC. Reboot the guest in safe mode and see if you can change the ACPI Multiprocessor PC to ACPI Uniprocessor PC
wkjlhjl
Posts: 11
Joined: 24. Jan 2010, 04:22
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP

Re: Porting a (former) physikal XP

Post by wkjlhjl »

Also tried Uniprozessor, didnt work

Im using SP3, youre only talking about SP2 as I read, maybe that causes the problem?!....
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Porting a (former) physikal XP

Post by mpack »

wkjlhjl wrote:Im using SP3, youre only talking about SP2 as I read, maybe that causes the problem?!....
I mentioned SP2 in order to provide complete information, but I doubt it makes a difference. If you were using Vista or Win7, or an n-lited XP then I might understand why HALu didn't work. All it does is copy and rename a couple of files, it isn't rocket science. I'd hope you would get an error message if the files being copied don't exist.

Are you running in admin mode btw (in the XP guest I mean)?

And is the drive totally normal? Are you using snapshots, writethrough / immutable, anything like that?
wkjlhjl
Posts: 11
Joined: 24. Jan 2010, 04:22
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP

Re: Porting a (former) physikal XP

Post by wkjlhjl »

the 1st time i didnt, the second time (the uniprocessor stuff) i made a snapshot
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Porting a (former) physikal XP

Post by MarkCranness »

wkjlhjl wrote:so it seems like HALu didnt change a thing?!
Make sure you unzip the contents (ALL files in the ZIP file) to a local folder on the guest and make sure that folder does not have spaces in the pathname.
- Known issues:
HALu will not work when installed/copied to a folder with spaces in the pathname.
wkjlhjl
Posts: 11
Joined: 24. Jan 2010, 04:22
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP

Re: Porting a (former) physikal XP

Post by wkjlhjl »

LOL i cannot believe it - who codes tools without space-path support?
without any warning and telling everything is fine.....

reboot is working now, too!

I ran the tool from my desktop, and there are spaces in "users" Folder in my language/windows locale ....

so what happend now is:

HALu successful (again), restart worked ->
after restart acpi multipocessor pc was installed again
shutdown
diabled io acpi
-> freeze on boot

so now:
HALu again
NO RESTART, but shutdown
diabled io acpi
-> FREEZE ON BOOT

shutdown, reenable io acpi, booted
tried same procedure with uniprocessor acpi - > same result....





btw:There aint no snapshot anymore!
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Porting a (former) physikal XP

Post by MarkCranness »

These HALs require IO APIC enabled and will likely have (based on my experience) host CPU usage problems:
ACPI Multiprocessor PC (HALu=ACPI Multiproccesor PC)
ACPI Uniprocessor PC (HALu=ACPI Uniproccesor PC)

This HAL doesn't care about IO APIC and will not have host CPU usage problems:
Advanced Configuration and Power Interface (ACPI) PC (HALu=ACPI PC)
wkjlhjl
Posts: 11
Joined: 24. Jan 2010, 04:22
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP

Re: Porting a (former) physikal XP

Post by wkjlhjl »

Well, thought so, but wanted to test uniprocessor, as I wrote before, both settings didnt work out
wkjlhjl
Posts: 11
Joined: 24. Jan 2010, 04:22
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP

Re: Porting a (former) physikal XP

Post by wkjlhjl »

Nobody else?

Does nbody have an idea why HALu may not work properly with my XP?
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Porting a (former) physikal XP

Post by MarkCranness »

wkjlhjl wrote:I ran the tool from my desktop, and there are spaces in "users" Folder in my language/windows locale ...
Does nbody have an idea why HALu may not work properly with my XP?
Just to be clear: Have you tried unzipping the HALu ZIP file, all 5 files contained within it, to a new folder C:\HALu in the root of your guest's C: drive and tried it there?
If you have, then is there a C:\WINDOWS\Driver Cache\i386\sp3.cab file on your PC?
wkjlhjl
Posts: 11
Joined: 24. Jan 2010, 04:22
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win XP

Re: Porting a (former) physikal XP

Post by wkjlhjl »

sp3 exists.

what 5 files are you talking about? there are only 4 in zip:

HALu.exe
halu.jpg (maybe .jpeg)
handleiding.txt
devcon.exe
Post Reply