PDA

View Full Version : curious thing about image size



magyar
09-17-2004, 04:57 PM
I've been having trouble with remastering. So I tried something very basic. I followed the remastering HOWTO. However, I did not remove nor add any packages, files, programs, etc. So I was basically trying to "remaster" the original Knoppix image. However, the resulting ISO image from this process is too big to burn to a CD (I even used the -b option when creating the compressed filesystem).

I had to remove the OpenOffice packge to even be able to get a small enough image. It's a good thing that I don't require that package. But if I did, it would make it very difficult to come up with a remastered disk, since OpenOffice is so big, that's a lot of other packages that would have to be removed to equal the package size of OpenOffice.

Does anyone know what other steps are used to create the original Knoppix CD (or is it an ancient Chinese secret)? :wink:

ying-yang7
09-17-2004, 07:24 PM
there are some thinks that you have to do, if you want remaster it.
When you have done the instalation process, you must do a


apt-get clean

for clean any downloaded packages.
Then you must umount the /proc partition, because it has a lot of temporaries (2-3 GB) using the next command:


umount proc (if you are chrooted)
or

umount /route/to/your/knxsource/KNOPPIX/proc

and then you can remove from /var/tmp all the files.

And finishing, you can build a cloop and ISO file.

good luck