PDA

View Full Version : increased iso size after remastering



cYmen
06-26-2003, 03:01 PM
why is my iso bigger if i only decompress and recompress it and how can i avoid that?
the KNOPPIX file was about 7-8mb bigger then before

rickenbacherus
06-26-2003, 07:32 PM
This is a wild guess from the furthest reaches of my tiny little mind. When you recompress try using the -9 flag.

cYmen
06-27-2003, 08:27 AM
neither mkisofs nor create_compressed_fs takes a -9 parameter, what are you trying to tell me?

cYmen
06-27-2003, 10:40 AM
:evil:
i discovered it doesn't seem to be the compression but the decompression :oops:
i mount the KNOPPIX file with
insmod cloop file=KNOPPIX
mount /dev/cloop somedir
somedir then has about 1.8gb
if i copy it to a normal dir that suddenly has 2.0gb

i used cp -a -v

any clues how to fix this? :?

eadz
06-27-2003, 12:04 PM
I think 1.8 GB on an iso9660 filesystem will take up 2GB on an ext2 filesystem, if I get your problem correctly, then it's just the extra overhead of ext2 compared to iso9660

cYmen
06-27-2003, 12:17 PM
hm might be :?
<edit>
eh...just catched the thougt:
i m not using ext2 but ext3
any chance that this may be part of the reason?
</edit>

but then why on earth is my image growing :cry:

cYmen
06-27-2003, 02:06 PM
i now converted a partition to ext2 _and_ created the KNOPPIX file from the cloop mounted original file (sound weird? it is!)
and guess what? still growing...
that brings me back to a compression problem :twisted:
damn it

asheehy
07-10-2003, 03:37 PM
I don't pretend to know why, but I had the same problem and found that if you use an xfs partition instead of ext2 or ext3, then the problem goes away.

I also found that if I removed some large packages using apt-get and then added them later, the overhead incurred by using ext2 or ext3 previously was reduced.

Hope this helps. :?