SpaceinvaderOne / Macinabox

Unraid docker image to help install MacOS vms
398 stars 72 forks source link

Container doesn't completely fix XML #84

Open tomyslo1 opened 2 months ago

tomyslo1 commented 2 months ago

Hi,

I installed MacOS Sonoma with the new updated script. I passed through a SATA controller, and then ran the Docker container to fix the XML. After that the noVNC graphics weren't working anymore. It said Guest has not initialised the display (yet).

I had to go to the XML and edit the bus parameter from 0x08 to 0x00 for the VNC to start working:

    ...
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x08' slot='0x01' function='0x0'/>
    </video>
    ...

to

    ...
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    ...

After that my SATA controller was still not being seen, so I had to do the same for it - change the bus to 0x00.

If you need any additional information, I'll happily provide it!

Have a nice day! Tomy

clb92 commented 1 month ago

Just changing bus to 0x00 does not work for me. It says "XML error: Attempted double use of PCI Address 0000:00:01.0".

However changing bus to 0x00 AND slot to 0x04 worked for me (I looked through the XML and found that no other element used slot 0x04 on bus 0x00)

tomyslo1 commented 1 month ago

Just changing bus to 0x00 does not work for me. It says "XML error: Attempted double use of PCI Address 0000:00:01.0".

However changing bus to 0x00 AND slot to 0x04 worked for me (I looked through the XML and found that no other element used slot 0x04 on bus 0x00)

You're right, I forgot to include that part - sorry!

xcellentavi commented 1 month ago

If you are an unRaid user and are experiencing the same problem Guest has not initialiszd the display (yet) please make sure you are running version 6.12.13 or later. Some users have been running older version and it was not properly fixing the XML.