How to mount a ISO file

To mount a ISO file on Linux machine, you should mount it as “loop” back filesystem. The option to be used in mount command is “-o loop”. Check out the below example.

[root@linux-cloud images]# mount -o loop boot.iso /mnt
[root@linux-cloud images]#
[root@linux-cloud images]# df /mnt
Filesystem           1K-blocks      Used Available Use% Mounted on
/media/fedora/images/boot.iso
                        131708    131708         0 100% /mnt
[root@linux-cloud images]# ls /mnt
images  isolinux

[root@linux-cloud images]# mount | grep /mnt
/media/fedora/images/boot.iso on /mnt type iso9660 (ro,loop=/dev/loop0)
[root@linux-cloud images]#

Total
0
Shares
Leave a Reply

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

Previous Post

Linux : yum package manager

Next Post

File Synchronization tool : Unison

Related Posts