Hi, I've been using Clonezilla Live for some years and I now want to implement it further for other people in my organisation to use - but I'd like to make it even simpler and faster for them to restore images.
I have a requirement to have Clonezilla on one USB device, and the images on a different USB device. Normally during an interactive restore I have the opportunity to connect the image device, choose the disk and image etc, but I can't seem to make this work when automated.
I have: "ocs-sr -g auto -e1 auto -e2 -c -r -j2 -p choose restoredisk ask_user ask_user" in my grub.cfg and it is skipping through to the shutdown/reboot screen.
I imagine I might need to pre-run some commands to prompt and mount the volume?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I've been using Clonezilla Live for some years and I now want to implement it further for other people in my organisation to use - but I'd like to make it even simpler and faster for them to restore images.
I have a requirement to have Clonezilla on one USB device, and the images on a different USB device. Normally during an interactive restore I have the opportunity to connect the image device, choose the disk and image etc, but I can't seem to make this work when automated.
I have: "ocs-sr -g auto -e1 auto -e2 -c -r -j2 -p choose restoredisk ask_user ask_user" in my grub.cfg and it is skipping through to the shutdown/reboot screen.
I imagine I might need to pre-run some commands to prompt and mount the volume?
Found a friend that knows more about Linux than me and we worked out that this additonal option does what I want:
ocs_prerun="/usr/sbin/prep-ocsroot -t local_dev"
It calls the menu to choose the restore device and defaults it to local devices
The warning is written to the screen to insert the USB device and then the chooser etc is displayed. huzzah!
Cool! It's nice to know you have worked it out.
Steven.