LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Loop module problem.. (https://www.linuxquestions.org/questions/linux-software-2/loop-module-problem-292974/)

kingroach 02-21-2005 09:59 AM

Loop module problem..
 
I am using avery small live linux distro (XBOXHDM), its used to hack/modify xbox. The distro is quite old and in teh meantime new hacks has been around. One hack needs to create a image file in teh xbox hard drive. But the problem is I cannt mount the image because teh kernel doesnt have loop modules inside. so when I try "modprobe loop" , it shows "cannt find modules.dep in /lib/modules/2.4.25-xbox/" . So I opened the initrd file and put modules.dep in "/lib/modules/" folder and "loop.ko" file in both "/lib/" folder and "lib/modules/kernel-2.4.25-xbox/drivers/block" folder. I took modules.dep and loop.ko file from FC3. Now, whenever I try teh command "modprobe loop" it shows "loop module not found" and when I try "modprobe /lib/loop.ko" it shows "cannt find teh version of kernel teh module was compiled for".. Now my question is , whats teh right way to load a module from initrd file ( the distro runs completely of initrd file). r

Matir 02-21-2005 10:10 AM

A module compiled for a 2.6 kernel will NEVER work with a 2.4 kernel. (.ko modules are all 2.6). You will need to find a module compiled specifically for your kernel. I am curious: how did you only manage to spell 'the' as 'the' once in your post?

kingroach 02-21-2005 12:55 PM

:D bad influence of chatting.. teh one tiem I spelled it right, I had to re-type it..

so, I need to get module.dep and loop module from a linux 2.4.x kernel.. `hmm.. thnx , I will try that..


All times are GMT -5. The time now is 04:39 PM.