can not extend /dev/sda6 (ext4 /) with gparted

This is the image of my gparted in ubuntu I give dual boot in my computer with ubuntu and windows10. Now I want to keep ubuntu only. So, following some different articles I find I can't expand the Ubuntu partition to take up the space freed by removing the Windows partition. I tried to do the things providing in this link: How to extend ext4 with gparted? but nothing seems to be working.

Nmath avatar
ng flag
Edit your question and include more details about the current state of your partitions. We can't advise what to when we don't know what you are working with. Include a screenshot of gparted if necessary. You should also provide more details about exactly what you've tried and why it didn't work for you. Similarly, we can't advise on if you're doing the right thing if you don't tell us what you're doing.
SAFIQUL ISLAM UZZAL 203-15-144 avatar
I added an image..please check
Nmath avatar
ng flag
There is only 63 MB of unallocated space. It looks like you never removed any Windows partition(s). Also it looks like the Windows partitions precede the Ubuntu partition which will make it difficult to add that space to your Ubuntu partition. My recommendation is to make sure your backups are in order, then use the live session to format (erase) the entire disk and then you can cleanly install Ubuntu to the empty disk.
mook765 avatar
cn flag
You need unallocated space adjecant to the partition you want to grow.

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.