You are not logged in.

#1 2016-07-23 01:01:54

scapegoat24
Member
Registered: 2016-07-21
Posts: 12

cd to a different partition such as /home? (SOLVED)

When I installed Arch I created a root swap home in my hard drive.
My question is, how do I cd in the terminal to my home partition I created on sda3?

Using a click and drag of a text file my computer says this, /run/media/scapegoat24/06fb9e02-6e46-4884-b89a-720f4c9772a9. Now is that the actual path and the (06fb9e02-6e46-4884-b89a-720f4c9772a9) the name of my /home partition? If so that is not what I want to be typing in the command line everytime I wish to cd to the /home partition.. How would I change the name of this if it is the actual path I have to go through?

Last edited by scapegoat24 (2016-07-23 03:00:13)

Offline

#2 2016-07-23 01:05:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: cd to a different partition such as /home? (SOLVED)

Your home partition should be mounted at /home - why are you mounting it in /run/media? Do you not have an entry for it in fstab?

If it is set up correctly, you can move to it by just issuing cd without arguments.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-07-23 01:11:57

scapegoat24
Member
Registered: 2016-07-21
Posts: 12

Re: cd to a different partition such as /home? (SOLVED)

Ah thank you! cd changed it from / to ~. I wasn't trying to mount it on /run/media that is the path that was trying to be used when I didnt sudo mount it from my filesystem and dragged the text file to the unmounted device in the devices tray and thought that was the actual path.
Thanks jasonwryan.

Offline

#4 2016-07-23 01:16:40

scapegoat24
Member
Registered: 2016-07-21
Posts: 12

Re: cd to a different partition such as /home? (SOLVED)

I was confused as to if my stuff was being saved to /home or /root. However I see now that my 470GB /home is 437GB /home and my 15GB /root is 12GB left now.
Update once again, when I mount the 470GB device I believe is my /home partition it says that its location is /run/media/scapegoat24. And it has nothing in its contents... All of my pictures/media is being saved to my root partition. And it says that my device is named 06fb9e02-6e46-4884-b89a-720f4c9772a9?

Last edited by scapegoat24 (2016-07-23 01:22:34)

Offline

#5 2016-07-23 01:22:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: cd to a different partition such as /home? (SOLVED)

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-07-23 02:59:21

scapegoat24
Member
Registered: 2016-07-21
Posts: 12

Re: cd to a different partition such as /home? (SOLVED)

Solved now. I hadn't set up my /home partition correctly during installation. I fixed this by deleting the culprit (06fb9e02-6e46-4884-b89a-720f4c9772a9) and creating a new partition of which I edited into /etc/fstab after backing up my current /root's home to the new partition. There was a guide I used http://psychocats.net/ubuntu/separatehome   . I rebooted and now my partition is associated correctly.

Will mark solved.

Offline

Board footer

Powered by FluxBB