Other Help Topics :: HowTo open the compressed KNOPPIX file?



hi again.

anybody knows how can i open, mount, or decompress the file created in the first step of remastering
mkisofs -R [--source--] | create_compressed_fs

i have tried to find information about that but, nothing

"mount -o loop whatever"
Here's some examples, change the directory names where appropriate


Create the compressed file:-

mkisofs -R -L /mnt/hda2 | create_compressed_fs - 65536 > /mnt/hda1/custom/KNOPPIX_CD/KNOPPIX/KNOPPIX
go plant cofee beans, come back when beans are harvested, roasted, ground and made into coffee
drink coffee

Make the iso:-

cd /mnt/hda1/custom
mkisofs -J -T -v ir -c KNOPPIX/boot.cat -b KNOPPIX/boot.img -o knoppix_custom.iso KNOPPIX_CD

Burn the iso:-

cdrecord -v dev=0,0 knoppix_custom.iso (or similar to burn the image to cd)

To create a boot screen:-

mkdir /mnt/hda1/custom/bootscreen
mkdir /mnt/hda1/custom/bootscreen/unpacked
cd /mnt/hda1/custom/bootscreen
cp /mnt/hda1/custom/KNOPPIX_CD/KNOPPIX/boot.img
mount -o loop boot.img unpacked
cp unpacked/logo.16 . lss16toppm <logo.16 >logo16.ppm
modify logo16.ppm with GIMP and save as logo16.bmp
convert the bmp to ppm:- bmptoppm <logo16.bmp >logo16.ppm
ppmtolss16 <logo16.ppm >logo.16
copy back to image file:- cp logo.16 unpacked

Modify boot msg:-

mkdir /mnt/hda1/custom/messages
mkdir /mnt/hda1/custom/messages/unpacked
cd /mnt/hda1/custom/bootscreen
cp /mnt/hda1/custom/KNOPPIX_CD/KNOPPOPIX/boot.img
mount -o loop boot.img unpacked (this extracts miniroot.gz)
cp unpacked/miniroot.gz /mnt/hda1/custom/messages
cd /mnt/hda1/custom/messages
gunzip miniroot.gz
mount -o loop miniroot unpacked
(the boot message is the ASCII file unpacked/linuxrc - edit with vi or such)
then:- umount unpacked
gzip -9 miniroot
cp miniroot.gz /mnt/hda1/custom/bootscreen/unpacked
cd /mnt/hda1/custom/bootscreen
umount unpacked
cp boot.img /mnt/hda1/custom/KNOPPIX_CD/KNOPPIX

What command will decompress the cloop compressed Knoppix filesystem found at /cdrom/KNOPPIX/KNOPPIX so that I can add and remove stuff?  Then what is the reverse of this prior to running mkisofs?  
I know I need to create a directory for the stuff to unpack to first: mkdir /home/dsl/build
I know I need to get and use the cloop tool version 1.02
That's about all I've found so far.

Quote (ripcrd6 @ Aug. 18 2004,04:07)
What command will decompress the cloop compressed Knoppix filesystem found at /cdrom/KNOPPIX/KNOPPIX so that I can add and remove stuff?

""mount -o loop whatever""

$    insmod cloop file=/cdrom/KNOPPIX/KNOPPIX
$    mount -o ro /dev/cloop /mnt/compressed
$    cp -Rupv /mnt/compressed/* /newcd/source
$    umount /dev/cloop


that should do it

Next Page...
original here.