Sunteți pe pagina 1din 2

quantian_07.9.2.iso 2.

86 gb ;
there is place to put two other livecd : knomath-1.1.fr.iso and knowsciences-
1.0.iso

in order to show pedagogically the feasibility,almost no modification on initial


iso fileis introduced ;
this implies of course a slight complex typing at boot to choose among the 3 iso.
1 free space 14 gb ;download the 3 cited iso

2 make symlink to those iso with names quanta,math ,science

3 execute script mkquantakno.sh ,burn dvd (or qemu -m 256 -cdrom quantakno.iso )

4 at boot prompt (boot:) type one of the following lines to boot the
corresponding_cd

linux26 knoppix_name=quantian [lang=fr]

linux24 knoppix_name=quantian

math knoppix_name=math

science knoppix_name=science

--------------------mkquantakno.sh ----------------- #!/bin/bash


set -x
#this is for download source_iso.you need 13gb free to store
iso_files,master_tree,final_iso_dvd !!
#wget ftp://sunsite.rediris.es/mirror/quantian/quantian_0.7.9.2.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 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 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 ;
do
sudo mount -oloop $i.iso /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/
fi
cp /mnt/test/*.html ~/toanly
for j in linux minirt.gz ; do
cp /mnt/test/boot/isolinux/$j ~/toanly/boot/isolinux/
done
for k in knoppix.sh configs.tar.bz2 background.jpg ; do
cp /mnt/test/knoppix/$k ~/toanly/knoppix
done
cp /mnt/test/*pdf ~/toanly
chmod a+w ~/toanly/boot/isolinux/*
sudo umount /mnt/test
done
rm -f ~/toanly/boot/isolinux/boot.cat
echo "label math" >> ~/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 boot_image=math" >>
~/toanly/boot/isolinux/isolinux.cfg
echo "label science" >> ~/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 boot_image=science " >> ~/toanly/boot/isolinux/isolinux.cfg
md5sum ~/toanly/knoppix/* >> ~/toanly/knoppix/md5sums
cd ~/toanly
# sudo mkisofs -r -j -joliet-long -l -iso-level 4 -v " quantamathscience" -o
~/toanly/quantamath.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 " quanta_0792
knomath-science" -b boot/grub/iso9660_stage1_5 -c boot/boot.cat -no-emul-boot
-boot-load-size 4 -boot-info-table .
---------------------------end mkquantakno.sh -----------------------------

S-ar putea să vă placă și