where is ubuntu installed on windows 10

Where is Ubuntu Installed on Windows 10? A Quick Guide

By Daniel Moore
AD

Running Ubuntu on a Windows 10 machine is a common request for users who want to explore Linux without sacrificing their existing Windows environment. The short answer to "where is Ubuntu installed on Windows 10" depends entirely on the method you used to install it. Unlike a native dual-boot setup, the installation path is virtualized and tied to the Windows file system, specifically within your user directory.

Understanding the Virtual Hard Disk (VHD) Structure

When you install Ubuntu on Windows 10 using the Windows Subsystem for Linux (WSL), the distribution is not installed in the traditional sense on a separate partition. Instead, it is packaged and stored as a virtual hard disk file. This file, usually with a `.vhdx` extension, contains the entire Ubuntu root file system. The location of this virtual disk is the key to answering where Ubuntu actually resides on your machine.

The Default User Directory Location

By default, the Ubuntu file system is stored deep within your Windows user profile folder. This design keeps the installation isolated and contained within your user permissions. You won't find it in `Program Files` or on the root of your C drive; it is hidden in your app data, which is the standard location for application-specific data that shouldn't be modified directly by the user.

AD
Ubuntu on Windows - Free download and install on Windows | Microsoft Store
Ubuntu on Windows - Free download and install on Windows | Microsoft Store
Getting Ubuntu on Windows 10 is now (almost) as easy as downloading an app
Getting Ubuntu on Windows 10 is now (almost) as easy as downloading an app
Ubuntu vs Windows: Which Is Better for Your Computer? - MiniTool Partition Wizard
Ubuntu vs Windows: Which Is Better for Your Computer? - MiniTool Partition Wizard
  • The typical path follows the structure: `%USERPROFILE%\AppData\Local\Packages\`
  • Within this directory, you will find a folder named `CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\`.
  • Inside this specific package folder, the actual VHD file is located at `LocalState\ext4.vhdx`.

Accessing the Installation via File Explorer

To verify this location on your own system, you can navigate through the Windows file system. Open File Explorer and paste the following path into the address bar, replacing `YourUsername` with your actual Windows login name. This will take you directly to the folder containing the Ubuntu disk image.

The full absolute path will look something like this:

How to Install Ubuntu on Windows 10: 3 Simple Methods to Try
How to Install Ubuntu on Windows 10: 3 Simple Methods to Try
How to Install Linux (Ubuntu) on Windows 10
How to Install Linux (Ubuntu) on Windows 10
How to Run Ubuntu in Windows 10 Using Hyper-V - Make Tech Easier
How to Run Ubuntu in Windows 10 Using Hyper-V - Make Tech Easier

C:\Users\YourUsername\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState

Alternative Installation Methods

While WSL is the most common way to run Ubuntu on Windows 10, it is not the only way. If you used a different tool, such as VirtualBox or VMware, the storage location changes significantly. In these scenarios, "where is Ubuntu installed on Windows 10" refers to the virtual machine configuration.

AD

Virtualization software creates its own virtual hard drives, typically stored in a dedicated folder for virtual machines. You might find it in `Documents\Virtual Machines` or in a custom folder you specified during the initial setup of the virtual machine. These installations are completely separate from the WSL environment and function as independent operating systems running inside a window.

10 Things To Do After You Have Installed Ubuntu 21.10
10 Things To Do After You Have Installed Ubuntu 21.10
10 Things To Do After Installing Ubuntu 20.04 LTS - OMG! Ubuntu
10 Things To Do After Installing Ubuntu 20.04 LTS - OMG! Ubuntu
How to Install Ubuntu on Windows 10: 3 Simple Methods to Try
How to Install Ubuntu on Windows 10: 3 Simple Methods to Try
Ubuntu vs. MX Linux: The Ultimate Comparison
Ubuntu vs. MX Linux: The Ultimate Comparison
34 Must-Have Ubuntu Apps in 2020
34 Must-Have Ubuntu Apps in 2020
the ubunt on virtualbox logo with an arrow pointing to it
the ubunt on virtualbox logo with an arrow pointing to it

Checking Disk Management

If you are looking for a physical drive letter assignment, such as `E:` or `F:`, WSL does not usually assign one. However, if you used a tool like Disk Management to create a real partition on your hard drive before installing Ubuntu natively, you would find it there. This is distinct from the WSL installation. To check for these partitions, open the Disk Management utility by searching for it in the Windows search bar.

Move the Window Buttons Back to the Right in Ubuntu 11.10
Move the Window Buttons Back to the Right in Ubuntu 11.10
How to install Ubuntu on Windows 10: dual boot, USB, disk
How to install Ubuntu on Windows 10: dual boot, USB, disk
How to Install WSL 2 on Windows 10 (Updated) - OMG! Ubuntu
How to Install WSL 2 on Windows 10 (Updated) - OMG! Ubuntu
Windows Subsystem for Linux (WSL) – how to create a Linux hacking toolkit that runs on Windows 10
Windows Subsystem for Linux (WSL) – how to create a Linux hacking toolkit that runs on Windows 10
How To Dual Boot Windows And Linux (Ubuntu)
How To Dual Boot Windows And Linux (Ubuntu)
How to Run a Linux Desktop Using the Windows Subsystem for Linux
How to Run a Linux Desktop Using the Windows Subsystem for Linux
Ultimate Guide: Create Windows 10/11 Bootable USB on Ubuntu | Solve 'No Drives Found' Error Easily
Ultimate Guide: Create Windows 10/11 Bootable USB on Ubuntu | Solve 'No Drives Found' Error Easily
How to install Linux Ubuntu on Hyper-V in Windows 11
How to install Linux Ubuntu on Hyper-V in Windows 11
You Can Easily Install Ubuntu Linux Inside Windows 10 Soon - SlashGear
You Can Easily Install Ubuntu Linux Inside Windows 10 Soon - SlashGear
installing windows after ubunt in dual boot setup
installing windows after ubunt in dual boot setup
Create a Bootable Windows USB on Ubuntu with WoeUSB - OMG! Ubuntu
Create a Bootable Windows USB on Ubuntu with WoeUSB - OMG! Ubuntu
10 Ways to Make Ubuntu 16.04 Feel Like Home
10 Ways to Make Ubuntu 16.04 Feel Like Home
a woman is smiling with the words after install in front of her and an orange background
a woman is smiling with the words after install in front of her and an orange background
How To Install Free mp3 player 64 bit in Windows 7, 8.1, 10, 11, Mac, Linux, and Ubuntu
How To Install Free mp3 player 64 bit in Windows 7, 8.1, 10, 11, Mac, Linux, and Ubuntu
AD