DISQUS

Tech-Recipes: Mount an ISO file in Linux | Linux | Tech-Recipes

  • bob · 1 year ago
    You fail to explain that this command only works for root.
  • JOsh · 1 year ago
    thank you, had not dont that before.
  • Amit · 1 year ago
    unable to mount iso file using command mentioned above as each time there is a extracted directory made in test folder
  • miezebieze · 1 year ago
    it also works without "-t iso9660" (mount -o loop file.iso /mnt/test)... When I tried, your command doesn't work at all...
  • Ruslanas Gzibovskis · 11 months ago
    your iso image file system was another ;)
  • jesla · 11 months ago
    works fine, how would you unmount
  • a$$hole · 11 months ago
    umount /mnt/test
  • Nokie · 10 months ago
    eh... it says "mount: mount point /mnt/[name] does not exist"
    wat do i do?
  • bob · 10 months ago
    you need to create the mount point first, i.e. "mkdir /mnt/test"
  • Lawrence · 8 months ago
    lawrence@Inf1n1ty:~$ su
    Password:
    su: Authentication failure
    lawrence@Inf1n1ty:~$ sudo -i
    root@Inf1n1ty:~# mkdir -p /mnt/disk
    root@Inf1n1ty:~# mount -o loop BF1942_1.iso /mnt/disk
    BF1942_1.iso: No such file or directory
    root@Inf1n1ty:~#

    so when i log into root, cannot as it is locked, so use sudo to gain root privileges, Then when I go to mount the image it doesn't find it.
    Is there a certain location that I need to place the iso in question?
  • michael · 8 months ago
    what is the path to BF1942_1.iso relative to your current directory?

    Should something like

    mkdir -p /mnt/disk
    mount -o loop /dev/USB/BF1942_1.iso /mnt/disk
    ... Make any sense?
  • mainmeat · 3 months ago
    lawrence - you arent specifying a path for your BF1942_1.iso file.
    try
    mkdir /mnt/foo
    mount -o loop /dir/path/filename.iso /mnt/foo
    that should do the trick
  • prakharmishra · 2 months ago
    Your recipe seems like not working. I have given the command:-

    mount -o loop -t iso9660 rld-dmc4.iso /media/Entertainment/Game/Devil\ May\ Cry\ 4\ Image/

    And I got the o/p:-

    rld-dmc4.iso: No such file or directory
  • retep014 · 3 weeks ago
    mount: only root can do that