Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: HowTo open the compressed KNOPPIX file?< Next Oldest | Next Newest >
danini Offline





Group: Members
Posts: 23
Joined: May 2004
Posted: July 06 2004,09:41 QUOTE

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
Back to top
Profile PM 
<--iNT13--> Offline





Group: Members
Posts: 10
Joined: June 2004
Posted: Aug. 01 2004,01:47 QUOTE

"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
Back to top
Profile PM 
ripcrd6 Offline





Group: Members
Posts: 155
Joined: Dec. 2003
Posted: Aug. 18 2004,08:07 QUOTE

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.


--------------
ripcrd6
----------------
Somewhere there is a village missing an idiot.
Back to top
Profile PM 
<--iNT13--> Offline





Group: Members
Posts: 10
Joined: June 2004
Posted: Feb. 02 2005,00:03 QUOTE

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""
Back to top
Profile PM 
marker
Unregistered






Posted: Feb. 22 2005,15:44 QUOTE

$    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
Back to top
9 replies since July 06 2004,09:41 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: HowTo open the compressed KNOPPIX file?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code