Mount ISO using fstab (Linux tutorial)

blackDVD Mount ISO

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:

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:

mount -a

Good mounting…

Development Specialist, Artist and Activist
Personal Website

One thought on “Mount ISO using fstab (Linux tutorial)

Leave a Reply

Your email address will not be published.

*