Skip to main content

Migration from HDD to SSD with Mac OS X Lion

Today I'll try to cover my migration experience. I have bought myself an OCZ Technology 128GB Vertex 4 SSD from Amazon. And I also have an external 1 Tb HDD. I'm using it for migration purposes as a backup Time Mashine. So to migrate yourself without reinstalling operating system and so on you need:

1. Compact your data. Usually HDD's, installed in Mac's, are much bigger then SSD's you buying. And to tell you the truth, you probably do not need a 512 Gigabytes SSD at all. Most of data are accessed rarely and do not require speedy storage. So COMPACT them. Move to an external HDD and/or delete. Time to cleanup one word. There are also several places that can be easily deleted without much troubles. They are iTunes backup caches for your iOS devices, like iPhones and iPads.
they are usually sotred on your user library path.
You can delete them without sorry from either:
~/Library/Application Support/MobileSync/Backup 
folder or in your iTunes => Preferences => Devices section, hitting delete on each backup.
They will be created from scratch on next sync. So no worries about them. Your data are safe on your mobile devices. If you do not screw things up on next sync (:
Besides this you have ability to link files. For e.g. I have an iTunes library of around 100 Gigs of songs, books and etc. So storing it by default path is bad idea. My SSD only has 128 Gigabytes. Anyway I'll tell what to do with this later on. For now I'll just say you can move iTunes Libraries and relink them. And you can move iPhoto library. I have around 100 Gigs of photos too... So those 2 are moved to external HDD. Leaving me 200 gigabytes of data. After deleting iTunes backups I've fried around 60+ gigs. I have had several iPhones and their backups also were stored there. So the list was big.
Anyway. The file system started to look like this:

But I've fried this space, and made a backup. Why the hell I have no free space. And my Mac says I have only 70+ gigs of space used. The catch is in .MobileBackups folder. Mac stores your Time Mashine backups to local hard drive. Backing up data locally. What a mess :). You can disable it by hitting terminal command:
$ sudo tmutil disablelocal 
this will disable local Time Mashine backups. TADAAM. We really have a hard drive with around 78 gigs of space used for system and files.
Now make a Time Mashine backup to external HDD, or second hdd, that will not be formatted and can be accessed during setup. Math is simple. Last backup must be smaller then your SSD capacity. 78 is quite ok for me.
In case you need to fit something on your HDD and have all the space used by Time Mashine backups, like I did, you can delete old Time Mashine backups in manual mode. Simply go to folder on your Time Mashine drive, called Backups.backupd => YourUserNameHere. You will see a set of date stamped folders. Those are Time Mashine backup dates.
You can free them up by deleting each folder and cleaning the trash. Note it will come to cleaning Trash with - amount of objects, e.g.: "deleting file -123". Don't bother with that and simply wait for cleanup.

Now that we have a most recent backup in Time Mashine of all our system HDD. We can proceed. Power of your Mac/Macbook and insert a SSD drive, if you have not done so before.
I have used an Second SSD/HDD drive Caddy that is around 10$ at eBay.
Looks something like this:
I've plugged my HDD there. And SSD came in place of HDD. But it's a metter of taste and you can do as you wish here. 
Now time to boot. Boot, holding "Option" key. You will see the menu with OS boot choice, Looking something like that:
Choose Recovery HD. This will be mush simpler/quicker then making any external boots. But you may have to do it in case you do not have this option here. Anyway booting this option will lead you to a screen with recover options.
Choose Restore From Time Mashine Backup. Will lead you to the drive with your Time Mashine selection, in case you have several. Afterwards select your LATEST! backup. And choose where to restore to. Be careful to choose your SSD. And hit Fire. :)
You will wait several minutes, depending on your Time Mashine drive speed with this screen:
After load you will have fully restored system with all your data on a SSD.
Now be sure you have boot from an SSD ( It is usually hard to make a mush here because of boot speed :D ). But make sure you are on SSD now and go ahead to diskutil and format your HDD. You will not need it anymore. TADAM. You're done.

Thanks for reading this far and comments with your success are welcome, as long as critics apriciated ;).

Comments

  1. Ironic, I ended up doing the same exact thing. Reason, I kept getting error code from disk utility since my SSD is smaller than the HDD. So I just did a fresh install onto the SSD (recommended)... and then just copied over the files using OSX utility. Now I'm planning on wipping the old HDD and thinking about creating a symbolic link from Documents etc to HDD ?? What do you think?

    ReplyDelete
    Replies
    1. I did so. Works for me)
      Not only documents, but photos... I have several hungreeds of gigabytes...

      Delete
  2. My ipod touch fourth generation has a badly cracked screen and i really need it fixed. Will apple mac repairs it or should i use a DIY kit? it is about 1.5 years old and jailbroken. i could always unjailbreak though. Any helpful suggestions would be greatly appriciated.

    ReplyDelete
  3. HDD to SSD with Mac OS X Lion ,HDD is cheaper than ssd.Pavilion age 14 fuselage more 240gb ssd drive showing solid state drive 240gb went up by crimson, and also dark with other hues, all the more nice and interesting, the entire body and don't have a lot of to play an enhancing role in the current standpoint, this specific coloring is much more good beauty tastes involving the younger generation.

    ReplyDelete

Post a Comment

Popular posts from this blog

Pretty git Log

SO you dislike git log output in console like me and do not use it... Because it looks like so: How about this one? It's quite easy... Just type: git log - - graph - - pretty = format : '%Cred%h%Creset -%C ( yellow ) %d%Creset %s %Cgreen ( %cr) %C ( bold blue ) <%an>%Creset' - - abbrev - commit - - It may be hard to enter such an easy command every time. Let's make an alias instead... Copypaste this to your terminal: git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --" And use simple command to see this pretty log instead: git lg Now in case you want to see lines that changed use: git lg - p In order for this command to work remove  the -- from the end of the alias. May the code be with you! NOTE: this article is a rewritten copy of  http://coderwall.com/p/euwpig?i=3&p=1&t=git   and have b...

Django: Resetting Passwords (with internal tools)

I have had a task recently. It was about adding a forms/mechanism for resetting a password in our Django based project. We have had our own registration system ongoing... It's a corporate sector project. So you can not go and register yourself. Admins (probably via LDAP sync) will register your email/login in system. So you have to go there and only set yourself a password. For security reasons you can not register. One word. First I've tried to find standart decision. From reviewed by me were: django-registration and django password-reset . These are nice tools to install and give it a go. But I've needed a more complex decision. And the idea was that own bicycle is always better. So I've thought of django admin and that it has all the things you need to do this yourself in no time. (Actually it's django.contrib.auth part of django, but used out of the box in Admin UI) You can find views you need for this in there. they are: password_reset password_reset_...

Vagrant error: * Unknown configuration section 'hostmanager'.

Sometimes you get a vagrant environment or boilerplate with a Vagrantfile config in there and do a vagrant up command. And see some errors. like this: There are errors in the configuration of this machine . Please fix the following errors and try again : Vagrant: * Unknown configuration section 'hostmanager'. To fix this one needs: $ vagrant plugin install vagrant - hostmanager Installing the ' vagrant-hostmanager ' plugin . This can take a few minutes . . . Fetching : vagrant - hostmanager - 1.8 .6 . gem ( 100 % ) Installed the plugin ' vagrant-hostmanager (1.8.6) ' ! So command to fix this as follows: vagrant plugin install vagrant-hostmanager