Score:0

I cannot extend my partition into unallocated space

cn flag

I have a dual booted Windows with Ubuntu. I want to extend my Storage of /dev/nvme0n1p5 (my Ubuntu partition) into the unallocated space with GParted. I cannot seem to be able to extend into the empty space ( I also tried from Windows Disk Management)

Screenshot of GParted

ChanganAuto avatar
us flag
Does this answer your question? [How to resize partitions?](https://askubuntu.com/questions/126153/how-to-resize-partitions)
oldfred avatar
cn flag
Little key icons show mounted partitions. You cannot edit mounted partitions, so have to use Ubuntu live installer which has gparted or use a gparted ISO based live flash drive. Since you have a fair amount of data, do not interrupt a move. You have to move left & then expand right. If you interrupt move, you lose all data, so have good backups. And alternative is to create a new partition make it /home & move /home into it. To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions https://help.ubuntu.com/community/Partitioning/Home/Moving
Score:1
it flag

The key icons beside 2 of your partitions indicates that they're "locked". Notice that they're mounted (on / and /boot/efi).

To avoid destroying the partition table of the /dev/nvme0n1 "disk", you cannot edit the partition table while any of its partitions is mounted.

To edit the partition table, boot a Live USB and run gparted from there . You cam easily find a Gparted Live USB on the internet.

If your disk is MBR, rather than GPT, you might have to shrink the primary partition (shrink /dev/nvme0n1p4 first).

Will avatar
id flag
And please please back up before you do it - you’re moving then extending your partition - there’s always a risk of losing everything! Back up the partitions you’re not hoping to change too.
Noah Böhme Rasmussen avatar
cn flag
Thank you for the answer! I installed gparted ISO Live and booted from a USB and then resized the partition just fine.
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.