Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinBtrfs cannot read any content of the home directory #722

Open
Tech-FZ opened this issue Feb 12, 2025 · 6 comments
Open

WinBtrfs cannot read any content of the home directory #722

Tech-FZ opened this issue Feb 12, 2025 · 6 comments

Comments

@Tech-FZ
Copy link

Tech-FZ commented Feb 12, 2025

Description

I want to recover some files stored on my BTRFS-formatted SSD containing an openSUSE Tumbleweed installation which became unbootable almost immediately after I had reinstalled Windows 11 onto an NVMe SSD I had bought. The files I primarily want to recover are my Minecraft saves - which are on my /home/nicolas (F:\home\nicolas on Windows if I didn't have the issue) directory - which Windows Explorer couldn't recognise. The DiskInternals Linux Reader was able to recognise said directory, but recovering the files from there would cost money I simply do not have right now.

Image

The Linux Reader recognised the directory...

Image

...while Windows didn't.

Expected behaviour

Assuming the drivers are installed correctly, the /home/nicolas directory should show up.

Steps to reproduce

  1. Install the drivers as documented in the readme (excluding registry changes).
  2. Restart the computer if prompted.
  3. Open Windows Explorer and go to the BTRFS-formatted Linux drive.
  4. Open the F:\home (replace F with the actual drive letter) directory.
  5. If there are no contents, you successfully reproduced my issue.

Environment

  • Windows 11 Version 24H2 (amd64)
  • Secure Boot is disabled
  • UEFI is enabled
  • WinBTRFS 1.9
@Tech-FZ
Copy link
Author

Tech-FZ commented Feb 12, 2025

Update: Turning off "Allow files on this drive to have contents indexed in addition to file properties" in the drive properties as stated in issue #705 didn't do anything.

@maharmstone
Copy link
Owner

I want to recover some files stored on my BTRFS-formatted SSD containing an openSUSE Tumbleweed installation which became unbootable almost immediately after I had reinstalled Windows 11 onto an NVMe SSD I had bought.

If your filesystem is corrupted so much that Linux is unable to mount it, it's unlikely that this driver will do any better.

What does btrfs check say?

@Tech-FZ
Copy link
Author

Tech-FZ commented Feb 13, 2025

I have attempted to run said command, but neither PowerShell nor the regular Command Prompt (both run as administrator) seem to be able to find the related executable. Is there another way to check?

@Tech-FZ
Copy link
Author

Tech-FZ commented Feb 13, 2025

Update: Neither using Windows on-board checking tool (via the Properties) nor the scrubbing feature of WinBtrfs (via the Properties) helped.

@Tech-FZ
Copy link
Author

Tech-FZ commented Feb 18, 2025

Update: It appears that the /home directory is a subvolume that not even other Linux distributions can read.

@lesderid
Copy link
Contributor

I recently was able to recover nearly all files from a partly corrupted btrfs filesystem using btrfs restore with the appropriate flags, but YMMV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants