Kernel panic when trying to install Ubuntu 23.04 on AMD Ryzen 9 7940HS

Just bought a new Asus TUF Gaming A17 laptop (AMD Ryzen 9 7940HS, 8-core/16-thread, 16 GB DDR-4800 RAM, Win11 Home).

I’m trying to install Ubuntu 23.04 in VirtualBox 7.06 and it is resulting in a kernel panic when it tries to boot the Ubuntu ISO.

How do I workaround this?

Your help is greatly appreciated.

Thank you.

You might try to update the bios to the latest version and make sure you have the virtualization setting enabled in the bios.

Try turning off Secure Boot in the BIOS.

BIOS has already been updated and it is confirmed that SVM is enabled.

I’m not sure if the laptop BIOS lets me do that.

(And/or if that would create/cause problems with the Windows 11 install that came with said laptop.)

Good point. If you have BitLocker enabled you need to make sure you have your recovery code available (either saved to your Microsoft account, saved to a file available outside of the workstation or printed out).

I have disabled BitLocker.

But right now, this is basically the issue that I am seeing:

Issues with Ubuntu VM on VirtualBox (7.0.10) inside Windows 11 on minisforum 7940hs based UM790 Pro

with three notable differences:

  1. I’m using an Asus TUF Gaming A17 laptop instead of a Minisforum mini PC (same CPU though)

  2. Said laptop has a RTX 4050 inside it as well, whereas the Minisforum mini PC doesn’t.

  3. I was using Virtualbox 7.06, but the issue remains the same (i.e. I still get this kernel panic).