You are not logged in.

#1 2024-12-09 00:59:59

MAYBL8
Member
From: Florida USA
Registered: 2022-01-14
Posts: 386
Website

[SOLVED] Moving Home from root to /home partition

The subject says what I am going to do.
I am looking for the best way to do this without reinstalling.
I have existing .files that I want to move to the /home partition where home will be.

I am sure there are different ways to do this on Arch.
Just looking for some direction.

I created the partition already.

I assume I need to mount that and copy the home folder over.

What I am not sure about is what I do with the fstab file and have the user to use the new partition when I log into Arch.

If you need more info let me know.
Thanks

Last edited by MAYBL8 (2024-12-09 14:42:29)

Online

#2 2024-12-09 01:33:39

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,715

Re: [SOLVED] Moving Home from root to /home partition

Pretty simple. Log in as root, mount the partition somewhere temporary, move the dirs from /home, modify fstab to mount the partition to /home. Reboot.

Edit: disclaimers - this assumes no encryption and use of a filesystem that uses POSIX permissions.

Last edited by Scimmia (2024-12-09 01:36:08)

Offline

#3 2024-12-09 14:42:08

MAYBL8
Member
From: Florida USA
Registered: 2022-01-14
Posts: 386
Website

Re: [SOLVED] Moving Home from root to /home partition

I did what you said. But it is always the unsaid that gets you.
2 mistakes I made.
I copied the files to /home      but not  /home/username/
So I had to move the files to /home/username
Then username didn't have rights to the folder.
No big deal. Just a learning process.
Thanks

Online

#4 2024-12-09 14:54:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,715

Re: [SOLVED] Moving Home from root to /home partition

I said to move the dirs from /home, that would include the username dir and have the correct permissions already.

Offline

Board footer

Powered by FluxBB