-
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
Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive
$157.99
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$174.99
WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN
$49.99
Seagate ST9450404SS 9PY066-080 Savvio 450GB 10K 10k 2.5" 6G SAS Hard Drive
$15.00
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$74.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$27.49
WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN
$69.99
HDD 3.5" SATA Hard Drive with Windows 7/Win 10 Installed Legacy
$35.99