Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1494  / 3 Years ago, sat, june 19, 2021, 3:14:18

Currently my /home partition and / are on different disks (configured at install time). Can anyone guide me to move the /home directory to the disk where my / currently resides in?


More From » directory

 Answers
0

  1. Create a new folder /new_home.

  2. Use rsync to migrate all data from /home into /new_home. (See instructions at wiki)

  3. Edit fstab to remove the mount for /home/

  4. Unmount /home/

  5. Delete /home (This only deletes the empty folder)

  6. Rename new_home to home



You may need to resize your partitions to make space for your new home directory using gparted. Also gparted can help you reclaim space after moving home.



Reference: Moving home at Ubuntu Wiki


[#42741] Monday, June 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
luringdge

Total Points: 3
Total Questions: 126
Total Answers: 109

Location: India
Member since Sun, Feb 6, 2022
2 Years ago
;