bash windows

Re-detecting External HDD in WSL Bash for Recognition

In Windows WSL Linux Bash command line, when an external HDD/SSD disk is no longer recognized on WSL for some reason, such as ejection or restart, re-detect the external HDD to make it recognizable.

Shou Arisaka
1 min read
Nov 7, 2025

In Windows WSL Linux Bash command line, when an external HDD/SSD disk is no longer recognized on WSL for some reason, such as ejection or restart, re-detect the external HDD to make it recognizable.

# Errors occur when removed
yuis on ASUS at /mnt/c/pg$ ls /mnt
ls: cannot access '/mnt/f': Invalid argument
total 0
  1407374883553285 drwxrwxrwx 1 yuis yuis 4096 Mar  6 14:36 h
  1407374883553285 drwxrwxrwx 1 yuis yuis 4096 Mar  6 14:36 g
  1407374883553285 drwxrwxrwx 1 yuis yuis 4096 Mar  6 14:35 e
  1407374883553285 drwxrwxrwx 1 yuis yuis 4096 Mar  6 14:35 c
   844424930322338 drwxr-xr-x 1 root root 4096 Jan  8 01:44 ..
   562949953696642 drwxr-xr-x 1 root root 4096 Jan  5 04:55 .
120189815055497884 drwxr-xr-x 1 root root 4096 Jan  5 04:55 _share3
367324844607452116 drwxr-xr-x 1 root root 4096 Jan  5 04:55 _share2
295267250570321447 drwxr-xr-x 1 root root 4096 Jan  3 04:19 _share
                 ? d????????? ? ?    ?       ?            ? f

# This is OK

sudo umount /mnt/f
sudo mount -t drvfs F: /mnt/f

Share this article

Shou Arisaka Nov 7, 2025

๐Ÿ”— Copy Links