Results 1 to 7 of 7

Thread: Knoppix 3.8.2: remastered ISO larger than original

  1. #1
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    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/

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441

    Re: Knoppix 3.8.2: remastered ISO larger than original

    Quote 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.

  3. #3
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272

    Re: Knoppix 3.8.2: remastered ISO larger than original

    Quote Originally Posted by rwcitek
    I did a trivial remaster of Knoppix 3.8.2. However, the resulting ISO is 756 MB
    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-

  4. #4
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: Knoppix 3.8.2: remastered ISO larger than original

    Quote 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/

  5. #5
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: Knoppix 3.8.2: remastered ISO larger than original

    Quote 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?
    Quote 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/

  6. #6
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Saint Louis, MO, USA
    Posts
    376

    Re: Knoppix 3.8.2: remastered ISO larger than original

    Quote 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/

  7. #7
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Finland
    Posts
    272

    Re: Knoppix 3.8.2: remastered ISO larger than original

    [quote="rwcitek"]
    Quote 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

  1. Can't make a larger home (knoppix.img)?
    By maestrobwh1 in forum General Support
    Replies: 0
    Last Post: 09-18-2007, 07:41 PM
  2. 708 >> 698 of the original Knoppix iso
    By tsfu in forum Customising & Remastering
    Replies: 12
    Last Post: 03-19-2005, 03:03 AM
  3. How can I create a KNOPPIX/KNOPPIX file larger than 2 gigs?
    By nvgringo in forum Customising & Remastering
    Replies: 10
    Last Post: 08-12-2004, 07:12 PM
  4. Replies: 0
    Last Post: 06-06-2004, 11:59 PM
  5. Testing a remaster with just original knoppix
    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
  •  


5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord picture

D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord

$49.99



TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern picture

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern

$15.25



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99