Open Jellybit opened 2 months ago
Update: After uninstalling and reinstalling, all my BTRFS drives now stopped reading. It used to only be that one 2TB drive, and I was able to swap between and the other BTRFS drives would work in Windows 10. So I tried a full driver removal. I removed every trace of btrfs drivers from Windows, no btrfs.sys, no registery entry, no backup files, nothing. Even rebooted twice between stages of removal. I did a lot of what's included in this thread: https://github.com/maharmstone/btrfs/issues/654
Once everything was cleaned off, I installed btrfs.inf, rebooted twice to be sure, and now it won't read any of my BTRFS drives. This is weird. It also doesn't show in the Device Manager like it used to. btrfs.sys got copied to the System32/drivers folder, and all the regular stuff was added to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\btrfs in the Registry. I also checked and the driver is active. It just doesn't show up in Device Manager, I assume because it can't detect BTRFS drives?
I have no idea where to go from here. Even after the freshest install possible, without installing a new OS, nothing works. It was literally working yesterday, used daily for weeks.
Alright, I formatted with mkbtrfs, instead of formatting on Linux. Now the drive doesn't show up when plugged in, but I did see an errored out drive letter in Device Manager. I try to select a driver for it (Update Driver), and it gives me "WPD FileSystem Volume Driver
". Maybe that's BTRFS? Either way, I decided to get specific, so I go to "Have Disk", and point to the BTRFS driver installation folder with the inf files. However, when I do this, it gives the following error:
The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems.
Maybe this relates to its inability to use the driver?
Finally, when I try to tell it to use the WPD FileSystem Volume Driver, it gives this error:
Windows encountered a problem installing the drivers for your device Windows found drivers for your device but encountered an error while attempting to install them. WPD FileSystem Volume Driver This device cannot start. (Code 10) If you know the manufacturer of your device, you can visit their website and check the support section for drivers.
To be clear, this is no longer just that 2TB drive. I'm using SD cards and whatever else. This particular error happened when using a 64GB SD Card
If the driver is missing from Device Manager, what does sc query
say? On my box:
C:\Users\saukrs> sc query btrfs
SERVICE_NAME: btrfs
TYPE : 1 KERNEL_DRIVER
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
BTRFS for Win stopped working for me completely recently on all drives.
sc query reported the driver was stopped, and on trying to start it was an unsigned driver error. It seems the a recent update must have ruined the diver signature in some way.
Turned driver signature authentication in the Advance Boot menu (F8 during Windows reboot) and everything works fine again (SATA and USB drives). Perhaps it just needs a signature update?
My 2TB Samsung 990 EVO works fine in Windows 10 when formatted in NTFS. I formatted it in Unbuntu (tried both Batocera v40, and command line) to BTRFS, which reads it just fine in Linux. Bringing it back into Windows, however, doesn't seem to work. It doesn't show up as a drive letter or anything. Other BTRFS drives work just fine.
So I did another test. I formatted a 64GB Samsung SD Card on Linux. It can be read perfectly by Windows. So I did a clone of that SD card to the 2TB Samsung 990 EVO. Windows couldn't read the BTRFS drive partition when on the 990 EVO. I have another 1TB Samsung drive that works fine between Linux and Windows, so it's this 2TB drive specifically that's having issues. Again, it reads fine in both operating systems if I use their native formats, but BTRFS doesn't cross over.
I also tried multiple SSD enclosures to make sure it wasn't that. It was the same between different enclosures, which I thought was the case, because the 1TB drive worked fine in both enclosures.
I tried this, but it didn't help:
go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CI\Policy in Regedit, create a new DWORD value called UpgradedSystem and set to 1, and reboot.
The drive reads fine on my Windows 11 laptop. I tried removing BTRFS and reinstalling it, but now it won't read any BTRFS drive, so I'm not sure what just happened. How do I ensure a 100% clean uninstall? And do I install both of the "inf" files? I think I made a mistake before by uninstalling from Device Manager, and telling it to delete the drivers with the check box. After reinstall, I can't use the usual uninstall method:
RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultUninstall 132 btrfs.inf
It simply says "Installation Failed". So yeah, maybe my install got messed up somehow.