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.![]()

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99
EMC KTN-SL3 15-Bay Disk Array Enclosure w/2x 303-108-000E Cards, Dual PSU,No HDD
$239.99
Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i
$228.00
G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only
$200.00
MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.19
Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99
Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95
NVME M.2 Adapter Card PCIE X16 Splitter Expansion Controller 4-Disk Soft RAID
$24.43
Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board
$300.00
Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99