Results 1 to 3 of 3

Thread: Big Size with Remastering

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Posts
    1

    Big Size with Remastering

    Hello,
    first of all its my first time trying to remaster a knoppix CD.
    So i started with the how-to and created some shell scripts to easy my pain.
    They seem to work well.
    But when the CD image is created i get a 1GB cd (1119MB approx.)
    Much bigger than with what i started.

    So i looked up what could go wrong.
    apt-get install is giving me about 114MB of additional space required for the new installed packages.
    and
    apt-get remove openoffice* sun-java5-demo frees about 400MB

    So plenty inoff for my new programms but it seems not....
    From where this could come it's a too huge discrepancy between the values.
    I don't have a clue what i can try to do next.
    Maybe you have an idea what creates this size difference from 700 to 1.1G?
    is it apt-get?
    Best Regards
    Vispo

    P.s.: here is my standart approach with scripts (don't tell me they are ugly i know it i just made them in 5min or less)
    1. i open up a root console
    2. i execute this script
    Code:
    mount -t ext3 -o rw /dev/hdb1 /media/hdb1
    rm -rf /media/hdb1/knxmaster
    rm -rf /media/hdb1/knxsource
    mkdir /media/hdb1/knxmaster
    mkdir /media/hdb1/knxsource
    mkdir /media/hdb1/knxmaster/KNOPPIX
    mkdir /media/hdb1/knxsource/KNOPPIX
    cp -Rp /KNOPPIX/* /media/hdb1/knxsource/KNOPPIX
    cp /cdrom/index.html /media/hdb1/knxmaster/
    cp -p /cdrom/cdrom.ico /cdrom/autorun.* /media/hdb1/knxmaster/
    cp -rp /cdrom/boot/ /media/hdb1/knxmaster/
    cp -Rp /cdrom/KNOPPIX/* /media/hdb1/knxmaster/KNOPPIX/
    cp Desktop/*.sh /media/hdb1/knxsource/KNOPPIX/
    cd /media/hdb1/knxmaster/KNOPPIX/
    rm KNOPPIX*
    chroot /media/hdb1/knxsource/KNOPPIX
    3. then i start this one:
    Code:
    # Activate network and check it
    echo "nameserver 192.168.1.1" > /etc/resolv.conf
    mount -t proc /proc proc
    /proc proc
    
    # Get a list
    apt-get update
    
    # Additional personal programms
    # +2078kB
    apt-get install katapult kuake
    
    # Amateur Radio Programms
    # 144MB
    apt-get install acfax aldo alsa-firmware-loaders alsa-tools-gui atlc ax25-apps ax25mail-utils ax25-tools ax25-xtools baycomepp baycomusb colrdx cw cwcp cwdaemon dgipip dgpsip fbbdoc fbb gcb glfer gmfsk gpredict gpsk31 grig hamfax hammerhead hamradiomenus hamsoft hf icom ipip klog kpsk libax25 libhamlib2++c2 libhamlib2-perl libhamlib2 libhamlib2-tcl libhamlib-dev libhamlib++-dev libhamlib-doc libhamlib-utils libusrp0c2a libusrp0c2a-dbg libusrp0-dev linpsk marote minimuf mobilemesh modemp3d morse multimon node p10cfgd pentanet-dev pentanet-doc pentanet-utils phaseshift pileup pingpong predict psk31lx python-libhamlib2 python-usrp qsstv radioclk radio seesat5 sgcontrol soundmodem tk2 tk5 tlf tqsllib1c2a tqsllib-dev trustedqsl twclock twlog twpsk unixcw-dev unixcw usrp usrp-firmware wsjt x10 xastir xcall xconvers xcwcp xdx xfce4-radio-plugin xlog xsmc-calc xtlf xtrs xwota
    
    #Programms to remove
    # freed 401MB
    apt-get remove sun-java5-demo openoffice*
    
    # Remove orphan packages
    deborphan | xargs sudo apt-get -y remove --purge
    # autoclean packages
    apt-get autoclean
    apt-get clean
    
    rm .bash_history
    rm -rf /tmp/*
    rm -rf /.rr_moved
    4. i make a dpkg-reconfigure locales
    5. localepurge
    6. i execute within a new root console this script
    Code:
    # Cloop iso9660
    mkisofs -R -U -V "KNOPPIX.net filesystem" --publisher "Vispo" -hide-rr-moved -cache-inodes -no-bak -pad /media/hdb1/knxsource/KNOPPIX | nice -5 /usr/bin/create_compressed_fs - 65536 > /media/hdb1/knxmaster/KNOPPIX/KNOPPIX
    
    cd /media/hdb1/knxmaster
    rm -f KNOPPIX/md5sums; find -type f -not -name md5sums -not -name boot.cat -exec md5sum {} \; >> KNOPPIX/md5sums
    mkisofs -pad -l -r -J -v -V "KNOPPIX" --publisher "Vispo" -b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -c KNOPPIX/boot.cat -hide-rr-moved -o /media/hdb1/knoppix.iso /media/hdb1/knxmaster

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    England
    Posts
    177
    There was some previous discussion of this issue in this thread :
    http://www.knoppix.net/forum/viewtop...er=asc&start=0
    http://www.knoppix.net/forum/viewtop...r=asc&start=10
    unfortunately I have not seen a definitive explanation (as distinct from partial palliatives) anywhere yet

  3. #3
    Member registered user
    Join Date
    Jun 2004
    Posts
    89
    Did you "umount /proc" before exiting the chroot?

Similar Threads

  1. Remastering Suite V1.01 released! Easy Knoppix-Remastering
    By PrOCesSkIlL in forum Customising & Remastering
    Replies: 29
    Last Post: 04-02-2004, 01:32 AM
  2. Hi all,how to create a mini-size of Knoppix via remastering?
    By hiweed in forum Customising & Remastering
    Replies: 6
    Last Post: 11-07-2003, 01:11 AM
  3. Ramdisk (re)size/adjust size
    By hnt in forum General Support
    Replies: 4
    Last Post: 08-19-2003, 09:36 AM
  4. increased iso size after remastering
    By cYmen in forum Customising & Remastering
    Replies: 7
    Last Post: 07-10-2003, 03:37 PM
  5. Remastering Scripts : easy remastering
    By MichielioZ in forum Customising & Remastering
    Replies: 11
    Last Post: 04-15-2003, 12:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$188.99



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99



4 TB SSD SATA III Drive 2.5

4 TB SSD SATA III Drive 2.5" Solid State Drive SATAIII 6Gb/s UP to 540MB/s

$148.00



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$107.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$19.99



SAMSUNG 850 EVO 500GB 2.5

SAMSUNG 850 EVO 500GB 2.5" SATA SSD MZ-75E500, Grade A SKU 10171

$28.99



Fanxiang 256GB SSD 2.5'' SATA SSD III 6Gb/s 530MBs Internal Solid State Drive PC picture

Fanxiang 256GB SSD 2.5'' SATA SSD III 6Gb/s 530MBs Internal Solid State Drive PC

$19.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



SAMSUNG SSD 870 EVO 2.5

SAMSUNG SSD 870 EVO 2.5" SATA III Solid State Drive 2TB 1TB 250GB 500GB LOT

$161.82



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5"SATA III Drive Desktop MAC Lot

$188.09