Problem after upgrading to beta3

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
bleedingout
Posts: 10
Joined: 29. Dec 2007, 19:09

Problem after upgrading to beta3

Post by bleedingout »

Hi,

Im running VB on my Mac with Version 10.4.11 (Tiger).
I´ve just upgraded from beta 2 to beta 3.

I´ve installed two guest systems, Linux (Kanotix) and WinXP.
Both do not start anymore.

Error Message Kanotix:

Code: Select all

Could not load the settings file '/Users/rainer/Library/VirtualBox/Machines/Kanotix/Kanotix.xml'.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.


Fehlercode:
0x80004005
Komponente:
VirtualBox
Interface:
IVirtualBox {64f652cb-7fdf-482d-ae19-4dbb289a5ca0}
ErrorMessage XP:

Code: Select all

Could not load the settings file '/Users/rainer/Library/VirtualBox/Machines/XP/XP.xml'.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.
Element '{http://www.innotek.de/VirtualBox-settings}Port': The attribute 'hostMode' is required but missing.


Fehlercode:
0x80004005
Komponente:
VirtualBox
Interface:
IVirtualBox {64f652cb-7fdf-482d-ae19-4dbb289a5ca0}

the xml-files are there where they should be but there is no line containing something like "hostMode".

what can I do?

Thanks a lot in advance
m@riposa
Volunteer
Posts: 137
Joined: 29. Nov 2007, 00:11

Post by m@riposa »

The XML-Configs seem to have become incompatible.

I think the safest way is to delete the whole directory in ~/Library/VirtualBox/Machines. Then you can set up a new VirtualMachine using the Assistant. You only have to choose the still existing vdi-File as your Boot Hard Disk (here to find: ~/Library/VirtualBox/VDI). After reconfiguring your VM everything should work fine again.

If Windows boots into a blue screen try this: Settings->General->Advanced->IDE Controller Type->PIIX3
bleedingout
Posts: 10
Joined: 29. Dec 2007, 19:09

Post by bleedingout »

If Windows boots into a blue screen try this: Settings->General->Advanced->IDE Controller Type->PIIX3
oh, thank you :-) 20 minutes too late. I had the bluescreen and set up windows completely new ;-)
swiney
Posts: 10
Joined: 14. Jan 2008, 03:55

Post by swiney »

AT YOUR OWN RISK!!!!! do the following: (consider yourself forewarned if something goes bad)

I had the same error and hand edited the .xml file for my virtual machine (but don't do while virtualbox is running... quit first.)

* make a backup copy of the .xml file that virtualbox is complaining about

* load the .xml file that virtualbox is complaining about in your favorite editor.

* Look for the line <Uart>

* Below it, you should see lines like this:

Code: Select all

<Port enabled="false" IOBase="0x3f8" IRQ="4" slot="0" />
* Add to each line, to make it look like this:

Code: Select all

<Port enabled="false" IOBase="0x3f8" IRQ="4" hostMode="Disconnected" slot="0" />
Now quit the editor, and try to run virtualbox
mbrowne
Posts: 2
Joined: 28. May 2008, 03:35

Thanks for the suggestions

Post by mbrowne »

Thanks for the suggestions! They worked great... note that the "slot" value will be different on different lines (you should maintain this). Also, if you created a new machine, as I did, you can copy the UUID (I think that's what it's called... I mean the long string of numbers in { } brackets) from the newly generated XML file over to your previous file.... then VirtualBox should be able to upgrade the file for you without a problem.

I think that may have been confusing; feel free to ask for clarification.
Post Reply