How to Fix a USB Flash Drive Not Showing Up or Mounting in Ubuntu

Plugging a USB flash drive or external hard disk into an Ubuntu computer only to see nothing appear on your desktop, nothing on the left Ubuntu Dock, and nothing inside the Files app leaves you wondering whether your drive died or Ubuntu simply missed it. In Linux, checking one 5-second command reveals whether the USB port physically detects the stick, lacks exFAT filesystem support, or needs a quick NTFS dirty-bit cleanup after being unplugged from Windows.

Step 1: Check Whether Ubuntu Sees the USB Drive at the Hardware Level

First verify whether Linux detects the USB stick electrically or if a dead USB port/cable is to blame.

  1. Plug your USB flash drive firmly into a direct USB port on your PC (avoid unpowered passive USB hubs while troubleshooting).
  2. Open Terminal by pressing Ctrl + Alt + T.
  3. Run:
    lsblk -f
  4. Look closely for your drive size (for example, sdb with partition sdb1 showing your USB capacity such as 29.8G alongside its filesystem type like vfat, exfat, ntfs, or ext4).
  5. If the drive shows up in lsblk with a blank MOUNTPOINTS column, the hardware works fine – Ubuntu just needs help mounting the filesystem cleanly! (If it does not appear in lsblk or lsusb at all, try another physical USB port or test the drive on another PC to rule out a failed flash controller.)

Fix 1: Install Missing exFAT Support on Older Ubuntu Releases

Modern 64 GB+ SD cards and flash drives ship formatted as exFAT so both Windows and Mac read files over 4 GB. While Ubuntu 22.04 and 24.04 include kernel exFAT drivers out of the box, older Ubuntu installs or minimal setups occasionally miss exFAT utilities.

  1. Open Terminal and install exFAT tools:
    sudo apt update && sudo apt install -y exfatprogs
    (On Ubuntu 20.04 and earlier, install exfat-fuse exfat-utils.)
  2. Unplug the USB stick, plug it back in, and check Files > Other Locations.

Fix 2: Fix Windows NTFS Drives Refusing to Mount Because of Fast Startup / Dirty Flag

If your USB drive or external disk was last plugged into a Windows 11/10 PC and unplugged without clicking Safely Remove – or shares a Windows drive where Fast Startup left the disk marked “dirty” – Ubuntu blocks mounting to protect your files.

  1. Identify your partition name from lsblk -f (for example, /dev/sdb1). Double-check the size so you pick the USB partition and never your main Ubuntu disk!
  2. Run Ubuntu’s safe NTFS repair check (on an unmounted partition):
    sudo ntfsfix /dev/sdb1
    (Replace sdb1 with your exact partition name.)
  3. Replug the USB drive (or open Ubuntu’s built-in Disks utility, select the USB drive on the left, select the partition box, and click the little black triangle Play / Mount icon).

Fix 3: Check Whether Mounted Drives Were Simply Hidden From the Dock

Sometimes Ubuntu actually mounted your USB stick properly, yet someone hid USB icons from the desktop Dock! Open the Files app and click Other Locations at the bottom of the left sidebar – or follow our guide on managing mounted drive and USB visibility on the Ubuntu Dock.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.