Unfortunately, it’s not easily possible to restore the HP recovery partition without performing a complete factory restore of the entire hard drive, which means wiping out all data stored on it. If that’s what you wish to do, you can the correct HP Recovery Media for your machine. If you can’t find it on HP’s Software and Drivers page, contact the company’s customer support staff and ask for help.