We recreated the boot partition by running the command fdisk /dev/sdc
Command ‘n’ for new partition.
Note that, since sdc2 begins from sector 1026048, sdc1 has to end at 1026047
Used command ‘a’ to toggle the boot flag.
Used command ‘p’ to list the partition table and verify that the settings are correct and ‘w’ to commit the writes.
Note :- In Linux, the partitions can be deleted and recreated, as long as the actual data at the File System level is not disturbed.
However, while doing so, make sure the sector numbers match exactly with the original partitions.
Here, the admin had not made any changes at all to the file system, hence simply the recreation of boot partition was needed.
Since the boot partition had now been recreated, we were able to recreate the VM using the xml file saved earlier and it booted up fine, and we were successfully able to SSH to the machine.