Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010

    how do i shift /home to another partition

    is there a way to move /home to a seperate partition?
    also, i would like to know if the /home partition can be fat32 or ntfs.

  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    It's not a good idea to use FAT32 or NTFS filesystem for /home partition. If you are planning to share data between Windows OS and Linux, then create a separate NTFS partition for data sharing instead of using it as /home.

    Regarding new /home partition, follow these steps :

    * Create a new partition for /home.
    * Copy all the contents of /home to the new partition.
    find . -depth -print0 | cpio --null --sparse -pvd  <new_home_partition>
    * Edit /etc/fstab file and add a new entry for /home.
    /dev/<partition>   /home     <filesystem>  defaults  0  0
    * Reboot machine and if everything works fine on reboot, disable new /home partition ( edit /etc/fstab and out # sign before line for /home ). Reboot machine and delete all the contents of /home folder. You don't want to keep a copy of /home hidden inside of /.

    * Edit /etc/fstab file again to use new /home.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts