09-05-2003, 07:01 PM
I have seen several references to the increase in Knoppix image size. I have looked at the effects of this with the 3.2-7-24-EN version and I want to understand why this happens. Here are the statistics:
[OUTLINE]
I pull the contents of the CDROM to harddisk
I pull the contents of the compressed loopback FS to harddisk
I do NOTHING ... add nothing, change nothing
Rebuild the cloop fs
Rebuild the final ISO
Here is a comparison:
Originial ISO
KNOPPIX_V3.2-2003-07-24-EN.iso -> 726171648 (ls)
After CD Boot the 7-24-EN Knoppix 3.2 sizes are:
/KNOPPIX -> 1837388k (du -s)
/cdrom -> 708743k (du -s)
/cdrom/KNOPPIX/KNOPPIX -> 717986603 (ls)
After copying contents to ext3 partition
cdrom/KNOPPIX/KNOPPIX -> 717986603 (du -s)
KNOPPIX.d/ -> 2125956k (du -s)
After Remaking the KNOPPIX File using command:
mkisofs -R -U -V \"KNOPPIX filesystem\" -hide-rr-moved -cache-inodes -no-bak -pad \
KNOPPIX.d/ | create_compressed_fs - 65536 > cdrom/KNOPPIX/KNOPPIX
I get a cloop fs image:
cdrom/KNOPPIX/KNOPPIX -> 740361704 (ls)
Final ISO using :
mkisofs -pad -l -r -v -J -V "KNOPPIX" -hide-rr-moved -o myknoppix.iso -b KNOPPIX/boot.img -c KNOPPIX/boot.cat cdrom
myknoppix.iso -> 748546048 (ls)
The trouble step is clearly the creation of the CLOOP ISO. Some threads have said that it depends on hardware (lots of things, drive RPM, processor, etc). But I don't understand why this would be the case. Slower hardware should just take longer ... not result in a different file size. Am I making a mistake somewhere?
So somehow going through the process without adding anything I gain about 22000000B
Its a mystery to me.
Austin
[OUTLINE]
I pull the contents of the CDROM to harddisk
I pull the contents of the compressed loopback FS to harddisk
I do NOTHING ... add nothing, change nothing
Rebuild the cloop fs
Rebuild the final ISO
Here is a comparison:
Originial ISO
KNOPPIX_V3.2-2003-07-24-EN.iso -> 726171648 (ls)
After CD Boot the 7-24-EN Knoppix 3.2 sizes are:
/KNOPPIX -> 1837388k (du -s)
/cdrom -> 708743k (du -s)
/cdrom/KNOPPIX/KNOPPIX -> 717986603 (ls)
After copying contents to ext3 partition
cdrom/KNOPPIX/KNOPPIX -> 717986603 (du -s)
KNOPPIX.d/ -> 2125956k (du -s)
After Remaking the KNOPPIX File using command:
mkisofs -R -U -V \"KNOPPIX filesystem\" -hide-rr-moved -cache-inodes -no-bak -pad \
KNOPPIX.d/ | create_compressed_fs - 65536 > cdrom/KNOPPIX/KNOPPIX
I get a cloop fs image:
cdrom/KNOPPIX/KNOPPIX -> 740361704 (ls)
Final ISO using :
mkisofs -pad -l -r -v -J -V "KNOPPIX" -hide-rr-moved -o myknoppix.iso -b KNOPPIX/boot.img -c KNOPPIX/boot.cat cdrom
myknoppix.iso -> 748546048 (ls)
The trouble step is clearly the creation of the CLOOP ISO. Some threads have said that it depends on hardware (lots of things, drive RPM, processor, etc). But I don't understand why this would be the case. Slower hardware should just take longer ... not result in a different file size. Am I making a mistake somewhere?
So somehow going through the process without adding anything I gain about 22000000B
Its a mystery to me.
Austin