New driver installation

Hi,
I installed JDBC driver- ojdbc14.jar for oracle 10.2 and it is working,now I want  install JDBC driver ojdbc14.jar for oracle 9.2 (I am on Unix & PI 7.1) for that I add the ojdbc14.jar file in .SDA file and deploy it using JSPM.
but still the server is accessing 10g driver it is not detecting 9.2 drivers.
what to do? is there any process like I have to undeploy old driver and then deploy the new driver?
some suggest about CLASSPATH entry where can I locate it in unix,(but in my case jar file name is not changing so it is not requried)
please guide

Hi,
  Please go through the below document for new driver installation:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f
Thanks,
Prasanthi.

Similar Messages

  • Soundfonts missing high frequencies after new driver installation

    Hi there,
    did anyone have a problem similar to this :
    I recently installed new drivers for my sb audigy (newest driver webupdate from Nov. 9th 2003, audio-hq, surroundmixer and taskbar)...i was happy about the new options and the driver seems to be stable, but a problem occured - the soundfonts sound quality is not as good as before, they sound kind of muffled, it seems that the high frequencies are missing... I didn't have that problem with the 'old' driver(s) installed.
    Does anybody know a solution for this ?
    Thanks for you reply in advance,
    Tannoy.

    Hi Flying_Ghost,
    thanks for your reply. It helped me to figure out how to avoid that volume difference but still the soundfonts sounded the same way.
    So i started an intensi've search in the internet and in this forum to find a hint about what could be the reason for this and finally found the solution, maybe it's interesting for you and anybody else who may have the same problem:
    In the directory C: (assumed to be the main path)\ProgramFiles\Creative\SBAudigy\Program\WDM\C ommon is an application placed called 'ctpanel'. It includes an option for speaker settings and this involves a check-box for CMSS 3D selection, it was set to CMSS . CMSS is creative's multi-speaker-surround 3D, designed to bring stereo content into the 5. and now even in 7. surround sound.
    Somehow at least the soundfont signal passes through the CMSS - section when the Creative Asio driver is used within an sequencer application. With CMSS activated, the soundfonts sound kind of muffled -- set CMSS Off and it sounds the way it should be.
    Best regards,
    Tannoy.

  • HT201372 used this to make a bootable copy for a new hard drive installation. copied the install find but gave error code 110 when making the disk bootable.. Any help in what this code is

    Used createinstallmedis to make a copy of the Mavericks app for use in a new hard drive install.. Copied find but gave error code 110 and failed to make the flash drive bootable.. Any help in what errror code means?

    Did you partition and format the flash drive first? See the following:
    Make Your Own Mavericks, Mountain/Lion Installer
    After downloading the installer you must first save the Install Mac OS X application. After the installer downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing.
       2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your flash drive (this is the entry with the mfgr.'s ID and size) from the leftside list. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list.
    Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to an hour depending upon the flash drive size.
    Make your own Mavericks flash drive installer using the Mavericks tool:
    Mavericks has its own built-in installer maker you use via the Terminal:
    You will need a freshly partitioned and formatted USB flash drive with at least 8GBs. Leave the name of the flash drive at the system default, "Untitled." Do not change this name. Open the Terminal in the Utilities folder. Copy this command line after the prompt in the Terminal's window:
    sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
    Press RETURN. Enter your admin password when prompted. It will not be echoed to the screen so be careful to enter it correctly. Press RETURN, again.
    Wait for the process to complete which will take quite some time.

  • How to get new iTunes installation to "recognize" library on different drive

    I had two hard drives on my PC - call them A:\ and B:\.
    iTunes was installed on A:\.
    A:\ was limited in storage capacity, so at some point I moved my iTunes library to the much larger B:\ - and it remains there today. The iTunes Media Folder location is B:\iTunes\iTunes Media. (This switchover of the library to B:\ was accomplished a long time ago, and frankly I do not remember how I "made it work" - as will become clear in this post...).
    The hard drive A:\ crashed and I lost everything. Good thing all the music and other content is on B:\ !
    I replaced A:\ with a new drive, call it C:\ and installed iTunes on that new drive.
    Now, how to I get the newly installed iTunes on C:\ to use the library that is on B:\ - to display all the music (and movies, etc.), let me create playlists, synch my iPods, iPad and iPhone, etc.?
    I went into iTunes to Preferences > Advanced and changed the iTunes Media Folder location to B:\iTunes\iTunes Media, and saved. What do I do now? I thought it would be as simple as using iTunes' "Add file to library", then navigating to B:\, selecting the root iTunes folder and clicking "Open." But that doesn't do it.
    What do I need to do?
    Also - when I get the new installation of iTunes to work with the old library, will my old playlists still be there?
    Will the device profiles of my various devices still be recognized (as they were when using my previous installation of iTunes), or will I have to introduce them to iTunes as if they were new devices?

    Hello Mae Sot,
    Thank you for using Apple Support Communities!
    It sounds like, from your description that we need to point iTunes to the library located in the 'B:\' drive and have iTunes load it.
    You definately did one of the steps to tell iTunes to store and access content to the correct library. Next do this to "load" that specific iTunes library:
    If iTunes is running, quit iTunes.
    If you are using Windows, hold down the Shift key and from the Start menu and choose All Programs > iTunes > iTunes.
    If you are using the Mac, open iTunes and immediately hold down the Option key.
    You should see one of the following screens:
    From: iTunes: How to open an alternate iTunes Library file or create a new one
              http://support.apple.com/kb/HT1589
    It should contain the playlists you had before.
    All the best,
    Sterling

  • Do I have to activate AHCI mode on a Mountain Lion after a new SSD drive installation?

    Hello All,
    Do I have to activate AHCI mode on a Mountain Lion after a new SSD drive installation?
    I have a new Corsair GT SSD sata 3 drive on my mack book, I have read on corsair web page that is good tho activate the AHCI and TRIM but I cant find information about how to do this on OS X.
    Thank you all

    That's information for non-Apple hardware. You can activate TRIM using third-party software: TRIM Enabler 2.2. However, most new SSDs should not need TRIM activated on the Mac.

  • SoundBlaster X-Fi Driver Installation Fails After Moving Soundcard to New Slot

    NSoundBlaster X-Fi Driver Installation Fails After Moving Soundcard to New Slot4 I recently moved my X-Fi Elite Pro soundcard to a different PCI slot to accommodate my new large PCIE graphics card.
    Prior to moving the card, my?original SoundBlaster install went fine without any trouble. When I booted up after relocating the card,?it was not detected at all. So I uninstalled my SoundBlaster driver software and?rebooted the computer?thinking that was necessary to clear any hardware configuration settings from the old install. This made no difference. I then discovered my card was not seated properly and corrected it.
    Next I installed the SoundBlaster driver software. The installation proceeded and finished with a request to restart the computer. Once I did, the computer detects my card and starts the hardware installation wizard asking if I want Windows to search online for driver software. It does not recognize the just installed SoundBlaster driver installation. I have a dual boot setup and this happens in both WinXP Pro and Vista 32 Home Premium.
    What's wrong here?

    Forget it folks...couldn't wait for any suggestions so I just cleaned off my hard dri've and reinstalled everything. Works fine.

  • Fresh Windows 7 Installation on new drive -- LR3 questions

    I bought a new SSD drive that I intend to use as my Windows 7 boot drive.  I will do a fresh installation of Win 7 and reinstall all my applications.   Lightroom 3 is currently installed on my older conventional drive in the C partition.  That old drive will become a data drive.
    1. As far as I can tell, all I need to do for LR3 is export my existing catalog to a temporary holding location (like a USB drive), install LR3 to the new drive, then import the catalog into the new installation.  Is that all it takes to get me back to where I am now?  I assume I will also need to re-register LR?
    2.  My SSD is smaller than my current C: partition so I want to limit it to Windows and required program files.  I'll want to keep all data on a different drive.  Some Windows programs, by default, store certain user data on the C drive.  As far as I can tell, LR3 doesn't store user data on the C drive by default.  It just stores the required files for running the program on C, and stores user data in locations specified by the user.  Is that right?
    3.  Are there any other considerations, specific to LR3, when reinstalling the OS and the program?
    Thanks.

    Assuming your original image files are on a seperate drive to the boot drive then Copy or Move your catalog file (and the preview folder if you wish) to another drive, no need to export it. Just copy it back to whatever location you want once finished and open it from the new instillation. On no account re import files that are already referenced by a catalog. When you re start LR it should find the original files if the drive paths to wherever they are located remains the same, if not right click and relocate the files/folders.
    LR stores the catalog file and previews data on whatever drive you specify when creating the catalog. It will default to the C drive unless you say different. The locations of preferences files, templates etc. are by default on a windows installation at user/username/AppData/Roaming/Adobe on the C drive. Obviously the image files themselves can go wherever you wish.
    It is usually best to locate the catalog on a different drive to the OS and applications where this is possible. However if your SSD drive is large enough the performance gains from having the previews on the SSD may outweigh the performance gains from having them on a separate drive, it rather depends on how much space you have on the SSD.

  • Hard Drive Crash - need help with choosing new drive and installation

    My hard drive seems to have crashed. My computer froze, and when I tried to reboot, it got stuck at the startup screen. I started from the system CD, ran the disk repair utility, and it said it could not repair the disk. I ran Tech Tool Pro and it could not repair the disk. I tried to start up in Target disk mode while connected to my older G4 iMac (that I'm using now as my backup), and the disk would not mount. So I need some expert advice - I am assuming the hard drive is toast. I wish I could at least mount it in target disk mode to transfer files, but I haven't been able to do that. I was going to take it in for repair (or possibly buy a new computer), but after reading some of the posts here, I am thinking I could just replace the internal hard drive with a 3.5" SATA drive.
    What I need to know is am I correct about this? And is this the right kind of drive for my iMac? Are there any specifications I need to be aware of when ordering a new drive? I downloaded the manual explaining how to replace the drive and it looks doable. I would appreciate any guidance as to choosing the new drive (specific brand names/models would be great), installing the drive, and tips for formatting, etc. Thanks in advance for your help!

    Welcome to Discussions - any 3 1/2" SATA drive will be fine, go to [macsales.com] or [smalldog.com] or [newegg.com] and choose whichever drive fits your wallet. Most of them are reliable, I have heard of problems with Seagate and Hitachi, but there are always some failures with any brand. Make sure to get a good warranty.Instructions will come with the drive, but you can download them from [Apple|http://www.apple.com/support/manuals/imac> as well.

  • How do I move my current hard drive OS and data to a new drive for internal installation?

    I want to replace my Macbook Pro 500GB Hard Drive with a 2TB Hard Drive.  How do I make this new drive bootable and a replica of my current drive programs and data?   I also want to upgrade the OS.  Is it best to mirror the drive and then upgrade the OS, or can I put the new OS on the new drive and then clone the old drive onto it?

    For starters I would do this one step at a time. It is far easier to check out where the problems are when they develop that way.
    My first step would be to backup everything that you have now as a first step. Just in case of problems later.
    Next, I would suggest to place the new 2TB disk drive in an enclosure and format it to Mac OS Extended and GUID partition mapping first.
    Once that is done you can create a bootable clone on the 2TB disk drive using either CCC or SuperDuper.
    Then test to be sure the 2TB is bootable.
    Then move the 2TN disk drive into the Mac.
    Once you have done that and it boots them you can upgrade the operating system.

  • Hard drive crashed. How do I get OSX on my new drive?

    I think my hard drive crashed, oh my.  First, let me say that all my data is backed-up on a cloud drive or on my network drive.  So, I am good there.  The computer is now completely inoperable, can't start up, not even in safe mode. Just goes to Apple grey screen and then shuts down, that Issa far as I can get. Does not even play the start-up chime anymore.
    Question I have is this: I did not make a bootable start-up drive (dumb), so when I get a new drive to replace this, how will I get the OS on it to start- up and get the new drive ready?

    If you don't get a startup chime then you may have a worse problem. Just be prepared.
    What year is your MBP? From 2011 onward you would use Internet Recovery. Earlier you would need to install the original software that came with the computer on software restore DVDs.
    Internet Recovery
    Install Mavericks, Lion/Mountain Lion Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    1. Select Disk Utility from the main menu and click on the Continue button.
    2. After DU loads select your newly installed hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion. Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet
                if possible because it is three times faster than wireless.
    This should restore the version of OS X originally pre-installed on the computer.
    DVD Installation:
    Clean Install of Snow Leopard
    Be sure to make a backup first because the following procedure will erase
    the drive and everything on it.
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. Be sure you configure your initial admin account with the exact same
             username and password that you used on your old drive. After you finish Setup
             Assistant will complete the installation after which you will be running a fresh
             install of OS X.  You can now begin the update process by opening Software
             Update and installing all recommended updates to bring your installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.

  • Migrating/recreating existing iTunes functionality on a new drive

    I have an apparently-unusual and somewhat complicated problem. I have two drives on my PC, and iTunes is currently installed on my (now-too-small) C drive. I want to get rid of "everything iTunes" on my C drive to free up much-needed space there, and either create or re-create my existing iTunes functionality, but on my G drive. That is, I don't want to have to "re-teach" a new installation of iTunes where everything is and where everything goes, if possible.
    A great deal of my media libraries are not located in iTunes' C-drive folders, and are housed on my G drive. I really really don't want to have to add all those songs back into my libraries and playlists manually. But a fair chunk of my podcasts, music, movies and so on are contained within iTunes' various folders on the C drive. So to preserve them, I copied the "iTunes" folder from "C:/Documents and Settings/Owner/My Documents/My Music/iTunes" to my G drive root directory, renaming it simply "iTunes". I then redirected my existing C-drive iTunes installation to recognize this folder, changing it via "Edit >Preferences >Advanced >iTunes Media Folder location >change". (However, as a test, I renamed my C-drive iTunes folder to make sure that iTunes really was looking to my G-drive copy of the folder, and iTunes promptly lost track of everything, all my libraries, DL'ed music and movies, etc. I undid the renaming, and everything showed up hunky-dory again. So even though I told iTunes to look to the G drive folder for this information, some part(s) of it are still using the C-drive folders for it.)
    So. Is it possible to somehow transfer my C-drive iTunes' knowledge of where all my media files are on my computer, which songs are in which playlists and so on, to a new G-drive install of iTunes? The media files themselves aren't moving--iTunes would be. I would also need my idevices' backups to locate themselves on the G-drive, and my future purchases to download there as well. As a lesser issue, is there any trickiness about deleting the existing C-drive installation of iTunes without mucking up the G-drive install, once I get the G-drive install up and running properly? (I'm reluctant to create a new install of an existing program until I have some idea of whether the two would interact.)
    I have searched this procedure a couple of different times using Google, but haven't been able to find a reliable set of instructions addressing this particular situation. I find it hard to believe that no-one else has experienced this problem before, but I can't seem to find any record of how to solve it.

    Cool... Earlier in the thread you mentioned that you'd also got media scattered around the G: drive. In the long run you'll find the next transition will be much smoother if you consolidate this media into your *G:\iTunes\iTunes Media* folder. Consolidate makes copies of the files that are outside the iTunes folder inside the iTunes folder so you'll either need to have enough room to afford to temporarily double up these files or, if that's a problem, you can do it in batches. You can consolidate everything in one go using *Library > Organise Library > Consolidate files*, alternatively select group of files, right-click on them and click Consolidate to do it in stages.
    I'm assuming at this stage that you're happy with letting iTunes organise the files. If you prefer to keep your own layout (perhaps you've put certain genres in their own folders or prefer longer file/folder names than iTunes uses) then it is possible to get things organised in a way that is both under your control but also portable, however it requires a script to relocate the files as moving by hand and relinking is tedious.
    An advantage of getting everything organised inside the one set of folders is that your library can be easily reconnected if the drive letter changes. It is also possible to use a tool like SyncToy 2.1 to clone the library to another hard drive or network share for backup purposes, knowing that the backup will ready to use straight away should the need arise. A working backup is as important as knowing where your your towel is...
    tt2

  • How do I move my iPhone to a new iTunes installation?

    Hi folks,
    I have a new Windows 7 computer and want to sync my iPhone with it, but iTunes says it's going to delete all of my data. My old computer that I used to sync with is gone; the drive has been reformatted.
    I don't care about the music on the phone; I have all of that on my server. However, I'm worried sick about my apps and the data stored within them!! I have years worth of life data, journals, etc, in apps on this phone. How do I tell iTunes, "This is my new computer now; back up and sync here from now on?"
    Here's what I've done so far:
    1. I authorized the new iTunes installation with my iTunes account.
    2. I right-clicked on the phone within iTunes and selected "Transfer Purchases." It appeared to work, said it was copying all of my apps. But when I go to the Apps tab and click "Sync Apps", it tells me it's going to replace all of the apps on my phone with the apps in iTunes. However, I only see two (out of dozens) of my apps there! Did "Transfer Purchases" not do what I expected it to? How can I fix this?
    Thank you!

    It has always been very basic to always maintain a backup copy of your computer for just such an occasion.
    Use your backup copy to put everything back.
    The iphone will sync pics and itunes content with one and only one computer at a time.  If you sync to another, it will indeed erase the current content and replace with content from the new computer.
    Also if you sync contacts/calendars to a blank computer, they will be erased as well.  Another reason a backup is critical.
    If you have failed to maintain a backup ( not good)then, transfer purchases will transfer itunes purchases.  Make sure you have authorized the computer for your itunes account(s).
    About iTunes Store authorization and deauthorization
    Backup your iphone:
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software
    Enter one unique contact and calendar entry on the new computer.  When you first sync you should get the option to merge the data.
    Than make a backup copy of your computer and always maintain it.

  • Can't Install Snow Leopard on new drive

    I'm having a relatively serious problem with upgrading my hardware. I have a Mac Pro tower with an empty HD slot into which I installed a new drive which mounts properly.
    My plan was to simply move everything from the old hard drive to the new one, using Disk Utility's "Restore" function.
    That seemed to work fine, but when I restarted and attempted to switch startup disks, selecting the new drive caused an immediate kernel panic (the grey screen saying "You need to restart your computer") which was preceeded momentarily by some very strange dos-like text in the upper left hand corner of the screen.
    So after several attempts, I gave up and tried to simply install snow-leopard on the new drive. That never even got started. While the snow leopard installer would happily install the OS on any of my external drives that had enough free space, the new drive (despite the fact that it was mounted on the system) would not even show up in the list of drives to select in the Snow Leopard installer.
    I checked the formatting of the drive, and it seems to be the same as both my current startup disk, and the external drive that the OS could be installed on.
    How can I move my entire system to this new drive without causing instant kernel panics? Thanks in advance for any help!
    Cheers,
    Ari

    Interesting. Yes, I think that is what macjack had in mind. However, after doing what macjack said, your drive would be erased Mac OS X extended (journaled), and, after shutting down disk utility, you could just continue the install you would have started. At the end of the install, you could restore your files, data, settings, and apps from your other drive. The choice, of course is yours. If I were doing it, I would perfer the first alternative.

  • New Server Installation, now client computers can't connect to services. Where to go from here?

    Hello.
    I recently had to setup a new Mac Mini Server (Mavericks). We had one previously but one of the raided hard drives failed. No backup.
    Our office of 6 Apple MacBook Pros used to connect to all file sharing and calendar services, easily.
    On the new Server installation, I added the same users with the same passwords etc. The client computers cannot access calendars, file sharing etc. On the clients, I have opened up System Preferences > Users & Groups > Login Options > Network Account Server and added the FQDN of the server, but I get an error ' Unable to add server. Connection failed to the directory server. (2100) '
    2 of the clients are on Mountain Lion. The rest are on the latest Mavericks.
    I'm a bit lost on where to go from here and would appreciate your help before I wipe everything and start from scratch.
    Thanks.

    Hi Strontium90
    Ha! There was a time machine backup, but we had a storm here which rendered it and the server useless. We are such a small team without an 'IT' guy, apart form me as I have a vague interest in all things Apple.
    What is your DNS name space?
    Do you need the name here?
    Do the servers and the client agree on this name?
    Not sure what you mean. The domain name works as when I type it into a web browser, I can see the 'Welcome to Server' page.
    Did you enable an Open Directory Master?
    Yes. Open Directory is running.
    Did you grant the users/group access to the service you are offering?
    Yes. All services are checked for each user.
    Make sure the user/group is permitted to access your enabled services.
    All allowed, too.
    Oh, and implement a backup strategy
    Will do, once I sort out this problem. Time Machine and off-site, I think.

  • How can I install OS 10.9.4 on a new drive & delete it from my old drive?

    I just got an SSD and would like to have it be the drive that runs my system (10.9.4) software. I'm not sure how to install the system software on that drive and get it off the regular drive.
    Can anyone point me to instructions for doing that or tell me how?
    Thanks!

    How to replace or upgrade a drive in a laptop
    Step One: Repair the Hard Drive and Permissions
    Boot from your Recovery HD. Select Disk Utility from the main menu and click on the Continue button. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Step Two: Remove the old drive and install the new drive.  Place the old drive in an external USB enclosure.  You can buy one at OWC who is also a good vendor for drives.
    Step Three: Boot from the external drive.  Restart the computer and after the chime press and hold down the OPTION key until the boot manager appears.  Select the icon for the external drive then click on the downward pointing arrow button.
    Step Four: New Hard Drive Preparation
      1. Open Disk Utility in your Utilities folder.
      2. After DU loads select your new hard drive (this is the entry with the
          mfgr.'s ID and size) from the left side list. Note the SMART status of
          the drive in DU's status area.  If it does not say "Verified" then the drive
          is failing or has failed and will need replacing.  Otherwise, click on the
          Partition tab in the DU main window.
      3. Under the Volume Scheme heading set the number of partitions from
          the drop down menu to one. Set the format type to Mac OS Extended
          (Journaled.) Click on the Options button, set the partition scheme to
          GUID  then click on the OK button. Click on the Partition button and
          wait until the process has completed.
      4. Select the volume you just created (this is the sub-entry under the
          drive entry) from the left side list. Click on the Erase tab in the DU main
          window.
      5. Set the format type to Mac OS Extended (Journaled.) Click on the
          Options button, check the button for Zero Data and click on OK to
          return to the Erase window.
      6. Click on the Erase button. The format process can take up to several
          hours depending upon the drive size.
    Step Five: Clone the old drive to the new drive
    Boot Using Command+R keys:
      1. Restart the computer.
      2. Immediately after the chime press and hold down the
          "COMMAND" and the "R" keys together.
      3. Release the keys when the Utilities Menu appears.
      1. Open Disk Utility from the Utilities folder.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Check the box labeled Erase destination.
      5. Select the destination volume from the left side list and drag it to the
          Destination entry field.
      6. Select the source volume from the left side list and drag it to the
          Source entry field.
      7. Double-check you got it right, then click on the Restore button.
    Destination means the new internal drive. Source means the old external drive.
    Step Six: Open the Startup Disk preferences and select the new internal volume.  Click on the Restart button.  You should boot from the new drive.  Eject the external drive and disconnect it from the computer.

Maybe you are looking for