How to get the password hashes for a user in Mac OS X 10.10+, in recovery/single user mode?
When booting into recovery mode, the main hard drive is mounted under /Volumes/NameOfMainVolume/ (usually /Volumes/Macintosh\ HD or "/Volumes/Macintosh HD"). So if you need to access files residing on the main drive, include that part into your access path.