@bharath394 Thanks for the feedback. Looks like it's a case of buggy firmware which can only find ESP on initial disk. Have you updated the bios to the latest version?
That's not a bug, it's a "security feature" by design. Lame laptop makers such as HP usually do this to prevent the user from freely changing hardware.
"The EFI system partition also called ESP is an OS independent partition that acts as the storage place for the EFI bootloaders, applications and drivers to be launched by the UEFI firmware. It is mandatory for UEFI boot" so i guess you have to reinstall windows 7/8/10 on you´re new HD/SSD boot drive.