PC & Mobile

An error occurred mounting one of your file systems WSL error

While opening the Windows Subsystem for Linux on Windows 11/10, in the event you get an error message saying An error occurred mounting one of your file systems, these options will troubleshoot the problem. It occurs when your system fails to mount the drive. However, you will get rid of this drawback with the assistance of the following tips tips. The complete error message says one thing like this:

An error occurred mounting one of your file systems. Please run ‘dmesg’ for extra particulars.

An error occurred mounting one of your file systems

To repair An error occurred mounting one of your file systems message in WSL, comply with these solutions:

  1. Reinstall Windows Hypervisor Platform
  2. Update WSL
  3. Set default distribution

To be taught extra about these steps, proceed studying.

1] Reinstall Windows Hypervisor Platform

An error occurred mounting one of your file systems WSL error

To use Windows Subsystem for Linux, it’s essential to allow a number of issues on your Windows 11 or Windows 10 pc. For instance, it’s required to allow Virtual Machine Platform, Windows Hypervisor Platform, and many others. If you will have disabled these two components and even one element, you may encounter this challenge on your PC. In most circumstances, folks disable the Windows Hypervisor Platform. Therefore, it is suggested to confirm the setting earlier than heading towards different choices.

To reinstall the Windows Hypervisor Platform, comply with these steps:

  • Search for flip home windows options on or off.
  • Click on the person search consequence.
  • Remove the tick from the Windows Hypervisor Platform checkbox.
  • Click the OK button.
  • Restart your pc.
  • Open the identical Windows Features panel.
  • Tick the Windows Hypervisor Platform checkbox.
  • Click the OK button.
  • Restart your pc.

Once completed, it is possible for you to to make use of WSL with none error. However, if it doesn’t assist, you possibly can comply with the opposite two options talked about under.

2] Update WSL

An error occurred mounting one of your file systems WSL error

Updating the Linux Kernel or WSL typically helps repair this challenge on Windows 11/10 PC. If you haven’t tried this answer earlier, it is suggested to replace the Linux Kernel on your PC. The course of is fairly simple, and you are able to do that utilizing the next steps:

  • Press Win+X to open the WinX menu.
  • Select Windows Terminal (admin) possibility.
  • Click on the Yes button.
  • Enter this command: wsl –replace
  • Allow the method to finish.

Once completed, you possibly can shut the Windows Terminal window and begin the Windows Subsystem for Linux.

3] Set default distribution

An error occurred mounting one of your file systems WSL error

If you will have put in docker on your WSL, you may encounter this drawback whereas operating it on your PC. In such conditions, that you must confirm and set the right distribution because the default one. For that, do the next:

  • Open Command Prompt with administrator privilege.
  • Enter this command: wsl –checklist
  • Enter this command to set the right distribution because the default one: wsl -s name-of-distro

After that, shut the Command Prompt window and test in the event you can run WSL or not.

How to repair An error occurred mounting one of your file systems?

To repair the An error occurred mounting one of your file systems error on WSL; that you must comply with the aforementioned options. First, that you must reinstall the Windows Hypervisor Platform. As it’s one of an important elements to run WSL on Windows 11/10, a slight battle could cause such points. Following that, you possibly can replace the Linux kernel and set the default distribution.

How to repair WSL unable to mount drives and thus unable to work in Windows?

If WSL is unable to mount drives on Windows 11/10 PC, you possibly can comply with the above-mentioned steps to get rid of this drawback. It is most essential to test the Windows Hypervisor Platform. If there’s some challenge, you received’t be capable of use WSL in any means. That is why the primary answer is obligatory to comply with when WSL fails to mount drives.

That’s all! Hope these options labored.

Read: 

  • How to put in Windows Subsystem for Linux on Windows 11
  • How to entry Windows Subsystem for Linux recordsdata.

An error occurred mounting one of your file systems WSL

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button