I used Disks tool to make an image of a partition:

Create Partition Image

Then tried to mount it with Disk Image Mounter:

Disk Image Mounter

I enter my password twice:

add loop device mount loop device

Then it fails with this error message:

Unable to mount OLD SYSTEM_DRV

Error mounting /dev/loop1 at /media/endolith/OLD SYSTEM_DRV: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/loop1" "/media/endolith/OLD SYSTEM_DRV"' exited with non-zero exit status 21: ntfs-3g-mount: mount failed: Permission denied

Why is permission denied and how do I fix this?

  • Try sudo chown 1000: /media/endolith/OLD SYSTEM_DRV. Note that the folder must exist already. – mook765 Oct 4 '16 at 6:44
  • @mook765 Hmm, it doesn't exist. I get asked for my password twice, actually. Once for setting up the loop device and once for mounting it. – endolith Oct 4 '16 at 23:36
  • @mook765 And if I create it and then try your command I get chown: invalid spec: '1000:' – endolith Oct 5 '16 at 1:10
  • OK, remove the created folder. The folder will be created automatically during mount and it seems here is not the problem. Please check the ownership of the image-file. Could be the problem that the image is owned by root. If that is the case change ownership of the file with sudo chown endolith:endolith /path/to/your/image_file. (I see, chown-command doesn't accept user-id). – mook765 Oct 5 '16 at 10:56
  • @mook765 sudo mkdir /mnt/SYSTEM_DRV sudo mount -t ntfs -o loop "Disk Image.img" /mnt/SYSTEM_DRV works fine, for the record – endolith Oct 5 '16 at 14:31

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.