Hi,

I've been trying to mount a file which is associated with a loopback device
(/dev/loop0). I've tried
# mount -o loop -t ext2 /tmp/virtdisk /mnt/loopback (where /tmp/virtdisk is
the file which contains the "virtual disk"; it has a size of 1,44 Mb and is
filled with null values)
and after this didn't work I've tried to use losetup:
# losetup /dev/loop1 /tmp/virtdisk
# mount -t ext2 /dev/loop1 /mnt/loopback

Both attempts failed with error message:

"mount: wrong fs type, bad option, bad superblock on /dev/loopo or too many
mounted file systems"

On Red Hat 6.x this worked without a problem, so what am I doing wrong here?

Regards,

Iwan

Reply via email to