It's better to re-run grub-install if your OS is GNu/Linux. Therefore in your ocs-sr command, you'd better to add "-g auto", i.e.
ocs-sr -g auto -e1 auto -e2 -c -t -r -j2 -k -p true restoreparts IMAGE1 sda1 sda2
Steven.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I backed up the mbr & partition table:
dd if="/dev/sda" of="backup-sda.mbr" bs=512 count=1
sfdisk -d "/dev/sda" > "backup-sda.sfdisk"
ocs-sr -q2 --batch -j2 -z1p -i 2000 -sc -p true saveparts IMAGE1 sda1 sda2
I moved onto two other exact same model computers, restored mbr & partition table and then ran:
dd if=backup-sda.mbr of="/dev/sda"
sfdisk "/dev/sda" < backup-sda.sfdisk
ocs-sr -e1 auto -e2 -c -t -r -j2 -k -p true restoreparts IMAGE1 sda1 sda2
On one of the computers the cloning went flawlessly, but on the other all I could see was a blinking cursor after BIOS.
I could only get past this blinking cursor after running boot-repair from an Ubuntu Live CD.
Here is a copy of the Boot Info Summary:
http://paste.ubuntu.com/10830303/
I'm stumped as to why the script is not working on this computer.
It's better to re-run grub-install if your OS is GNu/Linux. Therefore in your ocs-sr command, you'd better to add "-g auto", i.e.
ocs-sr -g auto -e1 auto -e2 -c -t -r -j2 -k -p true restoreparts IMAGE1 sda1 sda2
Steven.