46
submitted 10 months ago by Gush@lemmy.ml to c/linux@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] zazaserty@discuss.tchncs.de 18 points 10 months ago

Just move the boot to the left and merge

[-] Gush@lemmy.ml 9 points 10 months ago
[-] InverseParallax@lemmy.world 13 points 10 months ago
[-] Mythnubb@lemm.ee 10 points 10 months ago

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.

[-] Gush@lemmy.ml 3 points 10 months ago

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

[-] skullgiver@popplesburger.hilciferous.nl 3 points 10 months ago* (last edited 7 months ago)

[This comment has been deleted by an automated system]

[-] Gush@lemmy.ml 2 points 10 months ago

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

[-] n2burns@lemmy.ca 4 points 10 months ago

Just to add to what @skullgiver@popplesburger.hilciferous.nl said, in case you break Grub, you might want to use Boot Repair on the live disk or something similar. Then you don't have to deal with the terminal commands people have suggested to you.

[-] skullgiver@popplesburger.hilciferous.nl 2 points 10 months ago* (last edited 7 months ago)

[This comment has been deleted by an automated system]

[-] Gush@lemmy.ml 1 points 10 months ago

Yeah i already know that

[-] n2burns@lemmy.ca 1 points 10 months ago

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!

[-] InverseParallax@lemmy.world 1 points 10 months ago

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.

[-] Frederic@beehaw.org 9 points 10 months ago

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

this post was submitted on 10 Sep 2023
46 points (97.9% liked)

Linux

45595 readers
676 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS