Results 1 to 4 of 4

Thread: [SOLVED] How to uncompress KNOPPIX file from the hard disk?

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2005
    Posts
    9

    [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!

  2. #2
    Member registered user
    Join Date
    Mar 2005
    Posts
    87
    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.

  3. #3
    Junior Member
    Join Date
    Nov 2005
    Posts
    9
    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.

  4. #4
    Member registered user
    Join Date
    Mar 2005
    Posts
    87
    Quote 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

  1. Knoppix from Hard Disk (need help)
    By jorrigal in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-11-2007, 04:47 PM
  2. Writing 2 windows file systems after booting from Hard disk
    By Mr_White in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 03-25-2005, 01:26 AM
  3. How I can modify a file on the hard disk!
    By Ionut in forum General Support
    Replies: 1
    Last Post: 06-21-2004, 08:05 PM
  4. Problem configuring devices - solved, bad disk
    By drg55 in forum Hardware & Booting
    Replies: 0
    Last Post: 11-23-2003, 09:10 AM
  5. Permanent Swap File in Hard disk for Knoppix
    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
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



Seagate ST8000DM004 8TB 3.5

Seagate ST8000DM004 8TB 3.5" 6Gb/s 256MB SATA HDD P/N: 2CX188-300 Tested

$149.99



DELL 2TB Enterprise HDD (7200RPM, 3.5

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600

$49.95



Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%) picture

HGST HUA723030ALA640 3TB SATA 7200 RPM 3.5 in Enterprise HDD | 0F14044 (100%)

$45.00



HGST Ultrastar 7K4000 3TB 7200RPM SATA III 3.5

HGST Ultrastar 7K4000 3TB 7200RPM SATA III 3.5" Hard Drive HDD HUS724030ALA640

$39.99



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE

$199.99



Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS picture

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS

$184.99