I have the following situation.
openSUSE-Tumbleweed dual boot with windows 11.
I would like to access my video files stored in Tumbleweed for editing in Premiere in windows.
I have tried to use WinBTRFS, but the home-directory is empty.
Then I tried to use WSL2 on Windows with openSUSE-leap.
This system will auto-mount the Linux partitions.
But here I face the same situation, my home directory is empty.
When I try with “ls -a” I see some hidden files, but my directories are not there.
I believe Tumbleweed is using sub-volumes.
Is it possible that this is the problem?
Your help is really appreciated.
What exactly do you call “home directory”? Copy-paste the complete commands you use to mount this partition and list its content.
Yes. Looking in /etc/fstab could be educational.
May be. You did not explain what you did so it is difficult to guess. If you expect /home to have the same content you see in Tumbleweed - you need to mount the subvolume where this content is actually located. As mentioned, look into /etc/fstab. I have no idea how it is done with WinBTRFS. In WSL you should be able to use standard Linux command
mount -t btrfs -o subvol=@/home /dev/your-partition /any/mount/point/you/need
Check /etc/fstab for the exact subvolume name (should be @/home by default).
Hi arvidjaar,
Thanks for you reaction.
With my home directory I mean: /home/username/ on my Tumbleweed partition.
In WSL2 the Linux partitions are auto mounted in /mnt/wslg.
This is happening, however the folder /mnt/wslg/distro/home/username/ is empty.
I will check my Tumbleweed /etc/stab file to see how tumbleweed is mounting that sub-volume, try to replicate it to wsl2-leap.
Thanks for the tip.
Hi Arvidjaar,
Here a short update.
I could not find /etc/fstab on my Tumbleweed install.
I seems Tumbleweed is using systemd for mounting.
I found a file called “home.mount”.
There I have found the following:
In wsl2-leap I tried to mount with:
sudo mount -t btrfs -o subvol=/@/home /dev/disk/by-uuid/d72eb3f1-a743-4476-a4ee-ac6fbac11e55 /mnt/test
Now I have the following error:
mount: /mnt/test: special device /dev/disk/by-uuid/d72eb3f1-a743-4476-a4ee-ac6fbac11e55 does not exist.
I have no idea what devices are present in WSL. Use any other device name for your partition if this particular one is not present. You said it has been mounted automatically. What stops you from looking up the device name used when mounting it?
Now I tried the following:
sudo mount -o subvol=/@/home /dev/sdc /mnt/test
( so without -t btrfs)
No error messages.
However, when I go into /mnt/test/home/username, I see a folder named bin only.
Bin is empty and not available on the real partition. The rest of the folders are not there.
I’m out of ideas.
Anyone?
No it’s all fake, damn ms-wsl2-vm
Dualboot is a pain in the ass, do you and your video collection a favour and if both Oss have to work on set up a third disk with the least meta-data capable fs.