This step is not forced to be the first, it can be the
last, but it's absolutely necessary if you don't have the loop module in
your kernel.
To recompile the kernel install the kernel sources and
set the current directory to that where the sources are:
make clean
make xconfig:Find the loop modules and activate it to
Yes. The question about the loop device is in the option "block devices".
then:make zlilo or make zdisk or make zimage.
make modules
make modules_install.
You can recompile the kernel being sure you added the
loop module to it, or if it is too complicated for you, you can add a line
to the file /etc/conf.modules:alias loop loop .
dd if=/dev/zero of="filename Ej:/mnt/dosc/linux/ext2filemount.e2"
count="number of 512 bytes blocks"
mkfs -t ext2 filename : the same filename as before.
filename mountpoint fstype(ext2) loop 0 0
Then restarting the computer if you have done all well and have the loop module in your kernel will mount the filesystem on the file as a directory on your system.