Software & AppsOperating SystemLinux

Troubleshooting Ubuntu 22.04 Installation Error on WSL

Ubuntu 14

In this article, we will delve into the common issues that may arise when installing Ubuntu 22.04 on Windows Subsystem for Linux (WSL) and how to troubleshoot them. We will guide you through each step, providing detailed explanations and examples.

Quick Answer

To troubleshoot Ubuntu 22.04 installation errors on WSL, you can try updating the Linux kernel, enabling the Virtual Machine Platform and virtualization, checking for disk system limitations, or installing an alternative version of Ubuntu.


The Windows Subsystem for Linux (WSL) is a powerful tool that allows you to run Linux distributions on your Windows system without the need for a dual-boot setup or virtual machine. However, you might encounter some issues when installing Ubuntu 22.04 on WSL. This guide will help you troubleshoot and resolve these issues.

Update the Linux Kernel

One common issue is related to the Linux kernel. If you encounter an error message suggesting that WSL 2 requires an update to its kernel component, you can resolve this by updating the Linux kernel.

To update the kernel, you can download the Linux kernel update package from the Microsoft website and install it.

After updating the kernel, try installing Ubuntu again. If the kernel was the issue, this should resolve it.

Enable Virtual Machine Platform and Virtualization

WSL 2 requires the Virtual Machine Platform Windows feature and virtualization to be enabled on your system. If these settings are not enabled, you might encounter issues when installing Ubuntu 22.04 on WSL.

To enable the Virtual Machine Platform Windows feature, you can use the following command in PowerShell as Administrator:

Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

This command enables the Virtual Machine Platform feature on your system. The -Online parameter specifies that the operation should be performed on the operating system that is currently running.

To check if virtualization is enabled in the BIOS settings, you will need to access your system’s BIOS or UEFI firmware settings. The process for accessing these settings varies depending on the system manufacturer and model, so refer to your system’s documentation for specific instructions.

Check for Disk System Limitations

If you encounter an error related to virtual disk system limitations, you can resolve this by disabling the compression of the Ubuntu package’s folder.

To do this, follow these steps:

  1. Open %LOCALAPPDATA%/packages/ in the file browser.
  2. Locate the folder containing the Ubuntu package (e.g., CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc).
  3. Right-click on the folder, select “Properties,” and go to the “General” tab.
  4. Click on “Advanced” and untick the option “Compress contents to save disk space.”
  5. Apply the changes and try installing Ubuntu again.

Try an Alternative Ubuntu Version

If the above solutions do not work, you can consider installing a different version of Ubuntu, such as Ubuntu 20.04 LTS, from the Microsoft Store. This version might be more compatible with your system.


Troubleshooting Ubuntu 22.04 installation errors on WSL can be a complex process, but with the right approach and understanding, you can resolve these issues and get Ubuntu running on your system. Remember to follow any specific instructions or recommendations provided in the error message or by other users who have encountered similar issues.

We hope this guide has been helpful in resolving your Ubuntu 22.04 installation issues on WSL. If you have any further questions or need additional assistance, feel free to reach out.

How do I check the version of Ubuntu installed on WSL?

To check the version of Ubuntu installed on WSL, you can open the terminal and run the following command: lsb_release -a. This will display detailed information about the Ubuntu version, including the release number.

Can I install multiple versions of Ubuntu on WSL?

Yes, you can install multiple versions of Ubuntu on WSL. Each version will be installed as a separate instance, allowing you to switch between them as needed.

Leave a Comment

Your email address will not be published. Required fields are marked *