In my Virtualbox 6.1 I was running a Windows 10 Guest, everything worked flawlessly until lately my system upgraded. Somehow every time my systems makes a bigger upgrade, Virtualbox has issues starting, but I always managed to fix them by downgrading the Virtualbox software or the kernel. Until this time.
If I try to start Virtualbox 6.1 I get an error message “Failed to ceate the VirtualBoxClient Com object.” I removed and reinstalled several versions (6.1-versions) always with the same result. I tried different kernels 5.10, 5.4, 5.18 but never can get the Virtualbox software to start.
If I update my Virtualbox to 7.0, (Kernel 5.10) everything seems to be working normal, except, the software I use inside the Windows 10 Guest keeps crashing before it even starts. I reinstalled this software in the guest, even setted up a new Virtual machine with Windows 11, the software keeps crashing. Other programs I tried inside the Virtual machine seem to be working properly, just the one I need most for my work (KukaSim) won’t start and keeps crashing before it even opens.
I’m really desperate looking for a solution, could someone please help me out? Please let me know what information or command line outputs you need in order to help me. Since I tried several versions of Vitualbox and kernels I’m not sure what to provide.
did you create a new windows.vdi with virtualbox7 or do you use the vdi that’s created with 6.1 ? seems that vb7 isn’t that compatible to use windows.vdi files that had been created with previous versions.
I’m using the vdi that was created with 6.1, which runs but with issues. I noticed that also in some other software the dialog windows are looking weird, kind of messed up. But at least the software is not crashing.
Besides I created a new vdi (Windows 11 Guest) but I face the same problem ie my software is crashing.
Maybe an interesting side note: I already had some trouble with my Virtualbox before. A few months ago, my Virtualbox was updated to 7.0, after which my Windows Guest kept crashing, I was not able to boot anymore at all (I guess that had something to do with Hyper-V virtualisation) I didn’t manage to fix the problem so downgraded my Virtualbox again to 6.1 and prevented it from upgrading. Until now, that worked fine, just now the Virtualbox software doesn’t even start anymore as mentioned in my initial message.
it sounds a little bit off-topic but have you ever tried qemu/kvm ? i really suggest that you check it out. it is more powerful than the “free” virtualbox, more stable and much more flexible. please take some time to check out the tutorials of this guide, he made a lot and very good ones that gives you an impression:
I tried to install linux61, but did not succeed… As always when an upgrade is performed, I’m not only facing issues with my Virtualbox but also with my nvidia-drivers. I once downloaded a script file NVIDIA-Linux-x86_64-470.74.run from somewhere that fixes the problem (pc stops booting after selecting the version to boot) after an upgrade… I do not really have any idea of what I’m exactly doing, but it used to work . Not this time with Linux61 however.
Switching between 6.1 and 7.0 by the command sudo DOWNGRADE_FROM_ALA=1 downgrade virtualbox OR I also downloaded a package virtualbox-6.1.36-1-x86_64.pkg.tar.zst and the accompanying virtualbox-host-dkms-6.1.36-1-x86_64.pkg.tar.zst these I then install manually
well that looks good. X11 is a good base for virtual systems and the nvidia-driver works properly. this should not be the problem. i’m off for the next hours but i’ll look forward here. as i already mentioned the kvm/qemu system is a way more superior to virtualbox, maybe you give it a try.
Well, quite some things happened over the last couple of days…
I tried to install the qemu system. I followed the guide from Pavol Elsig as you recommended, downloaded and executed his script, after which my PC didn’t boot again at all (stuck at manufacturer logo) I messed around a little with the graphics drivers and managed to boot my laptop again, surprisingly my Virtual Box was suddenly working again as it should! So now I’m on Linux61 with a working Virtualbox 7.0.6. running a Windows10 Guest, basically problem solved,
BUT…
Somehow I messed up my Nvidia drivers. I guess it has to do with the installed virtualisation. I can not open the nvidia-settings menu anymore (well I can open it, but there is nothing to set up) also nvidia-smi gave an error message that it couldn’t communicate with the nvidia-driver. I have an external monitor that I would like to use as before, but I can’t get it to work. So I ended up in trying to remove all graphic drivers, trying to install just what I need properly, without succes until now.
I read a lot of forums, they all say the same, remove the drivers with mhwd -r pci name-of-the-driver and reinstall with the same command. I tried several times and drivers, but can’t get it to work. Is there any way to clean up all the graphic-drivers mess I created and properly install just what I need?
Please let me know what kind of outputs are needed in order to fix my issues. Thanks a lot.