I had 2 hard disk in my laptop. Primary Disk with RedHat and secondary disk with Ubuntu installed on it. Both disk were able to boot separately and I used to flip the OS of my choice by updating the bios settings. Every thing was just fine until my secondary disk failed. I replaced the failed secondary disk and installed ubuntu on the new secondary disk. By mistake I installed the boot loader on to the primary disk instead of the secondary disk. To recover from this, I re-installed Ubuntu in the secondary disk and installed the boot loader to the secondary disk. Now I am able to boot my secondary disk.
Here is the problem now, my primary disk wont boot its getting halted with the grub rescue prompt saying invalid UUID. I tried attempt to boot from the grub rescue but did not help.
My primary disk has a separate partition and mounted as /boot and root filesystem is on LVM with luks. I am able to mount the primary disk separately and access the files in there just that I am unable to boot from the primary disk.
Appreciate any help on this.