Samba script fails

Help
2014-01-29
2014-01-30
  • stian andersen
    stian andersen
    2014-01-29

    Hello everyone!
    Im trying to make a automated script to run clone on my disk to a nettworkstation.The only thing i want to do manualy is to enter image name. So i found this on the nett. but i cant get it working. It fies to the restart,shutdown to fast (about 20 second from script start.) Can anyone take a look on why i get stuck?
    Im also trying to find a script to automated restore (only need to enter imagename) but cant find that by me self.

    Her is my script: append initrd=/live/initrd.img boot=live hostname=oneiric config quiet noswap nolocales edd=on nomodeset ocs_prerun="dhclient -v eth0" ocs_prerun1="sleep 2" ocs_prerun2"mount -t cifs -o user=clonezilla,domain=,password=Ratata12 192.168.1.241:/cz /home/partimag" ocs_prerun3="sleep 2" ocs_live_run="/opt/drbl/sbin/ocs -sr -u -q -z2 -i 2048 -sc -p poweroff savedisk ask_user sda" ocs_live_extra_param="" ocs_live_keymap="/usr/share/keymaps/i386/qwertz/de -latin1.kmap.gz" ocs_live_batch="no" ocs_lang="en_US.UTF -8" noprompt video=uvesafb:mode_option=800x600 -16 toram=filesystem.squashfs ip=frommedia nosplash

    Tanks for helping! :-)

     
  • Steven Shiau
    Steven Shiau
    2014-01-30

    "ocs_live_run="/opt/drbl/sbin/ocs" -> Looks like you are still using very old version of Clonezilla live. Could you please try the latest stable one, e.g. 2.2.1-25: http://clonezilla.org/downloads.php
    And if you encounter any issue, please post it.

    Steven.