I want to transfer files in Recovery Mode https://support.apple.com/en-us/HT201314. I opened Terminal in Recovery Mode and tried to copy files to external hard drive. I use this code
// I used cd .. to get to the topmost folder
cd Volumes // takes me to volumes
ls
cd OS\ X\ Base\ System
ls
The problem is that this creates a loop. Upon cd-ing to OS\ X\ Base\ System it takes me back to the start, namely the /
folder that contains Volumes
. I want to copy the whole Document directory and Desktop directory. What I am doing wrong?
EDIT>
When I first enter the Terminal, I am in private/var/root/Library
, the system created a var folder when figuring out something is missing I guess.
/
because you begin withVolumes
as a relative path./Volumes
? Otherwise you may need to run Disk Utility first (it's in one of the menus) and mount the main drive there.cd OS\ X\ Base\ System
takes you back to/
? I suggest you follow @patrix's suggestion of mounting the main disk through Disk Utility. If you need to use the command line,diskutil mount /dev/disk0s2
(assuming disk0s2 is your main partition)./
, it's/Volumes/Macintosh HD/
.