Results 1 to 5 of 5

Thread: loop mount error

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Location
    India
    Posts
    4

    loop mount error

    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

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    you cannot mount loopback fs's from a ramdisk. copy it to a real partition then try to mount it.

  3. #3
    Junior Member registered user
    Join Date
    May 2003
    Posts
    21
    Quote Originally Posted by eadz
    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).

    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?

  4. #4
    Junior Member
    Join Date
    Mar 2003
    Location
    India
    Posts
    4

    Mounting ISO Image

    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

  5. #5
    Junior Member registered user
    Join Date
    May 2003
    Posts
    21
    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

Similar Threads

  1. mount error
    By madmadmod in forum Customising & Remastering
    Replies: 1
    Last Post: 01-27-2005, 08:08 AM
  2. Mount error after duplicating disk with DD
    By JPWhite in forum General Support
    Replies: 3
    Last Post: 12-06-2004, 12:55 AM
  3. squashfs -o loop error
    By ying-yang7 in forum Customising & Remastering
    Replies: 7
    Last Post: 10-19-2004, 01:48 PM
  4. 3.3 9/2/04 kdm/kde login loop
    By johnhedge in forum General Support
    Replies: 0
    Last Post: 02-11-2004, 03:18 AM
  5. What is a loop file?
    By turbine in forum The Lounge
    Replies: 2
    Last Post: 12-07-2003, 03:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory picture

MTC8C1084S1SC56BD1 Micron 16GB DDR5 1Rx8 PC5-5600B 5600Mhz SO-DIMM Memory

$149.99



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$288.19



Windows 11 Pro Install/Recovery/Repair USB Flash Drive picture

Windows 11 Pro Install/Recovery/Repair USB Flash Drive

$35.00



Lot of 4 - Kingston 1GB PC2-5300F DDR2 667MHz ECC Server RAM KVR667D2S8F5/1G picture

Lot of 4 - Kingston 1GB PC2-5300F DDR2 667MHz ECC Server RAM KVR667D2S8F5/1G

$59.00



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



Lot of 14 - 16GB DDR4 Memory PC4-3200 SODIMM Laptop RAM 3200MHz  (MIX BRAND) picture

Lot of 14 - 16GB DDR4 Memory PC4-3200 SODIMM Laptop RAM 3200MHz (MIX BRAND)

$900.00



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



5 in 1 Memory Card Reader USB 3.0 OTG Adapter SD Card Reader For iPhone/iPad LOT picture

5 in 1 Memory Card Reader USB 3.0 OTG Adapter SD Card Reader For iPhone/iPad LOT

$9.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$202.50