Upgrading my laptop from 512GB to a 2TB. I would like some help in the resizing. Here is my plan. Laptop has a 2nd empty slot so I will use that to perform an image backup using a live disk and the dd command.
sudo dd if=/dev/nvme0n1 of=/dev/sdb bs=64K conv=noerror,sync status=progress
after which I will replace the 512GB slot1 drive with the 2TB,
I want to grow the vgkubuntu encrypted LVM ext4 partition to the max.
Can I resize using the live disk and KDE Part? What would the steps be?
Here is what my 512GB looks like at the moment.
Just want to add a quick desription on how I got it done (Always make full backups):
KDE Partition Manager (KDEPart) will resize an LVM/Luks Encrypted drive with a caveat.
After you “dd” to the new larger drive, boot your system with the new drive.
and launch KDEPart. The new space will not be seen by KDEPart so
for the easy fix (using gdisk) and an explanation by the dveloper, follow this link
Then, using KDEPart, resize the LVM (vgkubuntu) to whatever additional storage you need and click apply.
Then resize the file system partitions within vgkubuntu. In my case I just added more storage to the / partition. But you could also choose any other partition in vgkubuntu group including swap.