Macbook Pro Installing OSx on a new hard drive

I am in the process of upgrading the HDD on a Macbook Pro. The old HDD works fine but is running out of space.
Could somebody let me know how to prepare the new HDD and how to install OSx on it Please.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Just install the new HDD then boot the MAC.  Make sure you're connected to the internet as you will need to download the O.S.  Follow this instruction.

Shut down your Mac.
Press the Power button (the button marked with a O with a 1 through it)
Immediately press the command (cloverleaf) key and R together.
Make sure you're connected to the internet through Wi-Fi. If you're not, choose a network from the Wi-Fi menu that appears at the top-right corner of the screen.
Select Install Mac OS X, then click Continue.
vlogg5Author Commented:
Thanks I will try that.
Glad to help and good luck!
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

vlogg5Author Commented:

One more short short. question. If the new HDD is "raw" (not initialized) do I have to initialize and if so how do I do that?
Hi, after the computer finished downloading the OS installation files you will be provided an option to reinstall OSX, run the disk utility, etc.  This screen is after you select your network connection.  Choose the disk utility and format your new hard drive first.  When done you will be back at this screen then you can choose to reinstall OSX.
Which MacBook pro is it?  The newer ones all use M.2 SSDs.  There were different intermediate models of SSDs that don't work with others.  You'll need to find the correct model of SSD. Other World Computing will more likely get you the correct version.

Any of the newer MacBook Pros that came With Mavericks or later can be remote installed with the originally installed OS from Apple Servers by booting into Remote Recovery mode.  Hold command option r during boot instead of just command r.

If you just use command r, it will attempt to boot from the recovery partition that was formatted onto your SSD when the OS was installed.  This will not work with a brand new, empty SSD.

Any system with Lion or earlier, can only be installed with the original DVD installer or another DVD.  If you have an existing installed OS that's Mavericks (10.9 or newer), you can boot from your original SSD recovery partition and install the OS onto the blank SSD,  Then swap the SSDs when finished installing.

Both recovery mode installs require an internet connection.  One (command r) needs the recovery partition to get started.  The other (command option r) boots from the internet.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vlogg5Author Commented:
Thanks people.
Serialband went above an beyond and gave me important information that I will be using in the future.
Thanks for getting back and good luck!
vlogg5Author Commented:
You are welcome
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.