0

I don't seem to be able to figure out how to extend the disk space on Ubuntu 16.

Currently I'm stuck with this situation:

GParted screenshot

I want to extend the /dev/sda6 with the unallocated memory above it which I just shrunk from Windows itself. I know this question has been asked multiple times but none seem to help me out. What's the smartest way to do this?

Another option is to just be able to use multiple partitions in Ubuntu, I don't know how.

David Foerster
  • 36,264
  • 56
  • 94
  • 147

1 Answers1

0

Short answer...


First backup any important data from sda6!

Data loss or data corruption is possible.


  • boot to the Ubuntu Live DVD/USB
  • start gparted
  • right-click on sda6 and select move/resize
  • hover the cursor over sda6 and it'll turn into a hand
  • move (drag) the entire sda6 partition all the way to the left
  • hover the cursor over the right edge of sda6 and it'll turn into an arrow
  • resize the partition all the way to the right
  • click the Apply icon
heynnema
  • 70,711
  • If my answer was helpful, please vote by clicking the grey up-arrow icon in the upper-left of my answer, and accept my answer by clicking the grey checkmark icon in the upper-left of my answer. Thanks! – heynnema Mar 06 '17 at 17:21
  • Thank you for the answer, but will it still be able to boot? as the boot location is being changed or will be changed – JonasAnon Mar 06 '17 at 17:37
  • In my experience, Windows is the only OS that sometimes fails to boot after moving partitions. The sda6 move is fairly easy and straight-forward. – heynnema Mar 06 '17 at 17:39
  • Now that the partition is bigger, use resize2fs to increase the size of the filesystem so you can use the space. – ubfan1 Mar 06 '17 at 17:54
  • @ubfan1 resize2fs is not needed to resize sda6. – heynnema Mar 06 '17 at 18:43