Mount ISO using fstab (Linux tutorial)

Overview

To mount ISO files in Linux is very easy, and sometimes you want to use fstab to auto-mount on boot. I’ll show how to do this in bash.

FSTAB

you can mount ISO file to a folder using the bash command:

1
mount -o loop /path/to/file.iso /path/to/folder

Add this to your /etc/fstab file to mount iso file on boot.

1
/path/to/file.iso /path/to/folder iso9660 loop 0 0

don’t forget to leave an empty line at the end and after saving remember to:/p>

1
mount -a

Good mounting…

3 thoughts on “Mount ISO using fstab (Linux tutorial)

Leave a Reply

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

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.