If you're encountering issues mounting a drive in Kubuntu (or any Linux system), but it works fine in Windows, there are several possible causes. While caching can sometimes be involved, more commonly the issue relates to:
File system errors
Improper shutdown in Windows (leaving the file system in an unsafe state)
Mounting permissions or configuration
Driver support for the file system type
Let’s go through some steps to help diagnose and fix this.
✅ Step 1: Check the Drive in Windows
Before troubleshooting in Linux, ensure that the drive is fully shut down from Windows, not just hibernated or suspended.
Disable Fast Startup in Windows:
Fast Startup causes the system partition (and sometimes other drives) to be left in a mounted state, which can prevent Linux from mounting them safely.
To disable Fast Startup:
Open Control Panel > Power Options
Click on Choose what the power buttons do
Click Change settings that are currently unavailable
Uncheck "Turn on fast startup"
Save changes and shut down your computer completely.
Then try accessing the drive in Kubuntu again.
✅ Step 2: Check the File System Type
Some file systems like NTFS or exFAT may require specific tools to mount properly in Linux.
Run this command in terminal to check the file system type:
bash
sudo blkid /dev/sdXn
Replace /dev/sdXn with your actual device path (e.g., /dev/sda1). You can find the correct device using:
bash
lsblk
For NTFS partitions, make sure ntfs-3g is installed:
bash
sudo apt install ntfs-3g
For exFAT:
bash
sudo apt install exfat-fuse exfat-utils
✅ Step 3: Force Mount via Terminal
Try manually mounting the drive from the terminal to see if you get a more detailed error message.
Create a mount point:
bash
mkdir ~/mydrive
Then attempt to mount:
bash
sudo mount /dev/sdXn ~/mydrive
If it fails, read the error carefully. Common ones include:
you must specify the filesystem type: Try specifying it explicitly:
bash
sudo mount -t ntfs-3g /dev/sdXn ~/mydrive
Windows is hibernated: This confirms the drive was not cleanly unmounted.
✅ Step 4: Fix Hibernation / Dirty Shutdown Issues
If you get an error like:
"The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount."
That means Linux detected that Windows didn't shut down cleanly.
You have two options:
Option A: Mount Read-only (temporary access)
bash
sudo mount -o ro /dev/sdXn ~/mydrive
This allows you to recover files without risking corruption.
Option B: Clear Windows Cache
Boot back into Windows and run this in an Admin Command Prompt:
cmd
chkdsk C: /f /r
Replace C: with the appropriate drive letter if necessary.
Also make sure to fully shut down Windows afterward (not hibernate or fast boot).
✅ Step 5: Clear Kernel Mount Cache (if needed)
Sometimes the kernel still has cached info about failed mounts. To reset it: