0

The root partition space in my Ubuntu 18.04 LTS is almost exhausted, so I want to extend this partition. This is a picture from :Gparted output. I want to merge the /dev/sda8 partition with the unallocated space preceding it. I used sudo resize2fs /dev/sda8, and it gave

resize2fs 1.44.1 (24-Mar-2018)
The filesystem is already 4941312 (4k) blocks long.  Nothing to do!

I was following this link. But it is not working. Is there any way of achieving what I want to do without using a live Gparted session? And also, is it absolutely necessary to have swap space adjacent to /?

Ricky
  • 101

1 Answers1

0

I'm an amateur, but after having used gparted about 200times in the past 20 years i noticed that you don't have a swap partition instead. I always made a swap partition in between before i started to install anything. I wonder where these 9.82 GiBs unallocated came from, i always had about a few MiBs only in between. Also i noticed that you seem to have a 64-Bit-PC with an EFI partition. In 3rd i noticed that the other mentioned one by link had an extended Partition with the flag lba. - PS: I never found out if that flag is necessary or not. Wkr, P.

Pongy
  • 1