[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 #!/bin/bash 2 3 # script permettant de mettre en place sur le SE3 Clonezilla dans le module tftp menu clonage 4 # passage en version live 20140518_Trusty 64bits et correction de qq erreurs dans le tftpboot/pxelinux.cfg/clonage.menu 5 # $id=mise_en_place_tftp_clonezilla_trusty_64bits.sh 6 # modifie le 04/02/2014 7 # modifie le 25/06/2014 8 # version du 26/06/2014 : OK : Trusty 20140518 AMD 64 bits 9 10 11 . /etc/se3/config_m.cache.sh 12 13 if [ -z "$se3ip" ]; then 14 echo -e "IP SE3: \c" 15 read se3ip 16 fi 17 18 ladate=$(date +%Y%m%d%H%M%S) 19 tmp=/var/se3/tmp_$ladate} 20 mkdir -p $tmp 21 cd $tmp 22 #Correction de la version a telecharger en alternatives 20140518 prise en charge reseau 23 #Passage à la version stable alternative 24 #wget http://freefr.dl.sourceforge.net/project/clonezilla/clonezilla_live_stable/2.1.2-43/clonezilla-live-2.1.2-43-i686-pae.zip 25 #wget http://freefr.dl.sourceforge.net/project/clonezilla/clonezilla_live_stable/2.2.1-25/clonezilla-live-2.2.1-25-i686-pae.zip 26 #wget http://sourceforge.net/projects/clonezilla/files/clonezilla_live_stable/2.2.3-10/clonezilla-live-2.2.3-10-i686-pae.zip 27 #wget http://sourceforge.net/projects/clonezilla/files/clonezilla_live_stable/2.2.3-10/clonezilla-live-2.2.3-10-i486.zip 28 #wget http://sourceforge.net/projects/clonezilla/files/clonezilla_live_alternative/20140518-trusty/clonezilla-live-20140518-trusty-i386.zip 29 wget http://sourceforge.net/projects/clonezilla/files/clonezilla_live_alternative/20140518-trusty/clonezilla-live-20140518-trusty-amd64.zip 30 31 if [ "$?" = "0" ]; then 32 33 unzip clonezilla-live-*.zip 34 mkdir /tftpboot/clonezilla64 35 mv -f live/filesystem.squashfs live/initrd.img live/vmlinuz /tftpboot/clonezilla64 36 # ecriture du fichier tftpboot/pxelinux.cfg/clonage.menu afin d avoir le choix de clonezilla live dans le menu clonage 37 # modifications donc au niveau de la ligne KERNEL et APPEND avec codage en dur sans /tftpboot 38 echo ' 39 label Clonezilla-live 20140518 40 MENU LABEL Clonezilla Live 20140518 64bits 41 KERNEL clonezilla64/vmlinuz 42 APPEND initrd=clonezilla64/initrd.img boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" keyboard-layouts="" ocs_live_batch="no" locales="" vga=788 nosplash noprompt fetch=tftp://'$se3ip'/tftpboot/clonezilla64/filesystem.squashfs' >> /tftpboot/pxelinux.cfg/clonage.menu 43 cd /root 44 rm -fr $tmp 45 else 46 echo "ERREUR lors du telechargement." 47 fi
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |