Page 1 of 1

Error loading operating System error when loading a XP Guest on a W10 Host.

Posted: 25. Oct 2019, 16:25
by MarkCallahan
Hi.

I have a VMware Pro 14 XP Virtual machine that runs perfectly on a Windows 10 Host.

I am trying to port the XP Virtual machine to VirtualBox 6.0.14, but every time I "start" the machine I get the "Error Loading Operating System" error, and the VirtualBox VM seems to get corrupted.

I Export the XP Virtual Machine from VMWare using the "Export to OVF" option in VMWare PRO and then Import the package into VirtualBox.

I have tried to configure the system to be the same in both environments, same memory (2G), Storage (SCSI, no IDE), Remove VMtools, Boot from HD only, but I still get the error message..

I was succesfully Exporting from VMWARE and Importing into VirtualBox a Windows 7 VM, after configuring the VM to be the same in both environments..

Any Ideas ?? Any Help is greatly appreciated !!

Regards,

Mark.

Re: Error loading operating System error when loading a XP Guest on a W10 Host.

Posted: 25. Oct 2019, 18:16
by mpack
Do you still have access to the original VMWare VM? If yes then I'd install the MergeIDE fix there, and uninstall the VMWare tools, then export. In the VirtualBox VM, before launching it, I'd switch the hd controller type to IDE.

I'd want more evidence on that claim that failure to launch corrupts anything.

A zipped VM log should be automatic when asking a question. With the VM fully shut down, right click it in the GUI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.

Re: Error loading operating System error when loading a XP Guest on a W10 Host.

Posted: 25. Oct 2019, 23:03
by MarkCallahan
Sorry for not including the Log, here it is..

I Will document the Failure to launch problem and run the MergeIDE Program..

Please let me know if you require any additional Logs..

Regards,

Mark.

Re: Error loading operating System error when loading a XP Guest on a W10 Host.

Posted: 26. Oct 2019, 10:41
by mpack
I've looked at the log and don't see anything else worth mentioning. The log does show the BIOS "Booting from hard disk" and then nothing, it's like there's no OS found on the hd.

A minor aside: your host can afford to give XP two cores, and it will run a lot smoother - but don't do it right now because XP does NOT automatically switch to a multi-cpu HAL when you add an extra core, you'd need to use a tool to swap HALs. Worth it though. Something to think about once you have the VM working.

So given that I see nothing else amiss, I'm going to stick with the previous advice: run MergeIDE on the original VM, uninstall the VMWare tools, change the hd controller type in the VirtualBox VM to IDE. That will remove the obscure SCSI config from the mix. If that doesn't do the trick then there would have to be something strange about the disk contents, e.g. requires another disk to be present.

Re: Error loading operating System error when loading a XP Guest on a W10 Host.

Posted: 30. Oct 2019, 16:43
by MarkCallahan
Hi, good afternoon,

I have tried changing the hard disk to IDE and mapping the dame disk image, removing vmtools and running MergeIDE, both the batch file and the reg file, but everytime I get the same error Message "Error loading Operting System". I have exported to OVF from VMWare and Imported as an appliance in VirtualBox.

I mentioned to you before that aparerntly Virtualbox was writing "something" to the original virtual machine making it unusable, this is how I can reproduce the problem:

1) I have a VMWare XP Virtual machine with no vmtools, and it works fine under VMWare 14 (Attachments 1 and 2).

2) I create a new Virtual maching with virtual Box, using an existing Virtual disk drive, the disk drive for the VMWare Machine.

3) Tried to run the Virtual Box machine and get the "Error loading operating system Error" (see attachment 3 and error log).

4) Close the VirtualBox machine and open the VMWare Machine, and now I get the same error on the VMWare machine (See Attachment 4).

What do you think I am doing wrong ???? I hope all this helps !!

If you need me to send you any additional info, please let me kwow...

Regards,

Mark.

PS - I could not upload the images that I wanted to show you, their size is 1.2 MB zipped, if you give me an email, I will gladly send them to you as well as any additional information that you may need.

Re: Error loading operating System error when loading a XP Guest on a W10 Host.

Posted: 2. Apr 2020, 10:24
by GernotH
Could be a disk geometry issue. What do you get when you compare the CHS (cylinder/heads/sectors) data from the original image and the imported VDI image, using the vbox-img command?

Code: Select all

vbox-img info --filename <image>.vmdk
vbox-img info --filename <image>.vdi