In Linux Mint 18.2 when I choose "Open With Disk Image Mounter" in a right click menu on an .img file I get following error:
Unable to mount OS
Error mounting /dev/loop1 at /media/mint/OS: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=999,gid=999" "/dev/loop1" "/media/mint/OS"' exited with non-zero exit status 21: ntfs-3g-mount: mount failed: Permission denied
("OS" is a label of a drive from which this image was created.) I have another .img file (also with NTFS in it) and I receive similar error when I try to mount it. Both files were created with a built-in Linux Mint "Disks" utility. If it helps, they are both 100Gb+ in size and have brackets in their names.
How do I fix this error? Or maybe there is a way to mount or view their contents with different tools?
root
?mount -o loop /path/to/file.img /mnt/img
You may get a message ofmounting read-only
but it should mount theimg
filefile /path/to/image
If it's a disk image, you can usekpartx
to create block device files from the partitions within the image; Then you can mount the correct block device. You can also use the libguestfs shell to mount a disk image.