Please excuse my ignorance here. I see from a previous thread that the prerun directory lies at /opt/drbl/share/ocs/prerun/ but how to I get a script to persist there when using a liveUSB version of clonezilla? If a copy a script there then obviously it has disappeared when I next boot from the USB stick. If I create the directory structure on the USB stick then it on appears in /live_media and not in the root file structure.
I'm sure this is really simple but I dont seem to be able to find the answer in the FAQ.
Sorry if I've missed something obvious and thanks in advance.
Tom
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually the clonezilla related files are in /pkg/opt_drbl.tgz in the live CD os zip file. You can untar that, put your own script into that directory.
Another approach is to use this advanced mode: http://clonezilla.sourceforge.net/clonezilla-live/#Advanced_mode
to create your own zip file. You can make it by:
1. Put your script in /opt/drbl/share/ocs/prerun/
2. Run:
/opt/drbl/sbin/ocs-live-dev -c -s
to create such a zip file. For more info, please run "/opt/drbl/sbin/ocs-live-dev --help".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Please excuse my ignorance here. I see from a previous thread that the prerun directory lies at /opt/drbl/share/ocs/prerun/ but how to I get a script to persist there when using a liveUSB version of clonezilla? If a copy a script there then obviously it has disappeared when I next boot from the USB stick. If I create the directory structure on the USB stick then it on appears in /live_media and not in the root file structure.
I'm sure this is really simple but I dont seem to be able to find the answer in the FAQ.
Sorry if I've missed something obvious and thanks in advance.
Tom
Actually the clonezilla related files are in /pkg/opt_drbl.tgz in the live CD os zip file. You can untar that, put your own script into that directory.
Another approach is to use this advanced mode:
http://clonezilla.sourceforge.net/clonezilla-live/#Advanced_mode
to create your own zip file. You can make it by:
1. Put your script in /opt/drbl/share/ocs/prerun/
2. Run:
/opt/drbl/sbin/ocs-live-dev -c -s
to create such a zip file. For more info, please run "/opt/drbl/sbin/ocs-live-dev --help".
Perfect thanks!
Tom