This article focuses on accessing a Windows 10 drive from Ubuntu 24.04 on a dual storage computer. The computer has two storage drives, with the primary drive being an M.2 SSD that contains Windows EFI data partitions (the OS used). Recently, Ubuntu was installed on a separate SSD, and the user forgot how to access the Windows drive from Ubuntu.
Overview
When a computer has two or more operating systems installed, it's important to know how to access files from one system to another. This article covers how to access the Windows 10 drive from Ubuntu 24.04. The process involves mounting the Windows drive, which allows users to access and transfer files between the two systems.
Mounting the Windows Drive
To mount the Windows drive in Ubuntu 24.04, follow these steps:
- Open the terminal by pressing Ctrl + Alt + T
- Type
sudo fdisk -lto display a list of all the drives and their partitions:
In the example output above, the first drive, /dev/nvme0n1, contains the Windows installation (/dev/nvme0n1p2). The second drive, /dev/nvme1n1, is where Ubuntu is installed.
- Create a directory for the mounted Windows drive:
- Mount the Windows drive:
In the above command, -t ntfs is used to indicate the file system of the Windows drive, and -o uid=1000,gid=1000 sets the user and group IDs to the current user. This allows the user to access the mounted drive.
Accessing the Mounted Drive
To access the mounted Windows drive, simply navigate to the /mnt/win directory: