Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: home into a different partition from OS

  1. #21
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: home into a different partition from OS

    Anytime you edit fstab, you should run this:
    sudo mount -a

    If it just returns then your edits are ok, but if an error you must fix it before rebooting or you will have issues.

    Post this, just so we can confirm UUIDs:
    sudo blkid -c /dev/null -o list

    I was asking what step you were at. And wanted to make sure you did not think that was the final mount of your /home.
    Ubuntu used to automatically mount (unmounted) partitions when clicked on at /media/UUID or label so that was a default mount. But they changed to use /media/$USER/UUID or label.
    Had not reviewed instructions & now see that you run a command to mkdir /media/home so it is ok and not expecting a default mount location.

    Have you copied data yet?
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  2. #22
    Join Date
    Mar 2017
    Beans
    52

    Re: home into a different partition from OS

    1. I neither copied data nor saved the fstab.

    2. 'sudo mount -a'
    just returns, so I assume it is ok


    3. 'sudo blkid -c /dev/null -o list'
    as below


    Code:
    pagno@pagno:~$ sudo blkid -c /dev/null -o listdevice     fs_type label    mount point    UUID
    -------------------------------------------------------------------------------
    /dev/sda1  vfat             /boot/efi      A03B-ACCF
    /dev/sda2  ext4             /              92bfc2f1-ea36-4bf4-a078-0e3ed2f53832
    /dev/sda3  swap             [SWAP]         48177c93-6a2e-42dd-9429-6e6d4d4f7807
    /dev/sda4  ext4             (not mounted)  4fa2612b-5e28-4852-8121-56a0cc837c89
    Last edited by pagno2; September 12th, 2017 at 04:28 PM.

  3. #23
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: home into a different partition from OS

    Then mount is ok and UUIDs match.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #24
    Join Date
    Mar 2017
    Beans
    52

    Re: home into a different partition from OS

    Ok
    indeed I now see the free data partition.
    Now I have to relocate home to that partition, don't I?
    Is the following code the one I'm supposed to add to the last line of fastb?
    Code:
    # (identifier)  (location, sda4)   (format, ext4)      (some settings) 
    UUID=4fa2612b-5e28-4852-8121-56a0cc837c89   /media/home    ext4          defaults       0       2

  5. #25
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: home into a different partition from OS

    I thought you already added that to fstab.
    That is why the check to confirm it was ok with sudo mount -a command.

    Once mounted then you can copy data.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #26
    Join Date
    Mar 2017
    Beans
    52

    Re: home into a different partition from OS

    Not working
    code added must e wrong, this is what happens after sudo -H gedit /etc/fstab

    Code:
    pagno@pagno:~$ sudo -H gedit /etc/fstab[sudo] password for pagno: 
    
    
    (gedit:4523): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
    
    
    ** (gedit:4523): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
    
    
    ** (gedit:4523): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

  7. #27
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: home into a different partition from OS

    I also get various error messages but it works.
    If not able to update using sudo -H gedit, try this.
    sudo nano /etc/fstab

    That requires you to use arrow keys to move to where you want to edit.
    Terminal type paste with control, shift, v all at once works to paste.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #28
    Join Date
    Mar 2017
    Beans
    52

    Re: home into a different partition from OS

    I did it. Not working.
    Home is still where it was as when checking properties of documents in home it shows the capacity of the OS partition and not the 900 and some GA of the free space partition.
    Are you sure the code I added to fstab (last two lines) is good? It doesn't look like good to me
    GA
    Code:
    # (identifier)  (location, sda4)   (format, ext4)      (some settings) 
    UUID=4fa2612b-5e28-4852-8121-56a0cc837c89   /media/home    ext4          defaults       0       2

  9. #29
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: home into a different partition from OS

    That is not yet your /home, it is the partition you copy data from /home that is currently inside your / Partiiton.
    Does this not show any errors?
    sudo mount -a

    You still are at the beginning of the copy to new /home process, go back to link and look at all the steps again.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #30
    Join Date
    Mar 2017
    Beans
    52

    Re: home into a different partition from OS

    1. things went south when I followed the last step, that is deleting old home.
    2. 'sudo mount -a' never showed any error but ...
    Now I have no access to the PC after PW login.
    Suppose I have to reinstall OS in the dedicated partition an go back to the start.
    GA

Page 3 of 4 FirstFirst 1234 LastLast

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
  •