Score:0

Can’t extend GParted partition with unallocated space

iq flag
Flo

I am trying to resize my /dev/sda5

Partitions view

However I am unable to expand it. I am on a VirtualBox with Ubuntu on it and I have followed : https://www.howtogeek.com/124622/how-to-enlarge-a-virtual-machines-disk-in-virtualbox-or-vmware/

  • I have resized my Ubuntu.vdi in virtualbox
  • I have used the command line :

VBoxManage modifymedium disk “C:\Users\Flo\VirtualBox VMs\Ubuntu 20.04\Ubuntu 20.04.vdi” --resize 81920

Once GParted is booted, I can't enlarge my partition

VirtualBox configuration

How can I extend sda5 ? Thank you in advance for your answers

PonJar avatar
in flag
/dev/sda5 is inside /dev/sda2. You need to expand sda2 first, then you will be able to expand sda5. You cannot do this without booting into a live environment. Download the GParted iso, add a virtual CD drive if you don’t have one, insert the iso in the CD drive and boot it. Then resize as above
Flo avatar
iq flag
Flo
@PonJar Thank you it worked !
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.