30h (adsl 512kbits) download iso 25 min script_build_image_iso (athlon 1.2Ghz ) 10 min to test and ;.enjoy
#!/bin/bash set -x #this script is at http://www.esnips.com/web/wangjHowto # also at http://perso.wanadoo.fr/pub/hoan/mkQuantianMathjpKno.sh # You need 20Gb free to store iso_files,master_tree,final_iso_dvd !! #download source_iso.create symlink of $name to the iso,then execute this script to build livedvdiso. Boot this livedvdiso #At boot prompt :type $name knoppix_name=$image #where $name/$image to boot any of the four distro "kobe_mathjp knomath knoscience quantian " # mathjp/mathjp math/math science/science [linux24 | union24 | linux26 ] / quantian #use preferentially rsync : much better download than wget/ncftpget #wget ftp://sunsite.rediris.es/mirror/quantian/Quantian_0.7.9.2.iso #rsync -v rsync://quantian.fhcrc.org/quantian/Quantian_0.7.9.2.iso ./ #rsync --progress klein.activemath.org::icms-knoppix-math/knoppix_v5.0.1-math-20060630-1-en.iso ./ #wget #ftp://ftp.math.kobe-u.ac.jp/pub2/knoppix-math-cd/Testing-2006-DVD1/knoppix_v5.0.1-math-20060630-1-en.iso #wget http://knosciences.tuxfamily.org/usr/share/iso/knomath-1.1fr.iso #wget http://knosciences.tuxfamily.org/usr/share/iso/knosciences-1.0.iso #ln -s knoppix_v5.0.1-math-20060630-1-en.iso mathjp #ln -s Quantian_0.7.9.2.iso quantian #ln -s knomath-1.1.fr.iso math #ln -s knosciences-1.0.iso science if [ -d ~/toanly ];then sudo rm -fr ~/toanly ;fi if [ ! -e /mnt/test ] ;then sudo mkdir /mnt/test;fi mkdir ~/toanly ~/toanly/boot ~/toanly/boot/isolinux ~/toanly/KNOPPIX for i in math science quantian mathjp ; do sudo mount -oloop $i /mnt/test cp /mnt/test/KNOPPIX/KNOPPIX ~/toanly/KNOPPIX/$i if [ -f /mnt/test/KNOPPIX/KNOPPIX2 ] ; then cp /mnt/test/KNOPPIX/KNOPPIX2 ~/toanly/KNOPPIX/"$i"2 cp /mnt/test/boot/isolinux/* ~/toanly/boot/isolinux/ chmod a+w ~/toanly/boot/isolinux/* rm -f ~/toanly/boot/isolinux/isolinux.* rm -f ~/toanly/boot/isolinux/boot.cat fi cp /mnt/test/*.html ~/toanly > /dev/null 2>&1 if [ $i = math ] ;then cp /mnt/test/boot/isolinux/linux ~/toanly/boot/isolinux/linuxfr cp /mnt/test/boot/isolinux/minirt.gz ~/toanly/boot/isolinux/minirtfr.gz for k in knoppix.sh configs.tar.bz2 background.jpg ; do cp /mnt/test/KNOPPIX/$k ~/toanly/KNOPPIX done cp /mnt/test/*pdf ~/toanly fi if [ $i = mathjp ] ; then cp -a /mnt/test/KNOPPIX/images ~/toanly/KNOPPIX/ cp -a /mnt/test/KNOPPIX/modules ~/toanly/KNOPPIX/ cp /mnt/test/KNOPPIX/*.txt ~/toanly/KNOPPIX/ cp -a /mnt/test/Math ~/toanly/ cp -a /mnt/test/icms2006 ~/toanly cp -a /mnt/test/boot/isolinux/* ~/toanly/boot/isolinux/ cp -a /mnt/test/coLinux ~/toanly/ cp /mnt/test/*.txt ~/toanly fi chmod a+w ~/toanly/boot/isolinux/isolinux.* sudo umount /mnt/test done rm -f ~/toanly/boot/isolinux/boot.cat echo "LABEL math" >> ~/toanly/boot/isolinux/isolinux.cfg echo "KERNEL linuxfr" >> ~/toanly/boot/isolinux/isolinux.cfg echo "APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirtfr.gz nomce quiet KNOPPIX_NAME=math" >> ~/toanly/boot/isolinux/isolinux.cfg echo "LABEL science" >> ~/toanly/boot/isolinux/isolinux.cfg echo "KERNEL linuxfr" >> ~/toanly/boot/isolinux/isolinux.cfg echo "APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirtfr.gz nomce KNOPPIX_NAME=science " >> ~/toanly/boot/isolinux/isolinux.cfg echo "LABEL mathjp" >> ~/toanly/boot/isolinux/isolinux.cfg echo "KERNEL linux" >> ~/toanly/boot/isolinux/isolinux.cfg echo "APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt.gz nomce quiet KNOPPIX_NAME=mathjp" >> ~/toanly/boot/isolinux/isolinux.cfg echo " LABEL linux24 " >> ~/toanly/boot/isolinux/isolinux.cfg echo " KERNEL linux24 " >> ~/toanly/boot/isolinux/isolinux.cfg echo " APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce quiet BOOT_IMAGE=quantian " >> ~/toanly/boot/isolinux/isolinux.cfg echo " LABEL union24 " >> ~/toanly/boot/isolinux/isolinux.cfg echo " KERNEL linux24 " >> ~/toanly/boot/isolinux/isolinux.cfg echo " APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=union24.gz nomce quiet BOOT_IMAGE=quantian " >> ~/toanly/boot/isolinux/isolinux.cfg echo " LABEL linux26 " >> ~/toanly/boot/isolinux/isolinux.cfg echo " KERNEL linux26 " >> ~/toanly/boot/isolinux/isolinux.cfg echo " APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce quiet BOOT_IMAGE=quantian " >> ~/toanly/boot/isolinux/isolinux.cfg echo "LABEL quantian" >> ~/toanly/boot/isolinux/isolinux.cfg echo "KERNEL linux26" >> ~/toanly/boot/isolinux/isolinux.cfg echo "APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt26.gz nomce quiet KNOPPIX_NAME=quantian" >> ~/toanly/boot/isolinux/isolinux.cfg for j in math science mathjp quantian quantian2 ; do md5sum ~/toanly/KNOPPIX/$j >> ~/toanly/KNOPPIX/md5sums done cd ~/toanly # sudo rm -f /mnt/hda6/*.iso sudo mkisofs -R -J -joliet-long -l -iso-level 4 -V " QuantianMathScienceiCMS" -o ../quantianjpkno.iso -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table . #now you can burn quantamath.iso on a dvd.Must be root to run growisofs #growisofs -Z -R /dev/dvd -J -joliet-long -l -iso-level 4 -V " quantianknosciencemathjp" -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table . ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ VietLUG-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vietlug-users
