1

Like the title says, I can't fill/expand my nvme0n1p5 with the unallocated space.

enter image description here

K7AAY
  • 17,202

1 Answers1

1

When you do not see the key icon, you can modify a partition. The corollary is, you can't modify partitions while in use (the key icon).

Show key icon

You need to modify the partitions from outside the system; a Ubuntu, Xubuntu, Kubuntu, Lubuntu, Ubuntu Budgie, et al., LiveUSB will suffice. Boot from the Live USB then launch gParted. <-- Click for more detail.

Space you expand into must be adjacent.

With gparted, you define a change, then click on the green check mark above the bar graph, under the word Partition, to commit the change.

Show the COMMIT check mark

Do you see the pending changes to /dev/nvme0n1p3 and /dev/nvme0n1p2 in the bottom pane? Those are waiting for you to click on the check mark to be actually made.

Changes queued up to be committed

Overlapping changes can't be made; you can't expand or move into space used by an existing partition, and must delete or shift that partition before its space becomes available. So, with gparted, often it's make a change-commit the change, make another change-commit the change; lather, rinse; repeat.

The gnome-disks GUI app, Disks, works differently; when you define a change, you also make it. I like gparted better because it's more difficult to make a change which loses your data (not impossible, mind you, just more difficult).

K7AAY
  • 17,202