LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Moving /home to a new partition (https://www.linuxquestions.org/questions/linux-general-1/moving-home-to-a-new-partition-448236/)

jon_flanders 05-24-2006 07:25 PM

Moving /home to a new partition
 
I would like to move my /home to an empty unmounted partition. I am using the latest Mandriva software. The partition that /home is in is 92% full.

Right now my /home is in the / directory. If I use Mandriva's partition software and simply tell it to mount the empty partition at /home or even /home/jon, which is my personal directory, will the files be moved to the new partition safely without fouling anything up, leaving my / reduced in size?

haertig 05-24-2006 07:50 PM

Does your empty partition have a filesystem? You will need to create one if not. Then you need to COPY your /home over to the new partition. Rename your existing /home to /home.old or something like that. Then mount the new partition to /home. Once everything tests out as OK, you can delete /home.old, freeing up space on your / filesystem.

2damncommon 05-24-2006 08:38 PM

And, strangely, with almost the same title as your post.
Moving Home
An older article, but still good.


All times are GMT -5. The time now is 02:55 AM.