-
how to mount KNOPPIX image without booting
How can I decompress and mount the KNOPPIX image from a knoppix CD when not running knoppix?
I would like to use my knoppix CD in cases where I need known-good utilities to investigate a computer that may have been cracked. It seems to me there ought to be a way to do a loopback mount of something from the CD to make Knoppix's /bin and /sbin usable without actually rebooting (which would most likely destroy most of the stuff I am trying to get a peek at). But I can't figure out what/how to mount.
My best guess is that I need to mount KNOPPIX (full path on my system is /media/KNOPPIX/KNOPPIX/KNOPPIX when I insert knoppix CD under my regular OS, not booting from CD) and that this is a compressed iso9660 image. It's apparently not in gzip format, nor is it plain iso9660, or at least I can't get zcat to deal with it or mount to mount it if I use -t iso9660. Could someone give me a hint how this should work? Is it even possible?
If this approach is bogus, is there some other way to make the software on the knoppix CD accessible, other than rebooting? Or should I just burn a CD that has what I want on it and not try to use knoppix?
Thanks,
Dave
-
Senior Member
registered user
Mounting KNOPPIX file is easy IF you have cloop module installed in your hard disk.
Code:
# mount -o loop knoppix.iso /mnt
# modprobe cloop
# losetup /dev/cloop0 /mnt/KNOPPIX/KNOPPIX
# mount /dev/cloop0 /mnt
mount: block device /dev/cloop0 is write-protected, mounting read-only
To unmount you must do following:
Code:
# umount /mnt
# losetup -d /dev/cloop0
# umount /mnt
-tapsa-
-
What about cloop module on newer kernels? It doesn't compile on 2.6.22 (and, AFAIK, 2.6.20 too). Are there no alternative? cloop seems to be pretty outdated.
-
Senior Member
registered user

Originally Posted by
HoverHell
What about cloop module on newer kernels? It doesn't compile on 2.6.22 (and, AFAIK, 2.6.20 too). Are there no alternative? cloop seems to be pretty outdated.
Yes, even cloop-2.06 dosn't work with 2.6.22 kernels. Klaus Knopper tries to get a working version of, so we must wait some time.
But cloop-2.05 works fine with 2.6.21* kernels. Perhaps you would like to try my kernel:
http://linux.ilmainen.net/suomiknoppix/linux-2.6.21.6/
You can download cloop-src from Debian testing by Apt if you like to compile kernel yourself.
-tapsa-
Similar Threads
-
By inguaravi in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 12-02-2007, 06:27 AM
-
By LoneShadow in forum Customising & Remastering
Replies: 3
Last Post: 11-24-2007, 06:54 PM
-
By kim in forum Customising & Remastering
Replies: 0
Last Post: 06-07-2004, 08:54 AM
-
By yuu_shi in forum General Support
Replies: 0
Last Post: 01-29-2004, 01:39 AM
-
By ciccio in forum General Support
Replies: 2
Last Post: 11-02-2003, 12:47 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Juniper MX204 +JUNOS and Dual Power Supply
$7299.99

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99

Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch
$245.00

Juniper QFX5120-32C-AFI 32x100GbE Switch Dual AC Airflow In, Rail Kit Included
$8995.00

Juniper Networks MX204-HW-BASE *BRAND NEW FACTORY SEALED* READ DETAILS
$8199.99

Juniper QFX5120-48Y-AFO 48 x 1/10/25GB SFP28 + 8 x 40/100GB Switch w/Dual AC
$10499.99

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic
$79.86

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management
$249.97

Juniper Networks Mist Wireless Access Points, Model AP45
$59.99