-
Senior Member
registered user
Knoppix 3.8.2: remastered ISO larger than original
I did a trivial remaster of Knoppix 3.8.2. However, the resulting ISO is 756 MB, which is ~30 MB larger than the 727 MB of the downloaded Knoppix ISO. Anyone have any suggestions why this might be? Am I missing an option to the mkisofs? Can anyone else reproduce my results?
Regards,
- Robert
http://www.cwelug.org/
-
Administrator
Site Admin-
Re: Knoppix 3.8.2: remastered ISO larger than original

Originally Posted by
rwcitek
.... the resulting ISO is 756 MB, which is ~30 MB larger than the 727 MB of the downloaded Knoppix ISO.....
You clearly have a size problem and I do not know the cause or cure of it.
You also have a terminology problem and it may be helpful to correct that before you go further. The 3.8.2 iso is not 727 megs in size. It is, in fact, less than 700 megs in size (sorry, I don't still have that iso on my system or I would give you a more exact size). I believe you, like many people, are confusing bytes, K bytes and megs. 1 meg bytes is not 1,000,000 bytes, it is 1024x1024 bytes (1,048,576 bytes). You should find that the original 3.8.2 ISO is between 693 and 695 megs in size (which helps explain how it fits on a 700 meg CDR or CDRW).
None of this, of course, solves the problem of why your new iso is larger or how to correct that. But getting the terms correct will better help you communicate the problem, and that may help you reach a correct answer sooner.
-
Senior Member
registered user
Re: Knoppix 3.8.2: remastered ISO larger than original

Originally Posted by
rwcitek
I think that your porblem is 'trivial remaster' itself in wiki page.
Try to remaster with HOWTO: Remaster the easy way using menu based scripts. It is not perfect but works quite well anyhow. Scripts used in this howto makes cleaning up of remastered system (removes temp files and zeroes cache files) to spare disk space.
-tapsa-
-
Senior Member
registered user
Re: Knoppix 3.8.2: remastered ISO larger than original

Originally Posted by
Harry Kuhman
The 3.8.2 iso is not 727 megs in size. It is, in fact, less than 700 megs in size (sorry, I don't still have that iso on my system or I would give you a more exact size). I believe you, like many people, are confusing bytes, K bytes and megs. 1 meg bytes is not 1,000,000 bytes, it is 1024x1024 bytes (1,048,576 bytes). You should find that the original 3.8.2 ISO is between 693 and 695 megs in size (which helps explain how it fits on a 700 meg CDR or CDRW).
Fair enough. The original 3.8.2 iso is 727289856 bytes or 693.59765625 MB. My remastered ISO is 756043776 bytes or 721.01953125 MB, which is 28753920 bytes or 27.421875 MB larger and therefore won't fit on a CD-ROM.
The only thing my remasting script does is copy the files from the CD to two folders and then rebuilds the compressed filesystem and the ISO. Nothing added. Nothing removed.
Regards,
- Robert
http://www.cwelug.org/
-
Senior Member
registered user
Re: Knoppix 3.8.2: remastered ISO larger than original

Originally Posted by
tr
I think that your porblem is 'trivial remaster' itself in wiki page.
How's that? That is, where is the problem?

Originally Posted by
tr
Try to remaster with HOWTO: Remaster the easy way using menu based scripts. It is not perfect but works quite well anyhow. Scripts used in this howto makes cleaning up of remastered system (removes temp files and zeroes cache files) to spare disk space.
I ran the knoppix-remaster script that the HowTo references using the same setup that I used in the trivial remaster (i.e. same swapfile and same target, /mnt/hda3/knx) and did the following:
1) clicked "yes" for "Do you want to create a new remaster?"
2) chose /mnt/hda3/knx for "New remaster directory"
3) chose "2 - Create compressed fs"
4) chose "3 - Create isofs"
5) chose "6 - Quit"
The resulting ISO was 744538112 bytes or 710.046875 MB, which is still 17248256 bytes or 16.44921875 MB larger than the original ISO.
BTW, I am visualizing the compressed filesystem as a bunch of files in a container which is compressed. If I uncompress the container, I get the files. If I take the files out of the container, put them in a new container, and compress the new container, then I get a new compressed container that should be identical to the original container.
Is that an accurate model of the compressed filesystem?
Regards,
- Robert
http://www.cwelug.org/
-
Senior Member
registered user
Re: Knoppix 3.8.2: remastered ISO larger than original

Originally Posted by
rwcitek
BTW, I am visualizing the compressed filesystem as a bunch of files in a container which is compressed. If I uncompress the container, I get the files. If I take the files out of the container, put them in a new container, and compress the new container, then I get a new compressed container that should be identical to the original container.
Apparently, there are hard links on the compressed ISO:
Code:
find /KNOPPIX/etc -type f -links +1 | xargs ls -ladi
That means a single file with two names on the original ISO becomes two files when copied.
Regards,
- Robert
http://www.cwelug.org/
-
Senior Member
registered user
Re: Knoppix 3.8.2: remastered ISO larger than original
[quote="rwcitek"]

Originally Posted by
rwcitek
BTW, I am visualizing the compressed filesystem as a bunch of files in a container which is compressed. If I uncompress the container, I get the files. If I take the files out of the container, put them in a new container, and compress the new container, then I get a new compressed container that should be identical to the original container.
I think this is right.
But of your remastering. Have you copied your home directory to /etc/skel and removed it after that? If you have BOTH /etc/skel and /home /knoppix remaining it takes much space. I think that Knoppix.clean script don't empty existing home directory but I might be wrong. Could this be the reason for your too big CD?
-tapsa-
Similar Threads
-
By maestrobwh1 in forum General Support
Replies: 0
Last Post: 09-18-2007, 07:41 PM
-
By tsfu in forum Customising & Remastering
Replies: 12
Last Post: 03-19-2005, 03:03 AM
-
By nvgringo in forum Customising & Remastering
Replies: 10
Last Post: 08-12-2004, 07:12 PM
-
By diablo266 in forum Networking
Replies: 0
Last Post: 06-06-2004, 11:59 PM
-
By bfree in forum Customising & Remastering
Replies: 0
Last Post: 11-27-2003, 10:05 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

DEC PDP-11/34 Front Panel Complete PDP11 RARE
$450.00

Vintage Intel Mainframe Server MCM CPU Substrate Lot Prototyping PGA Validation
$500.00

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer
$157.30

HP 13210-60001 Disc Drive Interface PCB HP 7900A 7901A Vintage
$157.93

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive
$649.00

Computer Tape Reel 1600 BPI 9 Track Vintage Mainframe LOT OF 2 WITH BOX
$89.95

Vintage Mainframe Computer Disk Drive Pack Dyson SMD 5 Level Disks
$79.00

Rare Vintage Mainframe Burroughs Discrete-Transistor Cordwood Module B2500/B5000
$99.95

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25
$799.00

IBM 3274-51C Controller 3270 mainframe 8" floppy tested to power on
$500.00