Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
Linux ›
Mount an ISO file in Linux

Mount an ISO file in Linux

June 9, 2011 Linux Jesin A Leave a Comment

linux category thumbnail

This tutorial shows how to mount an ISO file in Linux. In Windows third party tools are required to mount ISO images, but in Linux a simple command is enough to mount ISO images. Before editing the /etc/fstab file please take a backup by following the given instructions. To mount an ISO image use the following command

mount -o loop /location/of/file.iso /mnt/file

Replace /location/of/file.iso with the actual location. The “file” directory inside /mnt must exist. This will mount the iso file for that session. If you want to permanently mount the ISO file modify the /etc/fstab file. Before doing this please backup the fstab file.

cp /etc/fstab{,.bak}

Now edit the /etc/fstab file and add the following line

/location/of/file.iso /mnt/file iso9660 loop 0 0

Save the file and execute the following command to remount all enteries in /etc/fstab

mount -a

This way you can mount as many ISO images you want.

Related posts:

linux category thumbnailHow to create a swap file in Linux linux category thumbnailLinux ACL Tutorial linux category thumbnailHow to make undeletable files and directories in Linux change default runlevel in linuxHow to change the default runlevel in Linux linux category thumbnailCommand to Display Directory Sizes in Linux

Tags: linux, linux commands, linux system files

Leave a Reply Cancel reply

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

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.