Results 1 to 6 of 6

Thread: Using a home folder on a different drive

  1. #1
    Join Date
    Apr 2007
    Beans
    Hidden!

    Using a home folder on a different drive

    I have a different /home folder on another drive and would like to use it on boot. I have set my home folder on a different drive so that I don't loose everything each time I do an new install, but how can I set my new install to use this /home folder.

  2. #2
    Join Date
    Sep 2007
    Location
    England
    Beans
    1,103

    Re: Using a home folder on a different drive

    edit /etc/fstab

    add entry
    Code:
    /dev/sdb1   /home   ext3   relatime   0  2
    obviously you need to alter to suit
    (change the h/s disk letter & partition num, also if it's not ext3 then change to suit)

    *edit*
    also, make sure this entry is below the main / entry

  3. #3
    Join Date
    Apr 2007
    Beans
    Hidden!

    Re: Using a home folder on a different drive

    Yes that worked thank you.
    Now when I do the new install do I manually select the home folder on the other dive during the install or do it the way you have just explained.

  4. #4

    Re: Using a home folder on a different drive

    using fstab automounts the home folder to the /dev/sdb1 drive

  5. #5
    Join Date
    Sep 2007
    Location
    England
    Beans
    1,103

    Re: Using a home folder on a different drive

    Quote Originally Posted by avanrens View Post
    Yes that worked thank you.
    Now when I do the new install do I manually select the home folder on the other dive during the install or do it the way you have just explained.
    you can either just do a guided install on the main partition and re-do the fstab entry,
    just as you've done now

    (you run a risk of losing some config settings setup by the ubuntu installer if you do this
    especially if you're installing a new distro version and then setting the home partition to that created by a previous version)

    or, when installing, choose the "manual" partition option
    (I'd recomend this, as I beleive it's safer)

    choose to format your existing root partition
    mount point = /

    choose NOT to format your home partition
    mount point = /home










  6. #6
    Join Date
    Apr 2007
    Beans
    Hidden!

    Re: Using a home folder on a different drive

    Thank you so much for that, I thought that was the way to do it but was not absolutely sure. Thanks again.


Bookmarks

Posting Permissions

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