-
[SOLVED] How to uncompress KNOPPIX file from the hard disk?
Hi,
We can uncompress the image CD (KNOPPIX.iso) in this way:
mkdir /mnt/knoppixcd
mount -o loop knoppix.iso /mnt/knoppixcd
mkdir /mnt/master
cp -a /mnt/knoppixcd/* /mnt/master
Then, we will have the master directory WITH the huge KNOPPIX/KNOPPIX file.
But, how can I uncompress KNOPPIX/KNOPPIX? Is there anyway to use /usr/bin/create_compressed_fs in the inverse way to uncompress the file directly from the hard disk?
Thank you!
Solution
If you are using Debian, you can install the cloop-utils package, wich has both create_compressed_fs and extract_compresed_fs and other files.
The full sequence to extract files from the iso is:
# mkdir /mnt/knoppix
# cd /mnt/dsl
# mkdir iso extracted_knx master sources
# mount -o loop DSL.iso /mnt/dsl/iso
# cp -Rp iso/* master
# umount iso && rm -r iso
# extract_compresed_fs master/KNOPPIX/KNOPPIX > master/KNOPPIX/extracted_knx
# mount -o loop master/KNOPPIX/extracted_knx extracted_knx
# cp -Rp extracted_knx/* sources
# umount extracted_knx && rm -r extracted_knx
# rm master/KNOPPIX/KNOPPIX master/KNOPPIX/extracted_knx
That's all!
-
An alternative to uncompressing the large KNOPPIX file and then loopback mounting is to mount the compressed KNOPPIX file itself.
Thus instead of:
# extract_compresed_fs master/KNOPPIX/KNOPPIX > master/KNOPPIX/extracted_knx
# mount -o loop master/KNOPPIX/extracted_knx extracted_knx
You can:
# sh master/KNOPPIX/KNOPPIX extracted_knx
This will mount the compressed master/KNOPPIX/KNOPPIX file to the mountpoint extracted_knx, you do need the cloop modules as above.
-
No, I'm not using the cloop module, I'm using some utils, binary utils, included -at least in Debian- in the package cloop-utils.
I think in your way is needed the cloop module. I am using Debian Sid, with a precompiled kernel, and see what it says me:
mount -o loop KNOPPIX.iso iso
sh iso/KNOPPIX/KNOPPIX extracted_knx
FATAL: Module cloop not found.
Or I didn't understand you?
Regards.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
merrik
No, I'm not using the cloop module ... I think in your way is needed the cloop module.
You are correct, wasn't sure if you cloop-utils supplied the kernel module. It would appear that it doesn't.
Similar Threads
-
By jorrigal in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 05-11-2007, 04:47 PM
-
By Mr_White in forum MS Windows & New to Linux
Replies: 2
Last Post: 03-25-2005, 01:26 AM
-
By Ionut in forum General Support
Replies: 1
Last Post: 06-21-2004, 08:05 PM
-
By drg55 in forum Hardware & Booting
Replies: 0
Last Post: 11-23-2003, 09:10 AM
-
By bongski55 in forum General Support
Replies: 3
Last Post: 05-06-2003, 05:50 PM
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
![Knoppix NSM 1.2 picture](/store/img/g/btwAAOSwWpVlAOZn/s-l225/Knoppix-NSM-1-2.jpg)
Knoppix NSM 1.2
$6.40
![Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture](/store/img/g/I8UAAOSwdHdgiQtc/s-l225/Knoppix-Live-GNU-Linux-System-9-1-on-Bootable-CD-D.jpg)
Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$9.99
![KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture](/store/img/g/I3EAAOSwdEll-z0J/s-l225/KNOPPIX-9-1-LINUX-INSTALL-LIVE-DVD.jpg)
KNOPPIX 9.1 LINUX INSTALL & LIVE DVD
$9.99
![Linux Knoppix 4.0.2 Installation Disc picture](/store/img/g/jvgAAOSw2kVl3ru~/s-l225/Linux-Knoppix-4-0-2-Installation-Disc.jpg)
Linux Knoppix 4.0.2 Installation Disc
$29.99
![Knoppix Linux Bootable OS v8.6](/store/img/g/m9EAAOSwwL5fs9mY/s-l225/Knoppix-Linux-Bootable-OS-v8-6-Original-Live-Opera.jpg)
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$20.30
![Hamshack Live DVD-ROM picture](/store/img/g/Or0AAOSwsZpkY8PH/s-l225/Hamshack-Live-DVD-ROM.jpg)
Hamshack Live DVD-ROM
$8.00
![Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture](/store/img/g/u1wAAOSwhBJljLXq/s-l225/Acer-Aspire-One-9-inch-Netbook-ZG5-512MB-RAM-8GB-S.jpg)
Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA
$79.99
![Knoppix 3.4 Linux installation CD picture](/store/img/g/UqAAAOSwPf1mNj1O/s-l225/Knoppix-3-4-Linux-installation-CD.jpg)
Knoppix 3.4 Linux installation CD
$10.00
![Knoppix Linux Bootable OS v8.6](/store/img/g/m9EAAOSwwL5fs9mY/s-l225/Knoppix-Linux-Bootable-OS-v8-6-Original-Live-Opera.jpg)
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$19.95