Skip navigation

How to repair mount point when I can't login

742 Views 9 Replies Latest reply: Jul 30, 2013 2:21 PM by iW00 RSS
horsehorse Calculating status...
Currently Being Moderated
Jul 28, 2013 1:07 AM

Here is my problem:

I had two hard drives, "Mac SSD" (primary) and "Mac Data"(secondary). Unfortunately, all of my users home directories were on "Mac Data".

 

I tried to install an app which complained about the space in the path to my user directory, so I used Finder to rename my drive "MacData" - which Finder was happy to do for me.

 

Of course (I now realise why), after rebooting, I find that I'm unable to login to any of my user accounts because the paths for those accounts all point to "Mac Data", not "MacData".

 

So, to fix my problem, I seems that I have to either,

1. Change the path for my user accounts to point to "MacData", or

2. Change the mount point for the drive back to "Mac Data".

 

I can't work out how to accomplish either of these without being able to log in as a user.

 

Can I do either of these things via the Recovery function (Cmd-R), or the Single User Mode (Cmd-S)?

 

Thanks in advance for any help you can offer.

MacBook Pro, OS X Mountain Lion (10.8.4)
  • Linc Davis Level 10 Level 10 (107,430 points)
    Currently Being Moderated
    Jul 28, 2013 8:04 AM (in response to horsehorse)

    Boot into Recovery, launch Disk Utility, and rename the volume.

  • Linc Davis Level 10 Level 10 (107,430 points)
    Currently Being Moderated
    Jul 28, 2013 10:05 AM (in response to horsehorse)

    You should be able to rename it in the Erase tab. Without erasing, obviously.

  • iW00 Level 2 Level 2 (330 points)
    Currently Being Moderated
    Jul 28, 2013 10:34 AM (in response to horsehorse)

    Boot to single-user mode.

    First check how is your partition identified, run:

     

    diskutil list

     

    then you can use again diskutil tool to rename partion:

     

    diskutil rename /dev/CORRECT_ID new_name

     

    i.e. diskutil rename /dev/disk1s2 "Mac Data"

     

    Don't forget about "".

  • Linc Davis Level 10 Level 10 (107,430 points)
    Currently Being Moderated
    Jul 29, 2013 2:14 PM (in response to horsehorse)

    Select the volume you want to rename in Disk Utility, then click the Info button in the toolbar. In the window that opens, note the Disk Identifier at the top. It will be something like "disk1s2".

     

    Launch the Terminal application by selecting it from the Utilities menu. Very carefully enter this command, but only after modifying it as indicated below:

    diskutil rename disk1s2 MacData
    

    Substitute the actual identifier for "disk1s2," if it's different. Relaunch Disk Utility and check that the name has been changed. If it has been, restart as usual.

  • iW00 Level 2 Level 2 (330 points)
    Currently Being Moderated
    Jul 30, 2013 2:21 PM (in response to horsehorse)

    You can try to boot to Recovery Mode (CMD+R) and run Terminal (from Utilities button on the top panel) and once again use the same terminal command from my post above.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.