Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 5
    This should be the selected answer. The selected answer doesn't mention that if there is a partition between your main filesystem and your free space, that you will have to remove it in order to extend your main fs, and then you'll have to recreate it after. Commented Mar 28, 2018 at 16:44
  • @NathanFiscaletti Indeed, the selected answer doesn't mention anything about removing partition (if it is between main fs and free space) but it does mention about moving it :) Commented Mar 1, 2019 at 15:17
  • Actually, Ubuntu has been fine with Swap files for years, so I'd get rid of the swap partition, get rid of the extended partition, and then extend the first primary partition to fill the disk. Commented Apr 26, 2019 at 14:14
  • @leosh How do you extend the data partition? Commented Dec 31, 2020 at 10:57
  • @Nubcake In gparted, rightclick the partition and choose Resize/Move. Commented Jan 4, 2021 at 7:07