LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   busybox mount iso: "mount could not find a spare loop device" error (https://www.linuxquestions.org/questions/linux-general-1/busybox-mount-iso-mount-could-not-find-a-spare-loop-device-error-780783/)

frenchn00b 01-08-2010 02:37 AM

busybox mount iso: "mount could not find a spare loop device" error
 
Hello,

Bootmyiso.exe to boot sarge iso installer on pendrive works, until it arrives to page:
detect and mount the cdrom : ERROR

Debian installer sarge has no loop for iso in the modules /lib...kernel

I mounted an iso of my distro to install using bootmyiso.exe (a kernel 2.6.8 without ...block/loop.o into the /lib)
and then I can mount my pendrive of /dev/scsi/.... /target0/part1 /pendrive [ok, works]

then I do under busybox:

Code:

mount -t iso9660 /pendrive/netinst.iso /cdrom
==> gives error
or

Code:

mount -o loop /pendrive/netinst.iso /cdrom
==> gives error

Code:

mount -t iso9660 -o loop /pendrive/netinst.iso /cdrom
==> gives error
mount: could not find a spare loop device


Is there someone with experience with busybox linux, knowing how to solve the issue?
thank you
Kind regards

edit:
It seems that one can download mydsl gnu utils and so on:
http://distro.ibiblio.org/pub/linux/.../mydsl/system/
and make loop working for any kind of busybox
with eg: http://distro.ibiblio.org/pub/linux/.../gnu-utils.dsl

==

edit2:

OK, here I made a tar for the busy box:
http://yellowprotoss.ye.funpic.org/w...op-busybox.tar

to upgrade the busybox one needs those loop.o and so on files
tar -C /path -zxf loop-busybox.tar
to unpack it for the kernel:

HOW TO USE IT within busybox? insmod? mknod /dev/loop0 b 7 0 ?? how to make it now to upgrade busybox for mounting iso9660/loop??



insmod loop.o
gives error too under busybox :(

cp loop.o /lib
modprobe loop
not working either


All times are GMT -5. The time now is 11:49 PM.