Score:0

How can I increase the available space for the system in Ubuntu?

ne flag

enter image description here

I have 34.4 GB of free space available, and I want to allocate this space to /dev/sdb5 in a usable way.

waltinator avatar
it flag
Boot from your install medium in "Try Ubuntu" mode. One cannot manipulate a disk's partitions while any one of the disk's partitions is mounted.
vanadium avatar
cn flag
As you also may notice, you will have to move sda4 and sda5 to the front, before being able to expand sda5 into the free space. Moving partitions can be a slow process though and may fail. Make sure your backup is up to date before undertaking this.
raj avatar
cn flag
raj
@vanadium There is no "sda" but "sdb" :) and from the sector numbers in the listing it looks that the partition order is as follows: sdb1-sdb2-sdb3-free space (416M)-sdb6-sdb7-free space (34,4G)-sdb5-sdb4-free space(1,6M). So he needs only to move sdb5 back into the free space and expand it.
Score:0
cn flag
raj

That space seems to be located just before /dev/sdb5 (from your listing, /dev/sdb5 occupies sectors 395622400 to 467822591, and free space is from 323422208 to 395622399), so it should be possible to use it to extend /dev/sdb5.

You should be able to do it by booting from a live Ubuntu media and using GParted program in the live session to move and extend partition.

Of course it is advised to first backup all your important data from that partition to some external drive, in case anything goes wrong.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.