maharmstone / btrfs

WinBtrfs - an open-source btrfs driver for Windows
GNU Lesser General Public License v3.0
5.8k stars 222 forks source link

winbtrfs stopped working, can't uninstall and reinstalling doesn't work #659

Closed queenbiscuit311 closed 4 months ago

queenbiscuit311 commented 4 months ago

I'm using winbtrfs installed through chocolatey on a recent install of Windows 11 (23H2, build 22631.3527). It was working fine until it just sort of stopped working. None of my btrfs volumes are detected. Running the command in the readme to uninstall just does this:

image

Uninstalling via chocolatey and reinstalling doesn't work either, neither does uninstalling via chocolatey and installing manually. I've tried checking system files and it said it found corrupt files but then nothing changed when i tried all of these steps again.

queenbiscuit311 commented 4 months ago

Update: i tried manually uninstalling via modifying the registry key to disable btrfs and rebooting then uninstalling the registry keys and deleting btrfs.sys, then rebooting again, then reinstalling. Still no dice.

Running "net start btrfs" gives me this:

System error 577 has occurred.

Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.
queenbiscuit311 commented 4 months ago

The problem was: I found out how to get my linux install to work with secure boot, so i turned it on, and as the readme states that breaks the driver unless you set a registry key. I somehow didn't make the connection. i set the key, and it was fixed. I seem to have glossed over it when I looked at the readme because it specifically says that this is a windows 10 issue, and not being on windows 10 I ignored it. May be worth updating the readme to specify it also applies to windows 11, since specifically mentioning windows 10 and not 11 may imply that 11 isn't affected.

sskras commented 4 months ago

Having some dedicated command to run that would do some diagnostics would be very nice. Maybe it could be a WSH script so it could as for UAC elevation seamlessly and could run both in CMD and GUI scenarios.