Hi all,
I'm having issues mounting a basic hard disk image file via the loop device. I loaded the loop kernel module and verified that it's loaded
Code:
$su -c "modprobe loop"
$ lsmod | grep loop
loop 16424 0
next, i try to mount my disk image, but get an error
Code:
$ mount -o loop tst.img ./mnt
mount: Could not find any loop device. Maybe this kernel does not know
about the loop device? (If so, recompile or `modprobe loop'), or
maybe /dev/loop# has the wrong major number?
so i try
Code:
$ mount -o loop=/dev/loop0 tst.img ./mnt
/dev/loop0: Permission denied
checking permissions
Code:
$ ls -l /dev/loop0
brw-rw---- 1 root disk 7, 1 2005-05-03 14:58 /dev/loop0
what's going on here? thanks for any assistance.