I mean you could just do wsl if all you want is the Linux env for coding and docker Answer from Blahblah1999430 on reddit.com
🌐
Reddit
reddit.com › r/ubuntu › should i just use a vm to run ubuntu on windows 11?
r/Ubuntu on Reddit: Should I just use a VM to run Ubuntu on Windows 11?
May 16, 2023 -

I was planning to completely erase Windows from my system and embrace the Linux life but I run into some issues.

I have a Sound blasterX AE-5 sound card that has no Linux support. I also have RGB keyboards and mice and case RGB LED that will be hard or impossible to workaround in a Linux system from what I see.

So I came to the conclusion that the best way to do this is by installing a VM and run things from in there.

I want Ubuntu for coding in environments such as VS Code and Android Studio. I also want to learn and use Docker at some point.

Relevant PC Specs:

CPU: i7 9700K (stock)

RAM: 16GB 3200 MHz

I am thinking about splitting my system assets between Windows 11 and Ubuntu with 4 cores and 8 GB of RAM each. Will this suffice? Especially with Android Studio I've seen that it can get very heavy on the CPU usage, so I hope that 4 cores will be plenty.

Another thing, I want to encrypt my entire DISC using Veracrypt. This will encrypt Windows 11 but will also include the VM and its data of course, as they are part of the Windows 11 OS. Will I run into any trouble at all?

🌐
Ubuntu
ubuntu.com › tutorials › how-to-run-ubuntu-desktop-on-a-virtual-machine-using-virtualbox
How to run an Ubuntu Desktop virtual machine using VirtualBox 7 | Ubuntu
In this tutorial, we’ll walk you through one of the easiest ways to try out Ubuntu Desktop on a virtual machine. VirtualBox is a general purpose virtualiser that is available across Linux, Mac OS and Windows.
Discussions

using Linux as virtual machine in Windows 11 (Ubuntu/mint on Hyper-v/VMware)
I have tried to run a linux on windows 11 through the use of Hyper-v [updated] and then VMware Workstation Pro but none works! For ubuntu 22.04 LST, after booting with "Try or Install Ubuntu", installation neither appears on the screen on the… More on learn.microsoft.com
🌐 learn.microsoft.com
1
4
How to create an Ubuntu VM on Windows 10 using Quick Create
Windows 10 is not just a modern desktop operating system, and it also has some great IT Pro and Developer related features build in. One of them is client... More on techcommunity.microsoft.com
🌐 techcommunity.microsoft.com
1
0
June 26, 2019
Windows 11 with Linux VM, Linux with Windows VM, or dualboot for me?
Run Linux with a Windows VM inside with a Linux VM inside. It is the only way. More on reddit.com
🌐 r/framework
43
23
January 29, 2024
[deleted by user]
I have tried running a linux desktop through WSL as well but it's a bit of an hassle and doesn't work for most part. So for a virtual desktop I would recommend using a virtual machine, like Virtualbox https://www.virtualbox.org/ More on reddit.com
🌐 r/linux4noobs
5
3
June 2, 2024
Top answer
1 of 4
3

It seems that your Windows 11 laptop is a recent enough model that it has more than enough disk space to support a dual boot. Dual booting Ubuntu 24.04 and Windows 11 is a much better option for the following reasons.

  • Running Windows 11 in a virtual machine will always have performance limitations compared to the preinstalled Windows 11.
  • ✅ Dual booting ensures that both operating systems run directly on the hardware, leading to better stability and reliability.
  • Dual booting allows for more efficient resource allocation between the two operating systems.
  • Applications that rely on specific hardware features or specific drivers might not function correctly in a virtualized environment.
  • Some software licenses restrict usage in virtual environments.

The second reason is the most important one. Time after time I have seen the VirtualBox guest OS fail with no option left except to reinstall the OS. This isn't such a big deal if the guest OS is Ubuntu, but I don't consider this to be acceptable if the guest OS is Windows because it takes too long to fully rebuild the whole pre-existing system.

2 of 4
1

"What should you do?" see the dual boot answer. You can install a Windows 11 VM on Ubuntu 24.04, I did that, but don't use it for much other than patches;^). Here's what I did for Win 11 24h2:

  1. Install the swtpm package. This will get the necessary software for the TPM check that Windows performs. In theory, you can run this manually, but the instructions I found didn't actually work -- virt-manger will automatically pick up and run this correctly (what it runs has many more parameters than the manual instructions).

  2. Download and hashcheck your selected Windows ISO. 24h2 has not actually been officially released yet, but is available for download. Try it, but maybe 23h2 is the one to select. These "feature updates" expire after two years (no more patches), so get the latest. Don't expect the later feature updates to be offered, expect to have to reinstall.

  3. The minimum VM is 50-55 GB, but the actual used space on a fresh install will take 25-30GB. The virt-manager install was straightforward, with the swtpm installed, it should just work.

  4. The "activation" = license will not be picked up from your base machine. An unactivated machine still gets all the patches and runs. Supposedly, after a trial period, the background becomes blue with an activation nag displayed. I don't find this happening on my Win 11 VMs (23h2 and 24h2) after many months -- maybe since I use them so little.

  5. The cheap "activation" keys (30) you see online may or may not work. Supposedly the keys are "scraped" off old machines or are OEM keys, but by the time you find they don't work, your refund will be rejected because you downloaded the key. Calling Microsoft and begging to have them unblock the key is never a part of the advertisement.

    The official keys cost 200, so if you insist on activation, the dual boot approach comes with the machine license.

🌐
Qualcomm
docs.qualcomm.com › bundle › publicresource › topics › 80-70017-41 › set-up-windows-subsystem-for-linux-on-windows-11.html
Set up an Ubuntu VM on Windows 11 using WSL - Qualcomm Linux Virtual Machine Setup Guide documentation
December 18, 2024 - Windows Subsystem for Linux (WSL) is a Windows feature that allows you to run Linux distributions on Windows, without using a virtualization software. Setting up WSL on Windows 11 involves the following tasks: ... You can only compile the Qualcomm Linux build using WSL. To flash the software on the Qualcomm Linux Development Kit, see Flash using PCAT from Windows host. Before setting up an Ubuntu VM using WSL, ensure that your Windows 11 host machine meets the following system requirements:
🌐
Eleven Forum
elevenforum.com › windows support forums › virtualization and wsl
Windows 11 Pro as a VM in Ubuntu | Windows 11 Forum
June 3, 2023 - I'm running Canary build W11 Pro on a laptop with an old i5 CPU which in Native mode fails W11 CPU test. As a VM on KVM/QEMU - works perfectly. More details -- this is for Debian and similar distros (Arch Linux, Ubuntu etc). ... Learn how you can Create Windows 11 Virtual Machine using VirtualBox and bypass the error This PC can’t run Windows 11.
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 2185108 › using-linux-as-virtual-machine-in-windows-11-(ubun
using Linux as virtual machine in Windows 11 (Ubuntu/mint on Hyper-v/VMware) - Microsoft Q&A
Similar to Ubuntu, ensure that the virtual machine settings are correctly configured, including the amount of memory and CPU cores allocated. What's more, if you only need Linux for running applications and not a full desktop environment, consider using WSL. It allows you to run Linux distributions directly on Windows without the overhead of a virtual machine.
🌐
Ubuntu
ubuntu.com › tutorials › how-to-install-a-windows-11-vm-using-lxd
How to install a Windows 11 VM using LXD | Ubuntu
Windows 11 is somewhat strict in its requirements (needs UEFI SecureBoot, having a TPM, and having a modern CPU), but LXD supports that out of the box, and there’s no need for any complex configuration in order to enable a Windows VM. In this tutorial, we will walk through the process of installing Windows in an LXD virtual machine...
Find elsewhere
🌐
Medium
medium.com › @trixiahorner › run-ubuntu-on-windows-with-virtualbox-a-simple-step-by-step-guide-0fb492b33b70
Run Ubuntu on Windows with VirtualBox: A Simple Step-by-Step Guide | by Trixia Horner | Medium
March 25, 2026 - This will be a simple walkthrough on how to create and configure an Ubuntu virtual machine using VirtualBox on a Windows host. If you’ve already followed my previous guide on installing Windows 11 in VirtualBox, this one will feel very familiar — the flow is nearly the same, just with Ubuntu as the guest OS.
🌐
Ubuntu
ubuntu.com › server › docs › how-to › virtualisation › ubuntu-on-hyper-v
How to set up Ubuntu on Hyper-V - Ubuntu Server documentation
1 week ago - CPU support for virtualization extensions and virtualization enabled in the system BIOS/EFI ... Hyper-V can be used on Windows 10 and Windows 11 Pro, Enterprise, and Education editions, as well as Windows Server.
🌐
Substack
baarse.substack.com › art’s substack › run linux on windows 11: guide to virtualization options
Run Linux on Windows 11: Guide to Virtualization Options
December 30, 2024 - qemu-system-x86_64.exe ^ -m 16G ^ -smp 8 ^ -drive file="D:\qemu\ubuntu-22.04.5-desktop-amd64.img",format=qcow2 ^ -cdrom "D:\qemu\ubuntu-22.04.5-desktop-amd64.iso" ^ -netdev user,id=net0 -device virtio-net-pci,netdev=net0 ^ -usb ^ -boot d · It worked, but it was super slow. QEMU on Linux rocks, but I could not make it work fast enough on Windows 11. The initial experience with VirtualBox (Version 7.1.4 r165100 (Qt6.5.3)) was good, no surprises during installation.
🌐
DEV Community
dev.to › arunpragash › how-to-install-virtual-box-and-install-windows-11-in-ubuntu-12k5
How to install Virtual Box and install Windows 11 in Ubuntu. - DEV Community
May 3, 2025 - Now we need an Windows ISO file to create an Windows virtual machine. So, where do we get the ISO file. Obviously in the windows official site. This is the download page of the windows 11. There are multiple types of downloads available, we need to download an ISO file.
🌐
Microsoft Learn
learn.microsoft.com › en-us › windows › wsl › install
How to install Linux on Windows with WSL
The Windows Subsystem for Linux (WSL) lets developers install a Linux distribution (such as Ubuntu, OpenSUSE, Kali, Debian, Arch Linux, etc) and use Linux applications, utilities, and Bash command-line tools directly on Windows, unmodified, without the overhead of a traditional virtual machine or dualboot setup. You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11 to use the commands below.
🌐
Automatic Addison
automaticaddison.com › how-to-install-ubuntu-24-04-virtual-machine-on-a-windows-pc
How to Install Ubuntu 24.04 Virtual Machine on a Windows PC
You can find detailed installation ... systems (Windows, Mac OS, and Linux) in the instruction manual if you encounter problems. When you are finished downloading and installing VirtualBox, you can delete the original executable file that you used to install the program. You don’t need it anymore. Now that VirtualBox is installed, we need to create a new virtual machine using the Ubuntu image we ...
🌐
Microsoft Developer
developer.microsoft.com › es-es › windows › downloads › virtual-machines
Descarga de una máquina virtual Windows: desarrollo de ...
Windows includes built-in tools designed for developers — a package manager, a Linux subsystem, optimized storage, and more.
🌐
YouTube
youtube.com › ksk royal
How To Install Ubuntu On Windows 11 With Hyper V (2023) ? - YouTube
Install ubuntu on windows 11 using Hyper V Manager. ubuntu on windows 11. Run ubuntu alongside windows 11. Download Ubuntu 22.04 LTS or 23.04 and install it...
Published   February 28, 2023
Views   30K
🌐
Ubuntu Forums
ubuntuforums.org › showthread.php
Is my PC Spec powerful enough to run Windows 11 in a Virtual Machine?
June 3, 2024 - My computer is less powerful than that and it runs Windows 11 in a Virtual Machine without issue. I used Virtual Box and that has a limit of 256 MB of video memory for Windows 11 so if that's what you're using, gaming may not work unless they're really old games.
🌐
YouTube
youtube.com › watch
[Updated 2024] How to Install Ubuntu 22.04.3 LTS VM on ...
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
🌐
Medium
medium.com › @patil3093s › how-to-install-ubuntu-on-windows-10-or-windows-11-e957eb9c8c22
How To Install Ubuntu on Windows 10 or Windows 11 | by Sushant Patil | Medium
October 12, 2023 - How To Install Ubuntu on Windows 10 or Windows 11 WSL (Windows Subsystem for Linux). Using a USB stick. Using a VM (Virtual Machine) Windows 11 users can freely install Ubuntu 20.04 LTS on Oracle …
🌐
YouTube
youtube.com › watch
How to Install Ubuntu on VirtualBox in Windows 11 - YouTube
How to Install Ubuntu Linux on Windows 11 using VirtualBox | How to Install Ubuntu 22.04 LTS on VirtualBox in Windows 11.Ubuntu is a Linux distribution based...
Published   January 4, 2023