remaking iso9660 filesystem without any change BLOWS UP size

Home Page Forums Network Management ZeroShell remaking iso9660 filesystem without any change BLOWS UP size

This topic contains 1 reply, has 0 voices, and was last updated by  linuxophilicsb 6 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43385

    Environment details:

    ZS (ZeroShell-1.0.beta16-CompactFlash-IDE-USB-SATA-1GB.img) image

    is loaded (without booting it) in an extra hard disk device ( sdb)

    The OS in which the procedure was carried out : Xubuntu 12.04

    What I did:

    1. Mounted iso filesystem of zs(the 2nd partition) in /mnt/sdb2


    mount /dev/sdb2 /mnt/sdb2

    2. Made a new iso image using the files that were in the mounted isofs


    cd /mnt/sdb2
    mkisofs -U -r -hide-rr-moved -o /var/tmp/zs_par2.iso ./

    Findings:

    ls -lh” of the original isoimage(copied using “dd if=/dev/sdb2 of=zspar2_orig.iso“) gives size as 168MB whereas the new image created has a size of 362M without the slightest change.

    It’s OK if the sizes aren’t the exact same, but the 2nd image is larger than twice the

    size of the 1st image. I guess I’m missing something .

    Please help me by pointing out what I’ve missed. Thanks.

    #52367

    dvanzan
    Member

    I think it’s because the orignial iso9660 partition is compressed

    #52368

    Yeah, it worked.

    Thanks a lot.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.