My previous setup had Windows and Ubuntu in two primary partitions on the same HDD. I had backed the Ubuntu partition and EFI partition (using Macrium Reflect) before giving to service center, where they fully wiped the disk. I have created new partitions and installed Windows.
Now, when I restored the Ubuntu image to the new partition, however I need to set up a boot entry.
There are 2 problems:
I need to create a boot entry for this Ubuntu as I cannot use the previous EFI backup since the partition layout is different from time of backup. How can I do that?
The restore of the partition done by Macrium is showing as RAW volume and Recovery partition in diskpart:
Volume 9 RAW Partition 16 GB Healthy Hidden
Partition 10 Recovery 16 GB 902 GB
I ran Testdisk and it was able to list files in the partition. I was able to save a copy as a dd image. I have read many forum threads but apparently they have talked about restoring a full HDD restore and some had problem booting linux from that too. I havent got any leads since days.
How can I properly get the ubuntu to boot? Any help is greatly appreciated.
Thanks in advance.