Best way to Auto-Mount .iso files

  • What is the best way to mount .iso files stored in a Shared Folder so that I can add them as an NFS Share? I'm hoping the solution will survive a reboot and also not get wiped out during an upgrade.

    The only thread I could find mentioning this topic was to not do this since the commenters couldn't imagine a use case. My use case is that I run a PXE Boot server which lets me boot new machines attached to the network at which point I can select from a dozen OS distributions that can be installed across the network from NFS shares of their mounted .iso install files.

  • Just a note that you can pxe boot a lot of ISO files. No need to mount them. I have done this for many ISOs.

    There is no way to do this from the web interface but you could:

    Add a shared folder to disk d1 called isos

    from command line make a directory mkdir /srv/dev-disk-by-label-d1/isos/iso1

    Then manually add a line to /etc/fstab (after the openmediavault tags) like:
    /path/to/iso/file /srv/dev-disk-by-label-d1/isos/iso1 auto loop 0 0

    This will mount the iso on reboot. To mount it now, just do a mount -a

    omv 5.5.17-2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2 plugins source code and issue tracker - github

    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Thanks, that works for me.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!