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

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99
Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99
NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99
Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks
$224.95
10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99
TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98
5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...
$9.64
Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00
5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99
NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$25.99