HowTo open the compressed KNOPPIX file?Forum: Other Help Topics Topic: HowTo open the compressed KNOPPIX file? started by: danini Posted by danini on July 06 2004,09:41
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 Posted by <--iNT13--> on Aug. 01 2004,01:47
"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 Posted by ripcrd6 on Aug. 18 2004,08:07
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. Posted by <--iNT13--> on Feb. 02 2005,00:03
""mount -o loop whatever"" Posted by marker on Feb. 22 2005,15:44
$ 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 Posted by henk.1955 on Feb. 22 2005,15:54
1. ln -s /cdrom/KNOPPIX/KNOPPIX ~/KNOPPIX.ci2. mydsl-load ~/KNOPPIX.ci 3. cp -Rp /opt/KNOPPIX /newcd/source 4. mydsl-load ~/KNOPPIX.ci 1. create a link to the compressed image 2. use mydsl-load to mount the image to /opt 3. copy the content 4 use mydsl-load to unount the image Posted by Luca on Feb. 25 2005,14:33
how i can open the compressed file from windows?
Posted by muellerr1 on May 12 2005,15:20
I don't think there is a way to open it from windows. I've seen an app that will let you access an ext2 filesystem on a partition, but not a compressed iso9660 file.This will let you mount the KNOPPIX file from DSL:
But, you can only mount this file as read-only. Anyone know a way to mount it read-write? Or is the only way to modify it to copy all the files off, modify them, then create a new KNOPPIX file? The reason I'm asking is, I think it would be cool to have a dynamically-modifyable system so I can add libraries to DSL and not have to worry about mydsl-load for everything. Posted by mikshaw on May 12 2005,15:28
The iso9660 filesystem is read-only by design. I don't think there's any way to make it read-write with standard software, although there may be hacks or special tools available somewhere.
Posted by muellerr1 on May 12 2005,19:12
Thanks for the info mik. After doing some searching, I realize now that this is a GOOD thing. I want make alsa (among other things) permanent, but having a read-only filesystem is much more secure. I think the way to do what I need is to just remaster, in which case chroot is my friend.
|