-
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
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
MSI A320M-A PRO AM4 AMD A320 USB3.2 Gen1 Micro-ATX Motherboard
$46.99
Gigabyte GA-B75M-HD3 Intel LGA1155 DDR3 Desktop Motherboard MicroATX USB 3.0
$26.99
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
ASUS Prime Q270M-C LGA1151 DP HDMI VGA SATA 6GB/s USB 3.0 MicroATX Motherboard
$37.99
ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O
$99.00
MSI B550M PRO-VDH WIFI Socket AM4 AMD Motherboard
$80.00
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99