0

I am trying to extend my Ubuntu storage. I am on a dual boot and have done all the steps except the one where we need to merge the partitions.

The reason I am not able to do that is the swap partition is in between the Ubuntu and the Unallocated partition. (Didn't probably realise when creating the dual boot partition)

Can anyone help me out?

Cheers!

My partitions screenshot

Serg
  • 808

1 Answers1

0

Including the unallocated space to the Ubuntu root partition would require 1) removing the swap partition, 2) moving the Ubuntu root partition to the front, then 3) expanding the Ubuntu root partition, optionally leaving some space to 4) create a new swap partition.

The problem here is 2). Moving a partition can be a lengthy process, and it may fail. The other operations are a matter of minutes.

Alternatively, you limit yourself to creating a data partition with a linux file system (most commonly ext4) in the allocated space, and use that partition as extra data storage. In Linux, any storage on different partitions can easily be made available from within the home directory of the user using symbolic links. Symbolic links for daily usage act and feel as regular folders. The user is not aware that, moving into these links, he/she may be redirected to a totally different place in the file system, even on different partition that can be on a different drive.

vanadium
  • 97,564