PDA

View Full Version : Using Knoppix with a non compressed fs



SillyFly
06-16-2003, 09:41 AM
here's the thing -
I want to use Knoppix with a non-compressed fs image (never mind the reasons now. I need it non-compressed, so don't get into - compressed image will give you better preformance times - discussions)
so I thought - edit the linuxrc file inside miniroot.gz, change the line that mounts the imgae with cloop to regular loop.
the thing is, the cloop module uses a syntax like - insmod cloop.o file=image, and the loop module doesn't seem to like that syntax.
also - mount -o loop says - unknown option loop. also tried using losetup, but it didn't work either.
I'm prolly doing something wrong, so could someone please tell me what is the right way for mounting a non-compressed fs image?

10x.

garyng
06-16-2003, 09:56 AM
because there is no losetup in the initrd.

What you need to do is to grab a copy of busybox and enable those features especially losetup and put it into /static of initrd. You may also use the standard losetup but make sure you also copy all those /lib/*/.so files over.

You also need to make the /dev/loop0 node

You also need to put loop.o in /modules

then you can modify the linuxrc to something like(replace the insmod cloop.o file=...)

insmode /modules/loop.0
losetup /dev/loop0 /wherever_your_uncompressed_image

and move on