Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Why does 'mount' give the error "mount: can't find /mnt/disk"?

Writer Olivia Zamora

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

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?

2 Answers

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
2

Maybe the right way to do it would be to convert img file to iso and than mount it as loop device.

according to this thread

you forgot to add "loop"

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy