-
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
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module
$349.97
Cisco STACK-T4-3M Stacking Cable New Sealed
$149.00
Cisco 2960 X-Series WS-C2960X-48LPS-L 48 Port PoE+ 370W Gigabit Switch TESTED
$69.99
Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod
$89.00
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$38.99
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
Cisco CP-8851-3PCC-K9= IP Phone 8851 with Multiplatform Firmware - Charcoal
$50.00
Cisco 8851 CP-8851 CP-8851-K9 V11 IP Office Phone w/ Cord, Handset & Stand
$16.95
Cisco UCS-FI-M-6324 v04 6324 UCS Fabric INTERCONNECT
$450.00
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch
$449.00