Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

komatsu

macrumors 6502a
Original poster
Sep 19, 2010
547
45
I need to run a terminal command within the OS X recovery mode environment. The particular command needs the home directory or root.

How do I find out what the home directory is?

(Remember, this Mac is NOT booting, I can only get into recovery mode)
 
In Recovery, the Macintosh HD volume is mounted separately at a different path, similar to an external drive. You can see that path with the “df” (without quotes) command, or you can list it with “ls -l /Volumes”. From there you will find the home directories of the users in Users/, e.g. /Volumes/Macintosh HD/Users/.

Which command do you intend to use?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.