Skip to content

Unable to mount a filesystem (loop device) #131

Closed
@kwyjibos

Description

@kwyjibos

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.

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