Hey,
You were right about the module not being loaded I managed to get the commands working as far as:-
lsmod
modprobe loop
echo "$?"
lsmod
losetup /dev/loop0 initrd.img (this worked successfully)
but it failed on mount /dev/loop0 initrd, with the error
[root@chris-laptop boot]# mount /dev/loop0 initrd
/dev/loop0: Invalid argument
mount: you must specify the filesystem type
I also tried the following:-
[root@chris-laptop boot]# modprobe loop
[root@chris-laptop boot]# echo "$?"
0
[root@chris-laptop boot]# mount initrd.img initrd -o loop
/dev/loop0: Invalid argument
mount: you must specify the filesystem type
[root@chris-laptop boot]# echo "$?"
32
[root@chris-laptop boot]#
Thanks for the help so far
btw I also tried the following site (its for handhelds but I believe the commands should still work) without success:
http://www.handhelds.org/handhelds-faq/filesystems.html (might be useful for some ideas)