creer livecd avec xcas

Utilisation de Xcas

Modérateur : xcasadmin

wangji
Messages : 2
Inscription : ven. déc. 22, 2006 11:35 am

creer livecd avec xcas

Message par wangji » jeu. déc. 28, 2006 10:48 pm

bonjour,
il est tres facile de creer un livecd pouvant executer xcas ,pour effectuer des demo ,pour convaicre les resistances d'utilisateurs non linux.
Ceci est facilite par le fait qu'il existe une version "statique" pouvant se loger entierement dans un repertoire (xcas_user.tgx);
De plus ,il existe plusieurs versions depouillee de linux livecd :
on considere ici seulement 3 bien connus,et on limite toute modification (genre "remaster" ) pour demontrer la possibilite;
la simplification du script implique alors inevitablement une toute petite manipulation pour demarrer xcas
dsl3.1-xcas.sh associe xcas avec damnsmalllinux .Tres rapide
puppy212-xcas.sh associer xcas avec puppylinux
slax5-xcas.sh associe xcas avec slax-killbill version 5

Les scripts ,screenshots sont a
http://www.esnips.com/web/wangjiHowto

Comme ils sont pas tres longs,je les recopie ici ! --happy xcas !
------------------
cat dsl3.1-xcas.sh
-----------------
#!/bin/bash
#once boot type in a terminal "cd /cdrom/xcas && ./xcas" to start a math session
set -x
cd $(pwd)
#wget ftp://ftp-fourier.ujf-grenoble.fr/xcas/xcas_user.tgz

#wget ftp://ftp.belnet.be/packages/damnsmalll ... sl-3.1.iso

if [ -d tmpxcas ];then sudo rm -fr tmpxcas ;fi
mkdir tmpxcas
if [ -d tmpxcas1 ]; then sudo rm -fr tmpxcas1 ;fi
mkdir tmpxcas1
sudo mount -oloop dsl-3.1.iso tmpxcas
sudo cp -a tmpxcas/* tmpxcas1/
cd tmpxcas1 && sudo rm -f boot/isolinux/boot.cat
tar xzf ../xcas_user.tgz
sudo mkisofs -R -J -joliet-long -l -iso-level 4 -V " dsl-xcas" -o ../dsl3.1-xcas.iso -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .
cd ..
sudo umount tmpxcas
rmdir tmpxcas
-----------------------------fin de dsl3.1-xcas.sh --------------
------------------
cat puppy212-xcas.sh
------------------
#!/bin/bash
#once boot,type in a terminal "sudo mount /dev/hdc /mnt/hdc && cd /mnt/hdc/xcas && ./xcas " to start a math session
set -x
cd $(pwd)
#wget ftp://ftp-fourier.ujf-grenoble.fr/xcas/xcas_user.tgz

#wget ftp://ibiblio.org/pub/linux/distributio ... monkey.iso

if [ -d tmpxcas ] ;then sudo rm -fr tmpxcas; fi
mkdir tmpxcas
if [ -d tmpxcas1 ];then sudo rm -fr tmpxcas1 ;fi
mkdir tmpxcas1
sudo mount -oloop puppy-2.12-seamonkey.iso tmpxcas

sudo sudo cp -a tmpxcas/* tmpxcas1/
cd tmpxcas1 && sudo rm -f boot.cat
tar xzf ../xcas_user.tgz
sudo mkisofs -R -J -joliet-long -l -iso-level 4 -V " puppy212-xcas" -o ../puppy212-xcas.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .
cd ..
sudo umount tmpxcas
rmdir tmpxcas
-------------------------------fin de puppy212-xcas.sh -------------------------

-------------------
cat slax5-xcas.sh
-------------------
#!/bin/bash
#once boot: use "root:toor" as user:passwd ,then startx
#in a terminal type " cd /mnt/live/mnt/hdc/xcas && ./xcas " to launch "the" BernardParisse's math_app
set -x

cd $(pwd)
#wget ftp://ftp-fourier.ujf-grenoble.fr/xcas/xcas_user.tgz
#wget ftp://ftp.linux.cz/pub/linux/slax/SLAX- ... .1.8.1.iso


if [ -d tmpxcas ] ;then sudo rm -fr tmpxcas ;fi
mkdir tmpxcas
if [ -d tmpxcas1 ];then sudo rm -fr tmpxcas1;fi
mkdir tmpxcas1
sudo mount -oloop slax-killbill-5.1.8.1.iso tmpxcas

sudo cp -a tmpxcas/* tmpxcas1/
cd tmpxcas1 && sudo rm -f boot/boot.cat
tar xzf ../xcas_user.tgz
sudo mkisofs -R -J -joliet-long -l -iso-level 4 -V " slax-xcas" -o ../slax5-xcas.iso -b boot/isolinux.bin -c boot/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .
cd ..
sudo umount tmpxcas
rmdir tmpxcas
-----------------------------fin de slax5-xcas.sh -------------------------------------

Répondre