What's new

How to mount ISO file to directory ?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Amin

New Around Here
Hello. I want mount ISO image file (iso9660) from USB-Flash to web-server directory for netinstall. When i try mount image next message appear:

# mount -o ro,loop /tmp/mnt/San64Gb/iso/Fedora23/Fedora-Live-Workstation-x86_64-23-1.iso /tmp/mnt/San64Gb/entware-ng.arm/share/www/4tftp/f23_iso

mount: mounting /dev/loop0 on /tmp/mnt/San64Gb/entware-ng.arm/share/www/4tftp/f23_iso failed: Invalid argument
Package losetup installed, loop-devices exists.
Code:
# ls /dev/loop* -la
brw-------  1 admin  root  7,  0 Jan  1  1970 /dev/loop0
brw-------  1 admin  root  7,  1 Jan  1  1970 /dev/loop1
brw-------  1 admin  root  7,  2 Jan  1  1970 /dev/loop2
brw-------  1 admin  root  7,  3 Jan  1  1970 /dev/loop3
brw-------  1 admin  root  7,  4 Jan  1  1970 /dev/loop4
brw-------  1 admin  root  7,  5 Jan  1  1970 /dev/loop5
brw-------  1 admin  root  7,  6 Jan  1  1970 /dev/loop6
brw-------  1 admin  root  7,  7 Jan  1  1970 /dev/loop7

Router - Asus RT-AC68U, Firmware - Merlin 378.56-2
P. S. Paths to file and mount-point correct =)
 
I think you have to compile your own firmware or linux kernel with
  • CONFIG_ISO9660_FS=y
 
Thank you. I can solve my issue completely.

Nowtime i decide simply unpack ISO-s - rebuild firmware need more time against unpack.
But in future i will know what mounting iso-9660 require firmware rebuiild.
 
Last edited:

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top