Results 1 to 8 of 8

Thread: How to Move Unallocated space into ~ /home

  1. #1
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    How to Move Unallocated space into ~ /home

    /sda5 is ~/home. In GParted, to /sda5's left is 65 gig of unallocated space on the hard drive.

    I tried expanding (in GParted terminology "resizing") the /sda5 to include the unallocated space, but the slider has nowhere to go.

    Is it possible to make the unallocated space a part of /sda5? If 'yes' how do I go about doing that?
    Attached Images Attached Images
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  2. #2
    Join Date
    Jun 2007
    Beans
    14,788

    Re: How to Move Unallocated space into ~ /home

    You can't resize a partition when it's in use. Boot a LiveUSB and then you can resize. Note that the partition is inside the extended partion (the teal box), so you'll have to make the extended partition bigger first.

  3. #3
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How to Move Unallocated space into ~ /home

    sda5 is a logical partition, located inside the sda4 extended partition. So, to use the unpartitioned space, you'll first have to grow the sda4 to use that space. After that, growing sda5 should be possible.

    Make sure you have proper backups, of course, as with any partition editing task...

  4. #4
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,821
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: How to Move Unallocated space into ~ /home

    Before you can grow sda4 you'll have to disable swap. Right click on sda6 and select swapoff (if I'm correct).

  5. #5
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to Move Unallocated space into ~ /home

    Quote Originally Posted by Temüjin View Post
    You can't resize a partition when it's in use. Boot a LiveUSB and then you can resize. Note that the partition is inside the extended partion (the teal box), so you'll have to make the extended partition bigger first.
    I'm the OP. That top post was in LiveUSB. The screenshot should convey that. Sorry for the confusion.

    I tried to do what is in these responses, before posting this. I turned 'swap' off, tried to resize - found nothing I could do, hence the OP.

    I forgot to say that /home is backed up.
    Attached Images Attached Images
    Last edited by Mark_in_Hollywood; February 16th, 2013 at 06:42 PM.
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  6. #6
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to Move Unallocated space into ~ /home

    Is there an advantage to running Deja-Dup from LiveUSB session? Deja made a backup of /home in the last 3 days, and anything newer than that isn't critically important.?

    I have my deja-duped backup on an external usb (320gig) drive. Current backup of /home take 50%.

    If I use Deja-Dup in LiveUSB session, will there be a permission problem on restoring /home to /sda5?

    I have mounted the external USB drive into /mnt. The filesystem calls it /sde1 (per GParted).
    Last edited by Mark_in_Hollywood; February 16th, 2013 at 07:09 PM.
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: How to Move Unallocated space into ~ /home

    Now you have moved swap in the way so you cannot do it. Your first post had swap after the /home, now it is between the unallocated and /home.

    You will have to delete swap. When you recreate it, it will have a new UUID so you will have to edit fstab. Moving partition should not change UUID, but be sure to have working liveCd and be prepared to reinstall grub if necessary.

    As posted above. You have to use liveCD, you have to right click and swap off. You have to expand extended partition left into unallocated, move /home left into unallocated and then expand /home right. You can only expand partitions right, not left, but you can with extended.

    GParted partitioning software - Full tutorial
    http://www.dedoimedo.com/computers/gparted.html
    Screenshots of using gparted
    http://www.howtoforge.com/partitioning_with_gparted
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to Move Unallocated space into ~ /home

    EVERYTHING A-OK

    I did have to run GRUB Recover - fsck (repair file system) I forgot the line entry on the GRUB Recovery screen, but after updating /sda3 the boot partition, all seems normal.


    Thank you Old Fred and everyone else supporting me through this demanding process.
    AMD FX-6300, 8gig ddr3, MSI 970 Gaming, 256G WD blue SSD, GeForce GT710, HP LJ Pro M277-fdw

Tags for this Thread

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
  •