Skip to content

Unable to mount a filesystem (loop device) #131

Closed

Description

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.

Activity

  1. sunilmut commented on Apr 13, 2016

    @sunilmut
    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.

  2. SamSaffron commented on Aug 3, 2016

    @SamSaffron

    +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

  3. maaatts commented on Aug 4, 2016

    @maaatts

    Could we get FUSE support?

  4. ptitSeb commented on Aug 13, 2016

    @ptitSeb

    Mounting a cifs share doesn't seems possible either.

  5. Adraesh commented on Aug 17, 2016

    @Adraesh

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

  6. bitcrazed commented on Sep 28, 2016

    @bitcrazed
    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.

  7. ptitSeb commented on Sep 29, 2016

    @ptitSeb

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

  8. bitcrazed commented on Oct 20, 2016

    @bitcrazed
    Contributor

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

  9. WSLUser commented on Feb 5, 2018

    @WSLUser

    Sunil Muthuswamy (@sunilmut) or Rich Turner (@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?

  10. bitcrazed commented on Feb 8, 2018

    @bitcrazed
    Contributor

    Hey Nikita Ushakov (@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 ;)

  11. stijnherreman commented on May 22, 2019

    @stijnherreman

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

  12. jmiahman commented on Dec 30, 2019

    @jmiahman

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

    It does not.. at least for loop support.

  13. felipecrs commented on Nov 23, 2021

    @felipecrs

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

  14. DjArt commented on Jan 27, 2022

    @DjArt

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions