Hello,
we are using an automated backup and restore script for Clonezilla.
First, we start modifying the windows boot manager under windows, and after a restart, it will auto-run Clonezilla (backup or restore process) - then everything is automated.
But after reboot, there is still in windows boot manager as default Clonezilla to boot as it was set in windows before starting backup/restore.
That means... it will go in a LOOP after restart (still booting Clonezilla)
Our target is now. With these commands, we can export the original setting of windows boot manager before starting the process.
1, bcdedit /export d:\originalbackup.bcd # this will make a complete backup of boot manager
2, bcdedit /import d:\restore.bcd # this will completly restore boot manager to original state. This we need apply on final script in clonezilla as final step.
With this "command," bcdedit /import d:\restore.BCD, we will be able, after backup/restore, to go direct to windows, and Clonezilla will not be available anymore for boot as option.
With this solution we will be have 100% fully automated backup or restore system.
Any idea/help?
Many thanks !!!! :)
Hello,
maybe this solution should help?
https://www.techwalla.com/articles/how-to-repair-bootmgr-with-linux
Thanks !!
In that case, maybe you can try the option "-t1" or "-j1" in the expert mode:
https://clonezilla.org/clonezilla-live/doc/02_Restore_disk_image/images/ocs-09-advanced-param-extra.png
Steven
Forgot to mention, this only works for MBR, not EFI mode.
Steven