Having trouble installing Virtualbox through the Zorin repository

It shows a critical error when loading a virtual machine. Any workarounds for this?

Can you please relay what you were doing to install and what the critical error was?

It didn't specify what the error was. I'm trying to run:
VirtualBox Graphical User Interface Version 6.1.50_Ubuntu r161033

I was installing it through the briefcase.

Run or install?

Virtualbox , especially guest actions, do not work very well in Wayland. Recommend logging in on Xorg.

Let's try installing. To make things easy, let's use terminal (you can copy and right click paste the commands):
We will ensure nothing is broken, first.

sudo apt --fix-broken install

Install V.B.

sudo apt install -y virtualbox virtualbox-dkms virtualbox-guest-additions-iso

Please relay if any errors are shown in the terminal.

Can you attach the VBox.log you can find in ~/worf/VirtualBox VMs/Debian/Logs and post it here using something like Mega or Pastebin?

From your log:

00:00:04.014003 VMMDev: Guest Log: BIOS: Booting from CD-ROM.
00:00:04.014709 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:00:04.015338 !!         VCPU0: Guru Meditation -2708
 (VERR_VMM_SET_JMP_ABORTED_RESUME)

Is hardware virtualization enabled in your BIOS settings?
From what I can tell, this error appears with later kernels when using Virtualbox version 6.

Upgrading to VirtualBox 7 which includes a fix, resolves for most users.
https://download.virtualbox.org/virtualbox/7.1.6/virtualbox-7.1_7.1.6-167084~Ubuntu~jammy_amd64.deb

@rocket77 I am very big on VM's and was using VBox which was fine for a while until updates would come out and then VM's would break etc.. then a new version of guest additions released something else would break etc etc - even the latest VBOX update broke many peoples vms and the only fix was to turn 3d acceleration off. but then you lose your video quality within the VM,
anyway, i spent many nights fighting with vbox and finally got fed up
tried virtual manager as well, but that requires more than normal tinkering to get things to work,
do your self a favour and get a copy of VMWARE Workstation ( free for personal use ) , what a world of difference and works well with ZORIN.
running a zorin VM and win 11 VM with no issues and simple to install vmware tools and keep things updated with a click of a button. very nice to use.
cheers!

1 Like

I agree with this. There are many Virtual Managers a person can use.
I must say, I abandoned VirtualBox long ago... Oracle is not the company it once was.

1 Like

@evillone @Aravisian I took your advice, but now I need to be able to use it with secureboot enabled.

:expressionless:

You have Secure Boot enabled?

That... can cause the exact error you have.

What is your terminal output for

sudo dmesg | grep -i 'vbox'

VirtualBox requires vboxdrv, vboxnetflt, vboxnetadp, vboxpci to init at boot and if Secure Boot blocks them... you can get VERR_VMM_SET_JMP_ABORTED_RESUME

No, still doesn't work on virtualbox.

How do you set up vmware with securedboot?

I am not sure; I have never used VMWare. I tried it out, but grew tired of chasing Kernel modules...
I have used QEMU and Boxes.

That said, I am certain that there are many guides available on the web for configuring VMWare Ubuntu 22.04 Secure boot

I have to disagree on virt-manager which I moved to in 2020 on Devuan. I've only experienced issues with virtual-networking element, but a lot easier than virtual box. I was able to import a .vhd of Windows 7 Pro into virt-manager converted it to a .qcow2 and even managed to upgrade it toWindows 8.1 Pro in 2021.

Plus I thought Workstation is a paid for product with only player being free. I'd rather avoid proprietary software.

as of late VMware workstation is free for personal use

1 Like

From Brave A.I.:

VMware Security Issues

VMware has faced several security issues, including recently exploited flaws that have led to code execution and information disclosure. Broadcom, the company behind VMware, has released patches for these vulnerabilities, which include a critical bug rated CVSS 9.3, an arbitrary write vulnerability, and an information disclosure vulnerability. These issues have been actively exploited in the wild, and federal civilian agencies are required to patch them by March 25, 2025, according to the U.S. Cybersecurity and Infrastructure Security Agency (CISA).

Virtualization itself introduces security risks such as virtual machine sprawl, where VMs are created for specific workloads and then abandoned, leading to potential security vulnerabilities. Additionally, VMs are susceptible to viruses, malware, and ransomware attacks, which can spread across the entire virtual infrastructure without adequate isolation and security controls.

To mitigate these risks, organizations should implement policies and procedures for managing VMs throughout their lifecycle, enforce encryption for offline VM images and backups, and use access control systems to restrict access to administrators and authorized users. Using a VM management solution like VMware vSphere can also help maintain the virtual infrastructure and ensure proper resource allocation and security patch installation.

It's important for organizations to apply the latest patches and follow best practices to protect their virtual environments from exploitation.