How to fix Ubuntu freezing in VirtualBox

If you're curious about Linux but don't want to completely replace macOS or Windows, running this operating system in a virtual machine is a great choice. VirtualBox is one of the most popular virtual machines for many reasons, one of which is because it's free.

Virtual machines are complex things and when something goes wrong, it's hard to know where the problem is. This is especially true if you are running Ubuntu and it freezes continuously. If this happens to you, trying to figure out what the problem is can be a hopeless effort.

Disable 3D Acceleration

Whether you are running Windows, macOS or even Linux, 3D Acceleration can cause problems in VirtualBox. While it may sound attractive, it rarely helps you achieve any real performance. If you encounter freezing, this is one of the first things you should try to disable.

How to fix Ubuntu freezing in VirtualBox Picture 1

In the left menu in VirtualBox, right-click on the Ubuntu virtual machine in which you are having trouble, then select Settings. Here, click the Display tab and make sure that the Enable 3D Acceleration option is not selected.

How to fix Ubuntu freezing in VirtualBox Picture 2

Change the number of virtual CPUs

Although regular computers only have one physical CPU, they still have multiple cores (cores) that act like many CPUs. However, VirtualBox, by default, will only display a virtual CPU, proven to cause problems with Ubuntu, especially recent versions.

How to fix Ubuntu freezing in VirtualBox Picture 3

If you experience freezing, you may want to increase the number of CPUs to 2 to 4. Right-click your virtual machine, select Settings, and then go to the System tab . Here, select the processor at the top of the section and raise the slider until the minimum number of CPUs is two.

Some other options

There are a number of other options that other users have found, which can solve the freeze problem. In the same section, where you can change the number of CPUs, there is an option to Enable PAE / NX . If this option is turned on, turn it off, or turn it on if it is turned off, this method may help solve the problem you are having.

How to fix Ubuntu freezing in VirtualBox Picture 4

You can also try changing your Paravirtualization settings. Go to Settings, then select System and Acceleration below it. Paravirtualization interface may be set to Default, but some users have better results when setting it to Minimal.

Try another version of VirtualBox

No program has errors and this is true for both Ubuntu and VirtualBox. Some users have discovered that different versions of VirtualBox and Ubuntu are sometimes incompatible with each other. If a certain version of Ubuntu never freezes in the past, you can try installing an older version of VirtualBox.

Otherwise, you can try to run a newer version of Ubuntu. Not only can you solve the freezing problem, but you can also get new features.

Hopefully, one of the options above solved the freezing problem you encountered with Ubuntu. If you still have difficulties, don't give up hope. Trying to combine the different options above may work for your case. Don't let a bad experience make you not use Linux or virtual machines anymore.

This article covers running Ubuntu in a virtual machine, but what about other options? If that's what you need, check out TipsMake.com 's tutorial on how to install and run VirtualBox on Ubuntu.

Hope you are succesful.

4 ★ | 400 Vote

May be interested

  • How to Create an Ubuntu Virtual Machine with VirtualBox (Mac)How to Create an Ubuntu Virtual Machine with VirtualBox (Mac)
    the following instructions will enable you to create an ubuntu virtual machine. they have been created specifically for a mac computer, but are essentially the same for windows. as you follow the instructions, you will see they have been...
  • QEMU or VirtualBox is the best solution?QEMU or VirtualBox is the best solution?
    choosing between qemu and virtualbox is a tough decision. you may have heard that qemu is more powerful than virtualbox. qemu can also intimidate you because of its rumored difficulty level.
  • Is VirtualBox safe or a security risk?Is VirtualBox safe or a security risk?
    virtualbox is a popular open source virtualization program used by individuals and businesses. if you've tried creating virtual machines on a windows or linux system, you've probably used this tool already.
  • What's New in Ubuntu 21.10?What's New in Ubuntu 21.10?
    version 21.10 is the latest release of ubuntu and although canonical is turning more attention to the cloud and developers, ubuntu 'impish indri' still comes with some notable changes for those users use the ubuntu desktop every day.
  • How to Install VirtualBox on LinuxHow to Install VirtualBox on Linux
    setting up a virtual machine can be a great way to test alternative software or operating systems on a computer without altering or putting the existing system at risk.
  • How to import and export OVA files in VirtualboxHow to import and export OVA files in Virtualbox
    virtualbox has a graphical application that you can use to create and manage your virtual machines easily on a desktop or workstation.
  • How to install Windows 11 on VirtualBox 7.0How to install Windows 11 on VirtualBox 7.0
    virtualbox 7.0 supports tpm 2.0 chip emulation and secure boot. the article will explain in detail how to install windows 11 directly on virtualbox without any registry hacks.
  • How to Install VirtualBoxHow to Install VirtualBox
    virtualbox allows creating virtual computers capable of running multiple operating systems without the need for dual boot mode or hardware configuration. installing virtualbox is not too complicated, most of the time is spent installing the standard operating system. see step 1 below for how to install virtualbox and the operating system.
  • Install VirtualBox in USB and run the operating systemInstall VirtualBox in USB and run the operating system
    what if we could choose to install and bring our chosen operating system into a usb drive?
  • How to install VirtualBox on an Apple Silicon MacHow to install VirtualBox on an Apple Silicon Mac
    if you don't want to spend money on something like parallels desktop to virtualize windows or linux on your mac, virtualbox is a great free alternative.