I'm using the Clonezilla Live (which is working extemely well, -- great utility!)
However need help creating a script to automate the restore process with little or no interaction from the user, i.e.
I don't want to have to enter ssh details, path to image details etc. The image is stored on a server which I connect to via ssh. . I had a look a the link http://clonezilla.org/clonezilla-live/#make_custom_clonezilla_live but I'm really not clear on what I'm supposed to do.
I booted on the clonzilla disk and went to a command prompt. From there I tried to run the "/opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs" but I'm asked for a root password. I'm kind of lost now.
Basically I want the clonzilla live to start-up and connect to my server via ssh and set the necessary paths and start rebuilding the system without any interaction from the user, except for maybe a confirmation (press enter to continue...).
I looking for a step by step (or more appropriately an idiots guide to achieving this)
Many thanks for any help you can give,
sp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
silverpox,
"I booted on the clonzilla disk and went to a command prompt. From there I tried to run the "/opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs" but I'm asked for a root password. I'm kind of lost now. "
Once your custom-ocs file is ready, put in a working dir which has large space, say /home/partimag/ (mounted via sshfs or local partition, whatever), you have to run like this:
1. sudo su - (become root, this is mentioned in the same url for you to switch to root"
2. cd /home/partimag/
3. /opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using the Clonezilla Live (which is working extemely well, -- great utility!)
However need help creating a script to automate the restore process with little or no interaction from the user, i.e.
I don't want to have to enter ssh details, path to image details etc. The image is stored on a server which I connect to via ssh. . I had a look a the link http://clonezilla.org/clonezilla-live/#make_custom_clonezilla_live but I'm really not clear on what I'm supposed to do.
I booted on the clonzilla disk and went to a command prompt. From there I tried to run the "/opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs" but I'm asked for a root password. I'm kind of lost now.
Basically I want the clonzilla live to start-up and connect to my server via ssh and set the necessary paths and start rebuilding the system without any interaction from the user, except for maybe a confirmation (press enter to continue...).
I looking for a step by step (or more appropriately an idiots guide to achieving this)
Many thanks for any help you can give,
sp
silverpox,
"I booted on the clonzilla disk and went to a command prompt. From there I tried to run the "/opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs" but I'm asked for a root password. I'm kind of lost now. "
Once your custom-ocs file is ready, put in a working dir which has large space, say /home/partimag/ (mounted via sshfs or local partition, whatever), you have to run like this:
1. sudo su - (become root, this is mentioned in the same url for you to switch to root"
2. cd /home/partimag/
3. /opt/drbl/sbin/ocs-live-dev -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs
Steven.