r/virtualbox 4d ago

Help VirtualBox is one of the worst programs ever

I have had trouble with VirtualBox bugs for years. To start with, my computer would crash after going to sleep. It would wake on its own with a black screen and only a reboot would get it working again. I traced the problem to a VirtualBox driver. Then some months ago my computer stopped recognizing USB storage devices. I used an external USB drive for storing images and virtual disks, so I updated VirtualBox. Problem solved. But now VMs freeze after only running for minutes with my Windows VM having perhaps the shortest runtime (Linux VMs are not much better). I'm forced to power off the VM in many cases or even kill the hypervisor process. I updated today to version 7.2.16, but the problem still occurs. I've even uninstalled it completely and reinstalled it.

OS: Windows 10

CPU: AMD Ryzen

16 Upvotes

35 comments sorted by

u/AutoModerator 4d ago

This is just a friendly reminder in case you missed it. Your post must include: * The version of VirtualBox you are using * The host and guest OSes * Whether you have enabled VT-x/AMD-V (applicable to all hosts running 6.1 and above) and disabled HyperV (applicable to Windows 10 Hosts) * Whether you have installed Guest Additions and/or Host Extensions (this solves 90% of the problems we see)

PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

8

u/United_Federation 4d ago

I have Linux vms on a Linux host that have 1000s of hours of uptime. No troubles

6

u/FluffyComplaint10 4d ago

Never had a problem, used on win 7, win 10. Works fine for me. Maybe your hardware an issue.

4

u/Rayj002025 3d ago

Been using it for years on Win 10 and now 11. The only issues I've had were configuration related. Other then that, it runs like a charm. BTW, I only use Ubuntu VM's.

4

u/DaveX64 4d ago

A couple of things I've found running VB as Windows 10 host with Linux guests:

  • Every time I install an updated version of VB, I have to do a 'network reset'...in Windows 10 go in Settings, Network & Internet, at the bottom is 'Network Reset', click it and reboot (all programs closed, of course). I've found a lot of my crashing problems went away after that.
  • When you're initially setting up a Linux guest, for Display driver, choose 'VBoxSVGA' rather than 'VMSVGA'. I had no end of problems with VMSVGA, they all went away after I switched to VBoxSVGA. It will say 'Invalid Settings' when you choose it, ignore it. It doesn't allow as much ram for graphics but it's a lot more stable.
  • Make sure Hyper-V is turned off in Windows 'Programs & Features', 'Windows Features On or Off'.

Hope this helps :)

1

u/Humbleham1 4d ago

I do need WSL, so I'm sticking with Hyper-V and trying to convert my VDIs.

1

u/DaveX64 4d ago

VirtualBox and Hyper-V don't work together, that would be your problem.

4

u/djamp42 4d ago

VirtualBox on Ubuntu Works really really well IMO. I never have issues with the VMs i run.

1

u/Humbleham1 4d ago

Eventually, I'll make the switch from Windows, but there's too much that I depend on Windows for for now.

5

u/SurePea1760 3d ago

I like it, and have used it for years. And its free. Sure VMware or parallels might be better. But for a free app its great

6

u/Face_Plant_Some_More 4d ago

And? I mean if you are looking to vent, congratulations I guess. If you are actually looking for assistance, well, you have not really given us much to work with.

3

u/BranchLatter4294 4d ago

I've had VMs running for days. It's never been an issue.

3

u/LeslieH8 4d ago

Interesting, and I won't deny that it's all going wrong for you, but my VirtualBox list of VMs for this computer (I use multiple VM managers, and that's only counting Windows - Linux has more - I just find different VMs better with different VM managers) are:

Windows XP Pro SP3

Windows 7 Pro SP1

DOS 6.22 (I added CD-ROM and mouse drivers to it for reasons)

Linux Mint (two versions for reasons)

FreeDOS 1.3

OS/2

Haiku

Windows 95

Windows 98

Windows 98 SE

Windows 3.11

TrueNAS Core

FreeBSD

MacOS X 12 Monterey

Nyarch Linux

pfSense VM (VERY useful for having a 'router' to control VM machines that are only intended to work together)

Windows Server 2012 R2 (a VM for our Finance server)

Windows Server 2003 (a VM for our Active Directory server)

Another Windows 7 (a VM client for our Finance server)

Yes, I'm not using Windows 10 VMs or Windows 11 VMs, so maybe that's complicating things for you, but I can confirm that I am not having any trouble with VirtualBox. I also concede that some of those OSes aren't technically supported on VB, but they work, so I'm not going to rock the boat. I have some Windows programs that don't have newer (and compatible with newer OSes) drivers for some important devices that I use for work, so it's VMs and passthrough.

That said, you're clearly having issues, so maybe migrate to another VM host program?

6

u/ExplodedPenisDiagram 4d ago

KVM/QEMU via libvirt is a wildly superior hypervisor and orchestrator.

1

u/Humbleham1 4d ago

I do have it on a Linux laptop, but I'm stuck with Windows on my desktop for the time being.

2

u/Stray_Neutrino 4d ago

Never had problems with VB and Windows 10. Been using it without issue on the Host side for three years, running a mix of Windows and Linux guests.
Most problems can be attributed to running old versions and not uninstalling cleanly, reinstalling cleanly, and not deactivating Hyper-V correctly (Bios and OS)

Recently upgraded to an AMD CPU and GPU (from a ROG laptop I bought in 2015) and continue running without issue.

The only issues I ever encountered were usually Guest-side; nearly 100% issues were Audio driver related.

2

u/Humbleham1 4d ago

I missed the part where VirtualBox couldn't run alongside Hyper-V without problems or glossed over it. I don't want to give up WSL, so I uninstalled VirtualBox.

2

u/RMS65STC 4d ago

I use VBox frequently, but avoid the "additions".

2

u/Majestic-Tear1512 2d ago

Same issue. VirtualBox used to work great on Ubuntu host but last few years it’s very slow. So I went to the KVM camp and it’s blazing fast. Had to do all kinds of tweaks to get a similar virtualbox experience but it works now.

2

u/A1mixer 3d ago

Use proxmox

2

u/Humbleham1 2d ago

As soon as I get a dedicated server for a Type 1 hypervisor.

1

u/Yucky-Not-Ready 4d ago

been using it forever with mostly very good results but i did have some mac crashes lately after an apple update where my bridge network for an old XP machine would crash.

1

u/Next-Investigator897 4d ago

Yes. I upgraded to latest version recently. I found my debian vm froze and powered off and on.

2

u/Appropriate-Tennis78 2d ago

I use vbox for over 15years and never had this issues

1

u/benz738 2d ago

Check if your bios is configured properly?

1

u/TodayOk8894 2d ago

Yes...all was fine..now I can't use add on addition.....can't even capture a mouse...

0

u/Windows-XP-Home-NEW 4d ago

Not even close. Only good free virtual machine software for Windows.

1

u/HanHeld 3d ago

Before Windows 11 I would agree -personally I feel like choosing between running Virtualbox at full speed or being able to use WSL2 normally is some sort of devil's choice -and WSL2 wins, honestly.

-3

u/Windows-XP-Home-NEW 3d ago

What the hell is WSL2

1

u/HanHeld 3d ago

IYKYK

1

u/Justin_Passing_7465 3d ago

"Windows Subsystem for Linux"(2). It is running a copy of Linux under a Microsoft Hyper-V hypervisor. But unlike running an arbitrary OS image, this one is provided by Microsoft.

0

u/hker168 4d ago

Buy VMware workstation pro

2

u/35nick35 Insert tractor toilet paper 4d ago

You don't even need to buy it, it's been free for a while now. I've found VMWare to be way less brittle, more stable, and easier to use than VirtualBox ever was.

1

u/GoD0nkeys 3d ago

Yep. Works great for years now.

-2

u/FBSD_Virtual_machine 4d ago

I dont like virtual box myself. To each their own bur I really like bhyve in freebsd. It runs in the kernel and it doesn't have the stupid gui. Write the script and place the run command in your menu. It can't be beat in my opinion.