#Is removing partition on root drive and expanding the root partition safe?

12 messages · Page 1 of 1 (latest)

still sky
#

Hi, so I have this structure on my root/NVMe drive:

nvme0n1     259:0    0 476,9G  0 disk
├─nvme0n1p1 259:1    0   128M  0 part
├─nvme0n1p2 259:2    0   100M  0 part /boot/efi
├─nvme0n1p3 259:3    0 293,4G  0 part
└─nvme0n1p4 259:4    0 183,3G  0 part /```

And I want to delete `/dev/nvme0n1p3` and therefore resize the root partition (`/dev/nvme0n1p4`) and was just wandering if that was safe and whether I have to use a GParted ISO for that.

Anybody knows? Thanks.
torn rapids
#

You can't remember resize partitions back up sectors only going going foward

#

So if root was p3 and p4 was the one you wanted to delete then sure

#

Don't quote me on this but if you really want to save that partition I'm pretty sure you can clone the partition on another drive that will hold all the data and then reformat your partitions the way you want them and then copy it back over

#

Never done it before but I don't see any problems that would occur in my head

still sky
#

i want to remove p3 and resize p4 (root partition)

#

not remove p4

gilded halo
#

If it's ext4 then you'll need to use an ISO with gparted

torn rapids
#

i dont think you understand me but if derp can walk you through a way to do it go for it

gilded halo
#

I'm pretty sure gparted let's you resize partitions like that, but maybe I'm wrong

torn rapids
#

never seen it like that across windows or linux