This is a wild guess from the furthest reaches of my tiny little mind. When you recompress try using the -9 flag.
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
This is a wild guess from the furthest reaches of my tiny little mind. When you recompress try using the -9 flag.
neither mkisofs nor create_compressed_fs takes a -9 parameter, what are you trying to tell me?
![]()
i discovered it doesn't seem to be the compression but the decompression
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?![]()
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
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![]()
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![]()
damn it
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.![]()

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$169.99
Intel Core i9-9900K SRG19 3.60GHz 16MB 8-Core LGA1151 B Grade CPU Processor
$175.00
HP EliteBook 840 G5 Laptop Intel Core i5 7200U 8GB RAM – No HDD
$64.00
AMD Ryzen 7 7700X 8-Core, 16-Thread Unlocked Desktop Processor
$250.00
AMD RYZEN 7 9800X3D 8-Core, 16-Thread Desktop Processor
$399.00
Intel Xeon E-2478 2.8Ghz 24MB Cache 8 Core FCLGA1700 Server Processor CPU SRMX7
$599.95
AMD Ryzen 5 PRO 4650GE 100-000000153 6-Core 3.30GHz 8MB AM4 CPU Processor
$59.99
AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99
Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS
$259.98
Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11
$250.00