separate partition for home

Discussion in 'General Linux' started by enhu, Nov 13, 2011.

  1. enhu

    enhu New Member

    Messages:
    93
    Likes Received:
    4
    Trophy Points:
    0
    Will the /home partition be overwritten when you install another distro even when you first installed in separate a partition?


    say, you have currently installed ubuntu in your computer and the user's home is in another partition. but you change your mind and once again want to install new derivative but still use the /home as your home. will the files inside be overwritten?

    hope you understand this :D
  2. Rob

    Rob Administrator Staff Member

    Messages:
    573
    Likes Received:
    187
    Trophy Points:
    43
    it all depends on how you set up the partitioning for the new install. you can ignore the partition you're currently using as /home when you install a new os, then mount it as home after the fact..
  3. enhu

    enhu New Member

    Messages:
    93
    Likes Received:
    4
    Trophy Points:
    0
    I'll install mint RC 12 this time.
    ignoring it will create another home directory in the new OS, how do I set it to actually mount the home partition and not the directory?
  4. Rob

    Rob Administrator Staff Member

    Messages:
    573
    Likes Received:
    187
    Trophy Points:
    43
    After it boots, you can edit the /etc/fstab to specify where you want to mount it.. maybe take a picture of your current /etc/fstab so you can mimick it after the new install.
  5. akshaysulakhe

    akshaysulakhe New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    above method should work,but i dont think so it will get formatted even if u assign it at install time,m not sure about it though,if it says u need to format it,then simply exclude it from the list.Also dont change the type of Filesystem...and if there is so imp at home,just copy the data and later paste it,coz there will be problem with some files if u plan to change the distro or sometimes if u change a version...Hope this helps.. :)
  6. enhu

    enhu New Member

    Messages:
    93
    Likes Received:
    4
    Trophy Points:
    0
    yep. i did it. i exclude the /home during the installation.
    I didn't point the current users home to mount the /home partition as i can access it anyway after adding it in my fstab..

    what is the difference when adding the lists in fstab, is it better to use the UUID or simply just /dev/sda...?
  7. akshaysulakhe

    akshaysulakhe New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    UUID is global...i wud prefer that over the names like /devsda or whatever it is...its easier with some upgrades and all with uuid...
  8. Jesi

    Jesi New Member

    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    You can also edit /ect/passwd/ and change the home directory on a per user basis. This is great if you want several accounts to share the same settings or if you have changed your username since your previous install.

Share This Page