Ubuntu – Why does ‘mount’ give the error “mount: can’t find /mnt/disk”

mountUbuntu

I am trying to following the to mount an img file on ubuntu:

https://askubuntu.com/questions/129305/how-can-i-open-binary-image-files-img

But when I do 'sudo mount -o test.img /mnt/disk'

 $ sudo mount -o  test.img  /mnt/disk
mount: can't find /mnt/disk in /etc/fstab or /etc/mtab

Can you please tell me how can fix that?

Best Answer

You forgot to actually give the options to -o. Because of that, mount interprets "test.img" as the options, and not as the disk/image to mount.

sudo mount -o loop test.img /mnt/disk
Related Question