2

I try to mount an .iso file. I use:

sudo mkdir /media/fakecd

sudo mount -t iso9660 -o loop /path/to/your.iso /media/fakecd

But I get this error message:

can't find /media/fakecd in /etc/fstab

What am I doing wrong?

4
  • If file pathnames are quoted ( sudo mount -o loop '/path/to/your.iso' '/media/fakecd' ) the issue is still there?
    – dess
    Jan 13, 2015 at 19:29
  • Yes, issue still there Jan 13, 2015 at 19:34
  • That is quite odd, your command line is correct. If either the ISO or the mountpoint were missing, you'd definitely get a different error. I think such error should only be displayed if you typed sudo mount /media/fakecd. Could you show us your /etc/fstab? Jan 13, 2015 at 19:49
  • This error mostly got if "loop" word is ommited, so the /path/to/your.iso is understood as option, not device. To exclude such situation command could look like sudo mount /path/to/your.iso /media/fakecd -o loop
    – dess
    Jan 13, 2015 at 19:55

2 Answers 2

1

Can you check whether the partition(/path/to/your.iso) you are trying to mount has entries in the /etc/fstab file.

If the entries in not present in the fstab files,only root user is set tomount the partition.To do automate mount please try to add them in the fstab file.

2
  • How can I add entries in fstab? Jan 13, 2015 at 19:55
  • 1
    To add the entries in the ftstab,Please follow the below steps open the file /etc/fstab and then copy the command /path/to/your.iso /media/fakecd xfs defaults,auto 1 1 xfs - external device file type.
    – BDRSuite
    Jan 13, 2015 at 23:26
0

I can't tell you how to do this via terminal, but I used to mount an ISO with nautilus, by right-clicking the file and selecting something like open with... > archive mounter (I don't know the exact words as I use the German translation). Then it should appear in the left half of the nautilus explorer, near the network places. I hope you can do something with this advice. Greetings!

1
  • Or, even better, > "Disk Image Mounter"
    – dess
    Jan 13, 2015 at 19:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .