This is an unofficial mirror of pondini.org by James Pond, who is unfortunately no longer with us.

All rights belong to James' beneficiaries.

No guarantee is made about the accuracy or completeness of this mirror.

 

OSX Tips:  Setting-up a new Mac from an old one, its backups, or a PC

Problems  after  using  Migration  Assistant

                 Previous                        Home                         Contact                          

 

               Previous                              Home                                  Contact                                 

Where's my stuff?

When you first start up a
new Mac, you're asked by Setup Assistant if you want to transfer your information, on this window (Mountain Lion shown, others are similar):

If you selected the last option, and created a user account, then later on used Migration Assistant, even if it seemed to work you may not find your data.

The reason is, you now have an extra user account;  the one you created plus the one(s) you migrated.  Look in System Preferences > Users & Groups  (System Preferences > Accounts on Snow Leopard or Leopard).  There will be (at least) two accounts.  Log on to the one you transferred -- it should have your data.

Note that the transferred account has probably lost permission to see and change its files on other disks/partitions, especially backups.  If that's going to be a problem, see the pink box below.

If the account you created doesn't have anything you need, you can just delete it via the System Preferences > Users & Groups (or Accounts) window. 

But if the account you created does have data you want to keep, you're in a bit of a pickle -- there's no easy way to "merge" the two accounts.  You can copy many things from one account to another, but that can be tedious and difficult.  See Transferring files to another account for details and suggested procedures. 

 

Lost permission to files on other disks/partitions

Normally, one user, even an Admin user, doesn't have permission to access files belonging to other users.  This is clear when you have multiple users on the same Mac, such as for different family members -- each has its own preferences, settings, and data (such as pictures, email, and documents);  and everything is kept separate and private from the other users.  These same permissions may also apply to files that user may have on other disks or partitions, especially backups. 

When a user account is transferred via Setup Assistant when the new Mac first starts up, it's transferred "intact" -- any permissions to files on other disks or partitions (especially backups) are preserved.

However, with Migration Assistant, permissions to files on other disks/partitions usually cannot be preserved.  This is because of the way accounts and permissions work:

Every user account has a (mostly hidden) User ID, also known as a UID, associated with it.  OSX assigns these automatically as user accounts are created.  The first one is #501, then 502, 503, etc.  These must be unique on each Mac, and are the basis for permissions throughout your system and other disks (not the user Account name).


You can see these via
System Preferences > Users & Groups (or System Preferences > Accounts on Snow Leopard or Leopard). 

Unlock the padlock at the bottom of the window, then control-click (right-click) the account in the sidebar and select Advanced Options, and you'll see this window:

As noted, do not change anything on that window.

When you don't transfer your stuff via Setup Assistant, but instead create a user account, it's assigned #501.  If you then use Migration Assistant to transfer the 501 account from another Mac, it cannot keep the 501 on the new Mac, so it's assigned the next available number, usually 502.  The user account name, password, data, etc., will all be identical to the old Mac, but the UID will be different.  All the permissions on the files in that account are changed to correspond to the new UID.

That means that the transferred user account is treated as a different account when trying to access files in other places, such as backups:  it's #502, but the files belong to #501, so you'll see the "no entry" icon and/or messages about not having permission to the files/folders.

This won't happen if the files are on a disk or partition where ownership is not enabled.  Even if it is, sometimes an Admin user can disable permissions, or change the permissions on the disk or partition, but that can't be done on Time Machine backups, and may be difficult to do, or cause other problems, on other disks.

If you've recently used Migration Assistant instead of Setup Assistant, and still have access to the old Mac or backups you transferred from, you may be able to fix it.  Just how depends on the circumstances:

  1. If you're now on Lion (10.7.x) or later, see the green box below. 

  2. If you're now on Leopard or Snow Leopard, see the tan box at the bottom of this page.

 

Fixing a UID mismatch after using Migration Assistant

If there were only one or two user accounts on the old Mac or backups, you can probably fix this without having to start over.  The procedure is a bit tedious, and you must be careful to follow it exactly.  See the white Fixing a UID mismatch without starting over box below.

But if you had three or more accounts, or some of the user accounts on the old Mac or backups had been deleted and recreated, that won't work.  You'll need to start over as detailed below.

Starting over on Mountain Lion or Lion

The simplest, most reliable way is to erase your internal HD, reinstall OSX, and use Setup Assistant to transfer your apps, users, data, etc., per one of the first three options below.  If none of those is practical, there's a fourth option:

  1. 1.If you're on Lion and have a Lion Install USB thumb drive:

  2. a.Start from the USB thumb drive, select Disk Utility, and erase your internal HD.

  3. b.Quit Disk Utility, select Install Mac OS X, and follow the on-screen instructions.

  4. c.When your Mac restarts, use Setup Assistant to transfer your apps, data, etc., per Using Setup Assistant on Mountain Lion or Lion.   If you're using Time Machine for backups, and want old backups to be treated as if they were made from the new or erased Mac, be sure to transfer Settings as well.  

  5. d.When your Mac restarts, you may need to install the "combo" OSX update to get back to the version of OSX you were running.  See Installing the ''combo'' update and/or Reinstalling OSX.

  6. 2.If you made a copy of the Installer app and have another OSX volume:

  7. a.Start from the other OSX volume, select Disk Utility, and erase your internal HD.

  8. b.Install OSX from the copied installer.

  9. c.When your Mac restarts, use Setup Assistant to transfer your apps, data, etc., per Using Setup Assistant on Mountain Lion or Lion.   If you're using Time Machine for backups, and want old backups to be treated as if they were made from the new or erased Mac, be sure to transfer Settings as well.  

  10. d.When your Mac restarts, you may need to install the "combo" OSX update to get back to the version of OSX you were running.  See Installing the ''combo'' update and/or Reinstalling OSX.

  11. 3.If you don't mind downloading a fresh copy of OSX via the internet:

  12. a.Start from your Recovery HD, select Disk Utility, and erase your internal HD.

  13. b.Quit Disk Utility, select Reinstall Mac OS X, and follow the on-screen instructions.

  14. c.When your Mac restarts, use Setup Assistant to transfer your apps, data, etc., per Using Setup Assistant on Mountain Lion or Lion.   If you're using Time Machine for backups, and want old backups to be treated as if they were made from the new or erased Mac, be sure to transfer Computer Settings as well (they're transferred by default).  

  15. d.When your Mac restarts, you may need to install the "combo" OSX update to get back to the version of OSX you were running.  See Installing the ''combo'' update and/or Reinstalling OSX.

  16. 4.To transfer (or re-transfer) via Migration Assistant:

  17. The trick is to delete and re-transfer the user accounts, in a way that Migration Assistant doesn't have to change account names or UIDs (per the pink box above).

  18. a.Try to remember the number of user accounts on the old Mac.  If in doubt, add 2.

  19. b.Via System Preferences > Users & Groups, see how many are on the new one.

  20. c.Unlock the padlock at the bottom of that window (enter your Admin password).

  21. d.Add enough (temporary) user accounts, with any names, so you have at least one more than the old Mac, via the plus sign at the bottom of System Preferences > Users & Groups.  Make the last one you add an Admin account (check the Allow user to administer this computer box), but do not use any of the names you want to transfer.  Be sure to remember that name and password.

  22. e.Log off all accounts;  log on to that last, temporary, Admin account.

  23. f.Via System Preferences > Users & Groups, delete all the other user accounts (the ones you migrated plus the temporaries, except the one you're using).  Restart your Mac.

  24. g.Use Migration Assistant to transfer (or re-transfer) the user accounts, per Using Migration Assistant on Mountain Lion or Lion.   If you already transferred apps and/or Other files and folders on <disk name>, you can skip transferring those.  If you're using Time Machine for backups, and want old backups to be treated as if they were made from the new or erased Mac, be sure to transfer Computer Settings as well (they're transferred by default).  

  25. h.Log off of the temporary Admin account;  log on to the transferred account(s) and make sure everything's in the right places, and all permissions are ok.

  26. i.You can delete the temporary Admin account, or keep it in case there's ever a problem with your usual Admin account.

Starting over on Snow Leopard or Leopard

The simplest, easiest way is to erase your internal HD, reinstall OSX, and use Setup Assistant when your Mac restarts to transfer your apps, users, data, etc.:

  1. 1.Erase your internal HD, per the yellow box in Format, Erase, or Reformat a Drive.

  2. 2.Quit Disk Utility, and install OSX.

  3. 3.When your Mac starts up again, use Setup Assistant to transfer your stuff, per Using Setup Assistant on Snow Leopard or Leopard If you're on Snow Leopard and are using Time Machine for backups, and want old backups to be treated as if they were made from the new or erased Mac, be sure to transfer Computer Settings as well (they're transferred by default).  

  4. 4.When your Mac restarts, you'll probably need to install the "combo" OSX update to get back to the version of OSX you were running.  See Installing the ''combo'' update and/or Reinstalling OSX.

Fixing a UID mismatch without starting over

As explained in the pink box above, transferring via Migration Assistant changed the UID of your user account.  To reset the wrong UID (502) to the proper UID (501), you need to "free up" the existing one.  As noted in the green box above, this procedure will usually do that if you only had 1 or 2 accounts on the old Mac.  If you had more, or had deleted and recreated some accounts, you'll need to re-transfer your stuff, via one of the workarounds (probably #4) above.

To avoid starting over, you'll need to make yet another, temporary, Admin account, use it to delete the account that transferred as 502 (but keep it's home folder);  and delete the 501 account you created via Setup Assistant.  Then you'll create a new 501 account and assign it to the transferred home folder.

Note: if you put any new data in either account, this procedure will delete it.

In the instructions and samples below:

  1. Created Account is the one you created at startup (UID 501).

  2. Transferred Account is the one you transferred from your backups (changed to 502) and has your data but does not have permission to the prior backups with UID 501.  If you transferred two, do the original, Admin account, first.

  3. 1.Log on to the Created account and make

  4. a new, temporary Admin account, via

  5. System Preferences > Users & Groups.

  6. Call it whatever you like;  in the samples,

  7. we used Temp Admin (it will be 503).

  8. a.Unlock the padlock and enter your

  9. current Admin password.

  10. b.Click the plus sign at the bottom, change

  11. the type from Standard to Administrator,

  12. and enter a new name, password, etc.

  1. 2.Log off the Created Account and on to the

  2. new Temp Admin account.  Note: skip

  3. entering an Apple ID when prompted.

  4. 3.Go to System Preferences > Users &

  5. Groups, unlock the padlock, and enter the

  6. password for the Temp Admin account.

  7. 4.Select the Transferred Account in the

  8. sidebar and click the minus sign at the

  9. bottom.  

  10. 5.Select the Don't change the home folder

  11. button, then Delete User.

  12. 6.Select the Created Account in the sidebar,

  13. click the minus sign, but this time select

  14. Delete the home folder.

  1. 7.Restart your Mac.  Log on to the Temp Admin account again.

  2. 8.Via the Finder, go to the top level Users

  3. folder on your Mac.  If you don't know

  4. how to do that, either select your

  5. computer in the sidebar or press Shift

  6. +Cmd+C.  Your internal HD, usually

  7. named "Macintosh HD", will be shown

  8. in the center portion with a gray disk icon. 

  9. Select it.  Inside it is a Users folder, and

  10. inside that are your home folders, something

  11. like this with the Finder in Column View:

  12. 9.Note that the transferredaccount has "(Deleted)" appended to its name.  Remove that, so it's just the original name.  You'll have to enter the Temp Admin password.

  13. 10.Go to System Preferences > Users & Groups again.

  14. 11.Create a new account exactly like the

  15. transferred one you just deleted -- with the

  16. identical name and password.


  17. You'll get a prompt about there

  18. already being a home folder with the same

  19. name:


  20. That's what you want.  Click the Use

  21. Existing Folder button.

  22. 12.When the new account is created, log on

  23. to it.  When asked, be sure to use the same

  24. AppleID as on the original.

  25. 13.Make sure everything is there, just as it was, and that you have the proper permissions to your files, including backups.

  26. 14.Delete the Temp Admin account (or leave it in case you need it again).

(If you transferred two accounts, repeat steps 4, 5, and 7 through 13 for the second one.)