PDA

View Full Version : How to mount the KNOPPIX file in woody?



witkey
12-10-2002, 06:58 PM
I want to modify some configure file directly with the KNOPPIX image file.
But it doesn't work when I try to mount the KNOPPIX image file like this.
#mount -o loop -t iso9660 /cdrom/KNOPPIX/KNOPPIX /mnt/tmp
Following is the error message
mount: wrong fs type, bad option, bad superblock on /dev/loop0,or too many mounted file systems

Anyhelp will be appreciate.


Witkey.

eadz
12-10-2002, 09:30 PM
see the cloop readme
http://www.knopper.net/download/knoppix/cloop.README

you will have to compile that module for your running kernel. ( doesn't require a kernel recompile if you have the sources )

Mounting a compressed image (see above for device creation):
insmod cloop.o file=/path/to/compressed/image
mount -o ro -t whatever /dev/cloop /mnt/compressed

Dave_Bechtel
12-11-2002, 04:42 AM
--In addition to eadz's advice, I would try switching around your mount options, as such:

' mount -t auto /cdrom/KNOPPIX/KNOPPIX /mnt/tmp -o[mountoptions] '


I want to modify some configure file directly with the KNOPPIX image file.
But it doesn't work when I try to mount the KNOPPIX image file like this.
#mount -o loop -t iso9660 /cdrom/KNOPPIX/KNOPPIX /mnt/tmp
Following is the error message
mount: wrong fs type, bad option, bad superblock on /dev/loop0,or too many mounted file systems

Anyhelp will be appreciate.


Witkey.

witkey
12-12-2002, 07:41 PM
Thanks anyway!

But it report the following error message when issue the instruction.

witkey:~# insmod cloop file=/cdrom/KNOPPIX/KNOPPIX
Using /lib/modules/2.4.19/misc/cloop.o
/lib/modules/2.4.19/misc/cloop.o: unresolved symbol kunmap_high
/lib/modules/2.4.19/misc/cloop.o: unresolved symbol highmem_start_page
/lib/modules/2.4.19/misc/cloop.o: unresolved symbol kmap_high

Need some help from you,my friends.

eadz
12-12-2002, 09:26 PM
it seems your cloop module is not compiled correctly for your running kernel. you will need to recompile the cloop module, make sure your kernel sources in /usr/src/linux match your running kernel before compiling.

witkey
12-13-2002, 05:37 AM
Yes. I had recomplied the cloop module with the way you taught. But still have the same problem. So, don't know what's the problem.

witkey
12-13-2002, 08:45 AM
Oh,I know what's the problem now. Maybe something wrong with the cloop package from Debian. It works well when I got the package from knoppix.net .

locutus
01-14-2005, 06:22 AM
see the cloop readme
http://www.knopper.net/download/knoppix/cloop.README

you will have to compile that module for your running kernel. ( doesn't require a kernel recompile if you have the sources )

Mounting a compressed image (see above for device creation):
insmod cloop.o file=/path/to/compressed/image
mount -o ro -t whatever /dev/cloop /mnt/compressed

Do you know if there is a way to mount a compressed image( KNOPPIX ) from a running CDROM based Knoppix system?

I tried but because cloop is already loaded and associated with /cdrom/KNOPPIX/KNOPPIX, it just locks up the process.
Thanks.