How to merge unallocated partition with primary linux partition

Gush@lemmy.ml to Linux@lemmy.ml – 46 points –

I recently removed windows 10 from my pc, how can i merge the unallocated space with /dev/nvme0n1p5? There's the boot partition between so i can't just adjust one of them and merge with the other using the resize/move button. How can i do it?

27

You are viewing a single comment

Just move the boot to the left and merge

how can i do that?

Right click, resize/move.

To add on to this, don't click the handles on the boot block, click and drag the entire boot block itself. You'll be able to move the boot partition to the left, then you can extend your main partition.

i'll try this as soon as i have the time to flash the live iso. Btw i think i already tried it many times but it didn't work. I've even watched tutorials. It just does nothing

[This comment has been deleted by an automated system]

I moved the boot parition successfully but i'm afrad that it's gonna break my system somehow. Do i have to reinstall the grub? How? And by the way now that the two partitions are close together if i try to resize/move the "new Partition #1" i can't expand it nor move it anywhere, same thing with /dev/nvme0n1p5

2 more...

Yeah i already know that

2 more...

It shouldn't do "nothing". Once you press apply, it's possible you get error messages, but it shouldn't say it's complete and do nothing. That would be a big bug!

So, I've had it not work before, usually for odd reasons. One thing to try is to delete the other partition, then apply, then try to move it.

Resize/move is finicky though.

2 more...
2 more...

Boot on GParted ISO. Moving your boot may bork grub, so you would need to chroot and update it

2 more...
2 more...