I am trying to set an automated savedisk option (if possible) so that all action required is entering an image name. Currently I still have to select in the gui: expert mode, savedisk, etc….. Here is my syslinux.cfg: (edited for public view)
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config quiet noswap nolocales edd=on nomodeset noprompt ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="mount -t cifs -o user=$username,password=$password //$10.100.1.1$images /home/partimag" ocs_live_run="ocs-sr -x" ocs_live_extra_param="-e1 savedisk -q2 -c -j2 -z1p -i 2000000 -sc -p true savedisk ask_user sda" ocs_live_keymap="NONE" ocs_numlk=on ocs_live_batch="no" ocs_lang="en_US.UTF-8" ocs_debugvideo=uvesafb:mode_option=800x600-16 ip=frommedia nosplash
I am also wanting a similar option for restoring disk, but I need to be able to save disk first.
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to set an automated savedisk option (if possible) so that all action required is entering an image name. Currently I still have to select in the gui: expert mode, savedisk, etc….. Here is my syslinux.cfg: (edited for public view)
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config quiet noswap nolocales edd=on nomodeset noprompt ocs_prerun1="dhclient -v eth0" ocs_prerun2="sleep 2" ocs_prerun3="mount -t cifs -o user=$username,password=$password //$10.100.1.1$images /home/partimag" ocs_live_run="ocs-sr -x" ocs_live_extra_param="-e1 savedisk -q2 -c -j2 -z1p -i 2000000 -sc -p true savedisk ask_user sda" ocs_live_keymap="NONE" ocs_numlk=on ocs_live_batch="no" ocs_lang="en_US.UTF-8" ocs_debugvideo=uvesafb:mode_option=800x600-16 ip=frommedia nosplash
I am also wanting a similar option for restoring disk, but I need to be able to save disk first.
Thank you!
You can change
ocs_live_run="ocs-sr -x"
as something like:
ocs_live_run="ocs-sr -q2 -j… savedisk yourimagenave yourdevice"
The complete command you can find from the Clonezilla live wizard, and it is shown as green command:
http://clonezilla.org/clonezilla-live/doc/01_Save_disk_image/images/ocs-10-img-save-command-prompt.png
and remember to refer to this:
http://drbl.sourceforge.net/faq/fine-print.php?path=./2_System/113_fully_automatically_restoring.faq#113_fully_automatically_restoring.faq
Steven.
Steven.