5

I tried to extend the disk space of /home with the unallocated space. I also refered to some solutions present online, but unable to follow. How I can merge the unallocated space with /home? enter image description here

3 Answers3

4

Before doing anything, BACKUP FIRST!

Boot to a Ubuntu Live DVD/USB flash, and start gparted.

In gparted, you can create/delete/move/resize partitions. (There is no such thing as merge). In your case, move is done by dragging whole partitions (or changing numerical values), and resize is done by dragging the partitions right-edge handle (or changing numerical values). Never resize NTFS partitions using gparted... always use Windows own Disk Management application.

To proceed, do the following (do these commands one at a time by clicking the apply checkmark after each command, don't stack commands):

1. move sda6 all the way left
2. move sda7 all the way left
3. move sda9 all the way left
4. move sda10 all the way left
5. resize sda10 maximum to the right

Once done, in terminal, type sudo fdisk -l (lower case L), or sudo gdisk -l /dev/sda (lower case L), and make sure that you don't have any partition alignment problems.

Questions? Problems? Let us know how you do. Cheers, Al

heynnema
  • 70,711
2

Based of the information provided by you-you have only one hard drive(/dev/sda) You need to make sure that /home which is 38.32 GB next(contiguos) to the unallocated(39.29) then only you can merge that 39.29 to the /home.

Please refer to gparted documentation to try that out.

Please remember you cannot edit your partition if the partition is currently being used. Perform the operation from a "live" disk or USB?

Ashu
  • 3,966
0

Based on your partition table you have 2 choices.
1) move your windows partitions towards the unallocated space as suggested by heynnema. This will take a long time to finish and has the potential to mess with your windows install.

2) create an ext4 partition from the unallocated space and create symbolic links. If you are using an encrypted home drive you can "extend" your home partition using this answer.

You might also set up a raid system (although I do not recommend this especially since both "volumes" are on the same disk.....)

I, personally, would use symbolic links (I am currently using symbolic links to link 3 HDD's together) or I would simply reinstall my system. This is due to the sheer amount of data that needs to be moved (nearly 450 gb) to move these partitions next to each other

Akisame
  • 3,313
  • 7
  • 32
  • 63
  • You make some good points, however... the two ntfs partitions that need to get moved are not Windows OS partitions, and, the actual amount of data to get moved is around 317G. And that's why my first instruction says backup. Cheers, Al – heynnema Oct 10 '16 at 14:17