problem mounting a disk image
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" Code:
$ mount -o loop tst.img ./mnt Code:
$ mount -o loop=/dev/loop0 tst.img ./mnt Code:
$ ls -l /dev/loop0 |
ARe you sure that you have mnt dir in your current catalog, because looks like you meant /mnt and instead you are using ./mnt which means(lets pretend that you are in /home/user) /home/user/mnt. Try to fix that and post the results.
|
no, i have a mnt dir in the working directory. i didn't want to mount in /mnt. i tried the same command as root, and it worked. i just can't mount the image as user.
|
All times are GMT -5. The time now is 11:05 AM. |