💾 Archived View for hyperborea.org › tech-tips › windows-losing-drives.gmi captured on 2024-08-31 at 12:27:18. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

🚧 View Differences

-=-=-=-=-=-=-

⏯️ Windows Losing Drives After Sleep (Solved)

My main desktop PC dual-boots Windows 10 and Fedora Linux. I have an SSD drive for each OS, and recently added an HDD for larger shared storage. It’s worked out pretty well except for a recurring problem: Sometimes the shared drive just disappears from Windows after I wake it up from sleep mode.

I don’t mean Windows just unmounts the filesystem. I mean Windows stops seeing the hardware at all.

When that happens, it sometimes reconnects after a few minutes…and sometimes doesn’t. Which means it’s not only invisible in Windows, it doesn’t get cleaned up properly on reboot, so Linux will only access it read-only the next time I fire that up, until I get back into Windows and shut it down cleanly.

Time to get to the bottom of it. Most of what I found online boiled down to:

Weird Symptoms

Some of the specific oddities I was seeing:

Fixed!

It turns out this motherboard has two SATA controllers, each with a different chipset: One AMD with 5 connectors, and one ASMedia with 2 connectors. I’d connected the SSDs to the AMD, and the HDD and DVD to the ASMedia.

I moved both cables to the AMD controller.

Now all the drives show up in the BIOS, Linux still sees them all, Windows doesn’t show the HDD as a removable drive…and most importantly, it’s been accessible immediately every time I’ve woken up Windows for a week.

Apparently something is broken about the ASMedia controller or its driver, but the AMD controller is fine. Good thing I had three free connectors on that one!

—Kelson Vibber, 2021-08-08

Web Edition

More Tips

Fediverse: @kelson@notes.kvibber.com