Other Help Topics :: about the knoppix image



You're correct if all you want to look at is the KNOPPIX file that you are currently using.  I sometimes want to look inside other versions of dsl or KNOPPIX without rebooting and the technique I showed allows you to do that.
Quote (clacker @ May 09 2006,09:46)
The KNOPPIX file is a compressed file system.  You need to mount it and then view it like any other mount.  It's read only, by the way.

sudo mount -o loop=/dev/cloop7 /cdrom/KNOPPIX/KNOPPIX /mnt/test
ls /mnt/test
ls /mnt/test/usr/lib/modules/2.4.26/kernel/drivers/
sudo umount/test


You can use a lowest unused cloop you have rather than cloop7, I did that in case you have some uci's loaded.

dude, that didn't worked. anyway, you kinda gave me an idea. thanx anyway for telling me its a compressed file system. here's my solution to my own problem.

i researched about compressed file systems, eventually ending up at cloop-utils. i installed it in my mandrake and heres what i did:


mkdir /tmp/dsl-cd
mount -o loop -r /mnt/cdrom/dsl-2.3.iso /tmp/knoppix-cd

mkdir /tmp/dsl-cloop
extract_compressed_fs \
  /tmp/dsl-cd/KNOPPIX/KNOPPIX \
   >/var/tmp/dsl-cloop
mount -o loop /var/tmp/dsl-cloop \
  /tmp/dsl-cloop

find /tmp/dsl-cloop -print



feels good to get some ideas and make it work  :;):


original here.