LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how can I move my /home to anohther partition ? (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-move-my-home-to-anohther-partition-265234/)

linjia 12-11-2004 10:51 AM

how can I move my /home to anohther partition ?
 
When installing my debian,I have only one partition mounted as root.Now I wan't to asign a single partition to my /home ,how can I managed to do it?I have modified my /etc/fstab,but it didn't work .thanks !

jcspray 12-11-2004 11:07 AM

You'll need to use a partition editor of your choice (fdisk? parted?) to create a new partition to use as /home. Then, you'll need to create a filesystem (ext3? reiserfs?) on that partition (mkfs.[ext3|reiserfs]?). Mount this at some temporary mount point. Copy everything from /home/ onto it. Then edit /etc/fstab to set this new partition to be mounted as /home.


All times are GMT -5. The time now is 05:45 PM.