I'm using Clonezilla 2.4.7-8. I imaged a Dell Windows 7 PC with 3 partitions. I restored the image on a different Dell PC with 3 partitions. SDA1 is a diagnostic partition on both PCs. I didn't restore SDA1 since I wanted to keep the diagnostic partition on the destination PC. SDA3 is the OS partition. I had to reduce it on the source PC because the first time I tried this, the restore would not work. It said SDA3 on the source was a little bigger than SDA3 on the destination.
The second time I tried this, the restore completed successfully. However, upon boot I got the Windows Boot Manager which said "Windows failed to start."
The options I used to Create...
ocs_live_run="ocs-sr -q2 -c -j2 -z1 -i 4096 -p true saveparts ask_user ask_user"
The options I used to Restore...
ocs_live_run="ocs-sr -e1 auto -e2 -c -t -r -j2 -k -p true restoreparts ask_user ask_user"
What am I doing wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried the -k1 and I think it told me that even though I was only restoring 2 partitions, all 3 would be wiped because it had to recreate the table. I didn't want partition 1 changed since it has the diagnostics utility for the PC so I didn't use -k1. I ended up doing this for the restore...
and it worked! I got rid of the -t and the -k. I just ran through a restore using ocs_live_run="ocs-live-general" so it aprompted me for all the options. I read each one carefully and made selections that looked like they might help.
Thanks Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using Clonezilla 2.4.7-8. I imaged a Dell Windows 7 PC with 3 partitions. I restored the image on a different Dell PC with 3 partitions. SDA1 is a diagnostic partition on both PCs. I didn't restore SDA1 since I wanted to keep the diagnostic partition on the destination PC. SDA3 is the OS partition. I had to reduce it on the source PC because the first time I tried this, the restore would not work. It said SDA3 on the source was a little bigger than SDA3 on the destination.
The second time I tried this, the restore completed successfully. However, upon boot I got the Windows Boot Manager which said "Windows failed to start."
The options I used to Create...
ocs_live_run="ocs-sr -q2 -c -j2 -z1 -i 4096 -p true saveparts ask_user ask_user"
The options I used to Restore...
ocs_live_run="ocs-sr -e1 auto -e2 -c -t -r -j2 -k -p true restoreparts ask_user ask_user"
What am I doing wrong?
Additional Info - I booted to a Windows 10 CD and went to Advanced Startup Repair and then to a Command Prompt. I entered the command...
bootrec / rebuildbcd
It found 1 Windows installation and asked if I wanted to add it to the boot list. I added it and then I was able to boot into my Windows 7 image.
The options I used to Create...
ocs_live_run="ocs-sr -q2 -c -j2 -z1 -i 4096 -p true saveparts ask_user ask_user"
The options I used to Restore...
ocs_live_run="ocs-sr -e1 auto -e2 -c -t -r -j2 -k -p true restoreparts ask_user ask_user"
Are there any parameters I should add/modify in my ocs_live_run that will prevent this?
When restoring, you can try to add optoin "-k1" and "-icds". It has some little help about restoring image saved from larger disk to smaller one.
Steven
I tried the -k1 and I think it told me that even though I was only restoring 2 partitions, all 3 would be wiped because it had to recreate the table. I didn't want partition 1 changed since it has the diagnostics utility for the PC so I didn't use -k1. I ended up doing this for the restore...
ocs_live_run="ocs-sr -e1 auto -e2 -c -r -j2 -scr -p true restoreparts ask_user ask_user"
and it worked! I got rid of the -t and the -k. I just ran through a restore using ocs_live_run="ocs-live-general" so it aprompted me for all the options. I read each one carefully and made selections that looked like they might help.
Thanks Steven.
OK, thanks for sharing that.
Steven