you cannot mount loopback fs's from a ramdisk. copy it to a real partition then try to mount it.
I was unable to mount the iso image via loop device
example
dd if=/dev/zero of=/ramdisk/test.iso bs=1024k count-20
mke2fs -b 2048 /ramdisk/test.iso
(press y for continue)
mkdir /test
mount -o loop /tmp/test.iso /test
(it gives error as ioctl: LOOP_SET_FD invalid argument)
so please advice me is there any other way to mount the iso file
you cannot mount loopback fs's from a ramdisk. copy it to a real partition then try to mount it.
So how is it possible that the kernel on the knoppix CD can do it from tmpfs (/ramdisk).Originally Posted by eadz
It does a loopback mount when it creates the image for the terminal-server on line 230 in /etc/init.d/knoppix-terminalserver
When I use my own kernel it doesn't work, so anyone an idea what other patches knoppix uses to make this work?
I sorted out this problem, when you copy the iso image to /ramdisk it doesn't work and it will work if you copy the iso image to /, but yiu need to rebuild the initrd.gz with more space
FYI
I've found the solution .. knoppix uses loop-aes which seems to work on tmpfs
http://www.knopper.net/knoppix/sourc..._1.6i-1.tar.gz
I've used that module and now I can loopback mount images![]()

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00
Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots
$745.00
Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$248.00
Dell Constellation ES.3 3TB Enterprise-class Hard Drive (Wiped & Tested)
$39.00
Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00