about the knoppix imageForum: Other Help Topics Topic: about the knoppix image started by: elden Posted by elden on May 09 2006,10:50
uhmm, how can i view, or extract the knoppix file?
Posted by pr0f3550r on May 09 2006,11:36
Posted by elden on May 09 2006,12:30
dude, you took it literally, or in the wrong way. let me rephrasemy sentence. what i meant to say is that how do i view the contents of the knoppix file(like seeing a directory structure), not to view it byte by byte. Posted by clacker on May 09 2006,13: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. Posted by pr0f3550r on May 09 2006,18:43
cloop is already mounted:
So, in my view 'ls -al /KNOPPIX' should give the same result as the one you just posted. Posted by clacker on May 09 2006,22:31
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.
Posted by elden on May 10 2006,12:11
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 |