How to Mount an Uploaded ISO file in Linux

  • by
If you were limited to access /dev/cdrom, you can still utilize the content of an ISO by uploading and mounting it. The syntax is as the following:
mount -o ro,loop <source_path> <target_path>
For example, we can mount an uploaded ISO file as a media like this:
[root@ovmm ~]# mount -o ro,loop /tmp/ovmm-3.4.2-installer-OracleLinux-b1384.iso /media
[root@ovmm ~]# ll /media
total 157557
drwxr-xr-x. 7 root root      8192 Sep 15  2016 components
-r-xr-x---. 1 root root     11556 Sep 15  2016 createOracle.sh
-rw-r--r--. 1 root root       230 Sep 15  2016 oracle-validated.params
-r-xr-x---. 1 root root 157020203 Sep 15  2016 ovmm-installer.bsx
-rw-r--r--. 1 root root   4291688 Sep 15  2016 OvmSDK_3.4.2.1384.zip
-r-xr-x---. 1 root root      1919 Sep 15  2016 runInstaller.sh
-rw-r--r--. 1 root root       372 Sep 15  2016 sample.yml
-r--r--r--. 1 root root      1596 Sep 15  2016 TRANS.TBL

Leave a Reply

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