How to Mount and Unmount an ISO Image in RHEL/CentOS/Fedora and Ubuntu

Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators

Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Ubuntu Linux Toolbox: 1000+ Commands

You may also like...

20 Responses

  1. nsu2015 says:

    to mount iso permanently can i write this line to fstab?
    mount -t iso9660 -o loop /patch/to/image.iso /mnt/path

    • nsu2015 says:

      in rhel 6

    • Ravi Saive says:

      @nsu2015,
      Yes, it should work…go ahead..

      • nsu2015 says:

        but i have a problem
        in fstab i first add a line to auto mount an NTFS drive using ntfs-3g and it worked properly
        the iso image is in this NTFS drive and the above line (mount -t iso9660 -o loop /patch/to/image.iso /mnt/path) is added after NTFS.
        the ntfs drive mount on startup but the iso file not
        could you please help

        • Ravi Saive says:

          @Nsu2015,
          You can use following line to /etc/fstab file to auto mount your ISO file permanently at system startup.

          /patch/to/image.iso /mnt/path iso9660 loop 0 0
          
  2. Nitin says:

    Thank you so much. I am a newbie in linux and his was of great help to me.

  3. james says:

    Hi ,can anyone guide me how can i create ISO image form Operating System.

  4. subrahmanyam says:

    Hi ,
    Can you help me to how to create iso image on Centos5.7 as well as rpm files.

    • Ravi Saive says:

      @Subrahmanyam,
      The given instructions works on CentOS 5.7 to create ISO images..I didn’t understand your question “as well as rpm files”?

  5. Sandeep Bavuna says:

    Hi,

    If I have two iso images, how can i mount both together ? Does it work ?

    • Ravi Saive says:

      No, that’s not possible, you can mount one iso at a time under /mnt.

      • Roberto Nunin says:

        Hi

        it is not possible to have two images mounted at the same time under /mnt folder, but you are free to create how many subfolders you want under /mnt and adjust the mount command to use these subfolders.

        mount -t iso9660 -o loop /patch/to/image1.iso /mnt/path1
        mount -t iso9660 -o loop /patch/to/image2.iso /mnt/path2
        etc.

        BR
        Roberto

  6. Jitendra says:

    Dear Sir

    I am new to linux, your site is help full for how are new to linux. I kindly request please do a tutorial on open vpn and ip tables.

    If you are providing training please let us know. If you are providing training videos also please let us know, not an issue we will pay and purchase from your site.

    • Ravi Saive says:

      Your request accepted, will soon write a complete guide on how to install OpenVPN in Linux, till then stay tuned for updates. We don’t provide any training, but we do provide paid services for Linux.

  7. vinoth says:

    Hi there,
    I would like to know how to locate my rhel6 iso image in D DRIVE. Can u say me how to change the mount command

  8. Sushanta says:

    I want to do permanent mounting, so that i don’t have to run mount command again and again

    help plz

  9. Hassan Parthasarathy says:

    That worked, Thanks !!
    Partha

  10. William says:

    Worked like a charm, thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Join Over 70000+ Linux Users
  1. 48590
  2. 2375
  3. 13200

Enter your email to get latest Linux Howto's