Skip to content

introduction

A free and very much tested VM solution. Note there is a VirtualBox page in other/archive as well. But that might be out of date in some points.

troubleshooting

virtualbox.xml file location

It is in ~/.config/Virtualbox

disable sidebar notifications

disable sidebar
VBoxManage setextradata global GUI/SuppressMessages confirmGoingFullscreen,remindAboutMouseIntegration,remindAboutAutoCapture

This is from visit it says also to edit the ~/.config/Virtualbox/virtualbox.xml and make some alterations

Add/edit this line:
CODE: SELECT ALL   EXPAND VIEW
<ExtraDataItem name="GUI/SuppressMessages" value="confirmGoingFullscreen,remindAboutMouseIntegration,remindAboutAutoCapture"/>

note: between <ExtraData> and </ExtraData>

and delete these lines (if exists):
CODE: SELECT ALL   EXPAND VIEW
<ExtraDataItem name="GUI/NotificationCenter/Alignment" value="Top"/>
<ExtraDataItem name="GUI/NotificationCenter/Order" value=""/>

However these were already missing, so probably the VBoxManage command itself does that for you !?

Crackling sound

  • distorted sound
  • starting VM
  • host sound
  • hypervisor sound

Distorted sound on the hypervisor when starting a VM.

solution

The last solution i found was enable the sound card on the VM (disable would be a good guess but it does not help), And then change it from ICH AC97 to Soundblaster 16.

These cards probably work on different sample rates. And the problem might be that the host and VM samples rates don't mix well.

This solution has now worked from june 2022 ...

windows 10 VM install crashing and ANYTHING!!!

I tried 10 installs, and every time something else went wrong with mostly blue screens of death.

  • SYSTEM SERVICE EXCEPTION
  • KMODE EXCEPTION NOT HANDLED
  • MEMORY MANAGEMENT
  • errors in ntfs.sys
  • errors in storahci.sys

Stop trying !!!

solution

If you get in this situation consider upgrading virtual box to the latest version, or at least another version. I reinstalled to version

  • 6.1.36 r152435 (Qt5.6.1)

And all was resolved, so this is a working version. The crashing one was most likely

  • 6.1.20-143896 # DO NOT USE !!!!

Strange thing was it worked flawless for linux vms for a long time.

windows 11 VM

You can download a ready to use windows 11 VM for development (dev studio installed) from microsoft here : https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/

However it starts with this error

The computer restarted unexpectedly or encountered an unexpected error

This video solves it but also has some more tips so i include the link [https://www.youtube.com/watch?v=C1IfE1W6f3s]

In short :

shift - F10
regedit 
H_KEY_LOCAL_MACHINE
    system
        setup
            status
                childcompletion 1 -> 3

Then hit the ok button and it will continue.