How can I make a recovery partition? ~OS X Mavericks
After making a partition with disk utility, you can run this utility from Apple to make it a recovery partition
Upgrading your OS does not effect partitions other than the boot partition you upgraded.