I created 2 partitions:
- Boot / Root (Namely
/). - Home (
/home).
I underestimated the size needed for the Boot / Root and only set it 25GB.
I now need to resize it.
I used LiveCD to run GParted and this is what I have:
Can anyone guide me how can I resize the partitions without loosing any data?
It seems I must delete the sdf2 partition completely which means data is lost.
Is there any other way to do it (I don't have anything besides the disks above)?
On worse case scenario I don't mind losing all data on /home but I want the system to work as before.
Please guide me and remember those are my first steps in the Linux World.
Thank You.
sdf5first will then allow you to resizesdf2, when that's done you should be able to drag the slider between them to makesdf1bigger at the expense ofsdf2. Worst case, these kinds of operations can take hours or even days depending on the amount of data needing to be moved. If you can deal with it, wiping the disk and re-doing everything may be the quickest option. – pzkpfw Jul 14 '17 at 20:53sdf5to the right won't allowsdf1to get bigger (This is what I thought at first, yet it seems not trivial). – Royi Jul 14 '17 at 21:20sdf5by moving its left border to the right by the amount you want to grow your root partition. Then do the same with the extended partition containersdf2that is enclosing your home partition, so that there is no more unassigned space left inside of it. After that, you can finally grow the root partitionsdf1by moving its right border to the right until all unpartitioned space is gone. – Byte Commander Jul 14 '17 at 21:22