Results 1 to 5 of 5

Thread: Fresh install to a new partition, how to get /home on old partition active/mounted?

  1. #1
    Join Date
    Jan 2009
    Beans
    159

    Fresh install to a new partition, how to get /home on old partition active/mounted?

    OK, it's been a lomg day of working on the wife's PC, so forgive any stupidity in my questions.

    This morning, her Kubuntu 12.4 pc would not boot, after several hours of fruitless troubleshooting the problem I decided to do a new install.

    I have created a new 90gig partition on her drive and installed a fresh copy of Kubuntu 12.4 which I am working in now.
    Her old data and /home folder are still safe in a 350gig partition on the same drive.
    My goal is to get her old /home on the old partiton to become a seperate /home partition, and then to remove all the unneeded files from the old OS install.
    Any pointers to novice level How-To's or suggestions on the best way to get this done would be appriciated. Time for a smoke break....

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Fresh install to a new partition, how to get /home on old partition active/mounte

    I do not know how to houseclean an old install to make it just /home. It would entail removing all the system files and promoting /home/$USER to the top level or root of the partition.

    If you want to move to a new partition. Also shows how to edit to make new partition your /home in fstab.

    To move /home uses rsync
    https://help.ubuntu.com/community/Pa...ng/Home/Moving

    When you have all your data in a separate /home you will find your / is pretty small. I just moved all data but not hidden settings, but also some hidden folders with data to a data partition. Then my /home without any data is less than 1GB and my full install is about 7GB with lots of apps installed. I use a 25GB / (root) partition.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Jan 2009
    Beans
    159

    Re: Fresh install to a new partition, how to get /home on old partition active/mounte

    Thanks Fred,
    I was using the document you linked to, went thru all the relevant steps and got the error Cannot enter home directory. Using /. when I tried to log back in after rebooting.
    I used the Install disk to get back into the system and re-edit the fstab to remove the mount for /home and swap back old_home to home so I can get back into the system again.
    I'm guessing it was a permissons error on the /home/Kelley directory so I'm doing a chown to the 'new Kelley' and will be trying again shortly.

    All the other files have been deleted from the old partition but the /home directory. What did you mean by "promoting it" to the top level? That's where it currently sits, so I'm a bit confused. Should the folder /home be in the home partition or should the top levels be the $user folders?

    Thanks,
    Eric

  4. #4
    Join Date
    Jan 2009
    Beans
    159

    Re: Fresh install to a new partition, how to get /home on old partition active/mounte

    YES YES YES!!!
    Well, that was my problem, I had /home inside of the /home partition. A sudo mv kelley .. took care of the problem and life is good again!

    Thanks Fred!

  5. #5
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Fresh install to a new partition, how to get /home on old partition active/mounte

    Glad it worked.

    If you have permission issues:

    .dmrc errors- drs305
    http://ubuntuforums.org/showthread.php?p=6161267
    .ICEauthority errors
    http://ubuntuforums.org/showthread.php?t=1590835
    chmod 755 /home/username
    sudo chown $USER:$USER /home/username/.ICEauthority
    sudo chmod 644 /home/username/.ICEauthority
    sudo chmod 644 $HOME/.ICEauthority
    look at the permissions on ~/.Xauthority, too. It often gets changed when ~/.ICEauthority gets changed. The same fix applies.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







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
  •