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

Unable to mount a filesystem (loop device) #131

Closed
kwyjibos opened this issue Apr 11, 2016 · 14 comments
Closed

Unable to mount a filesystem (loop device) #131

kwyjibos opened this issue Apr 11, 2016 · 14 comments

Comments

@kwyjibos
Copy link

Steps to reproduce;
1: Create a raw file with dd;
dd if=/dev/zero of=/tmp/test bs=1M count=200
2: Make an ext4 partion on the raw file
mkfs.ext4 /tmp/test
3: Make a mount point
mkdir /mnt/test
4: Mount the new file
mount -t ext4 /tmp/test /mnt/test

Expected result
Device is mounted

Actual Result
mount: Could not find any loop device. Maybe this kernel does not know about the loop device? (If so, recompile or 'modprobe loop'.)

If you do try to 'modprobe loop', you get the following;
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.4.0+/modules.dep.bin'

Though I would not expect modprobe to work based on the implementation anyway, i've added the result for reference.

@sunilmut
Copy link
Member

mounting is currently not supported and something that we are aware of. We will be looking at the User Voice page to prioritize what features to light up next. So, please do provide your feedback there as well.

@SamSaffron
Copy link

SamSaffron commented Aug 3, 2016

+1 this is a huge blocker for me... was looking at a way of working around very slow filesystem in ubuntu on windows but am blocked on mounting my raw file

@maaatts
Copy link

maaatts commented Aug 4, 2016

Could we get FUSE support?

@ptitSeb
Copy link

ptitSeb commented Aug 13, 2016

Mounting a cifs share doesn't seems possible either.

@Adraesh
Copy link

Adraesh commented Aug 17, 2016

I confirm mount cifs is not working with the actual 14901 build.

@bitcrazed
Copy link
Contributor

Thanks for your feedback on this, but supporting FUSE is not on our immediate roadmap. Closing for now.

If you'd like us to reconsider, please find/upvote this issue on UserVoice and share a little background on your scenarios.

@ptitSeb
Copy link

ptitSeb commented Sep 29, 2016

This ticket was not really about FUSE, but about the inability to mount filesystem. FUSE was just a potential workaround.

@bitcrazed
Copy link
Contributor

Understood - but mounting removable/external storage devices, network drives, drive images, etc. are not planned at this time.

@WSLUser
Copy link

WSLUser commented Feb 5, 2018

@sunilmut or @bitcrazed Quite a bit has changed since this last statement. We have any idea about when this can be looked at or if it currently is and what the timeline of that (a haphazard guess) is?

@bitcrazed
Copy link
Contributor

Hey @DarthSpock - no news to report as yet. Do follow Tara on Twitter - if and when there's news on this front, you'll likely see it there first ;)

@stijnherreman
Copy link

I guess this will work out of the box with WSL 2?

@jmiahman
Copy link

I guess this will work out of the box with WSL 2?

It does not.. at least for loop support.

@felipecrs
Copy link

This would be super helpful for dealing with Android system images.

@DjArt
Copy link

DjArt commented Jan 27, 2022

So, when it will be implemented in WSL1?

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

No branches or pull requests