Check that your computer is compatible with Mountain Lion/Mavericks.
To check the model number hold down the option/alt key, go to the Apple menu and select System Information.
MacBook Pro (Mid/Late 2007 or newer) model number 3,1 or higher
Your Mac needs:
- OS X v10.6.8 or OS X Lion already installed
- 2 GB or more of memory (More is better - 4 GB minimum seems to be the consensus)
- 8 GB or more of available space
Check to make sure your applications are compatible. PowerPC applications are no longer supported after 10.6.
Application Compatibility
Applications Compatibility (2)
Do a backup before installing.
Boot using the disks that came with your computer, the Snow Leopard DVD (if installed) or the Recovery volume (command -R) if upgrading from Lion. Use Disk Utility to Verify/Repair the disk and run Repair Permissions. Restart normally.
If you can/do upgrade, I recommend you make a copy of the installer and move it out of your Applications folder. The installer self-destructs. The copy will keep you from having to download the installer again. You can make a bootable USB stick to install using this free program.
Bootable USB Flash Drive – Diskmaker X