Hi,
I have a 1 TB SSD installed and want to switch to a 2TB SSD.
I copied the disk with “dd”.
The newly copied disk had a 1TB unused space.
I have an encrypted disk, so my main partition and my Swap partition are encrypted.
Disk layout of my new 2 TB disk
EFI - 930 TB encrypted partition - 40 GB encrypted Swap - 1 TB unused.
To use the unused 1TB on my new disk, I wanted to expand the 930 TB partition.
Unfortunately, this is not possible with Gparted or fdisk.
I tried everything, but it didn’t work.
I would be really grateful, if somebody could explain to me how this works. My son, who uses Linux for years, could help me either.
plain luks encryption with several partitions
or luks on lvm
or lvm on luks
lsblk -f
should help to clarify that
look for (for example): Arch luks resize
or similar search terms
I’d not have cloned the disk, but rather made new (encrypted) partition(s) on the new disk, with the correct size to begin with
and then simply copied the contents
and then adapted /etc/fstab and /etc/default/grub and one or two other files (/etc/crypttab could be one such)
The last two points @linux-aarhus made above describe the process -
the others are precautions, so you still have your data when something goes wrong,
but I assume you also still have the original as a backup.
Please use the formatting option of the editor window you used to past this into: </> (preformatted text).
I have done it for you now.
don’t take it personal, but:
Everyone is a beginner at the beginning and I’m not going to give step by step instructions.
No need.
Especially when you have the clone already and just need to follow what @linux-aarhus described.
Assuming you have not wiped the original disk - only duplicated the content to another bigger disk.
We are all beginners with something - but that something started easy (marriage and children excluded) and expanded our knowledge.
You are jumping in deep in freezing cold and expect to swim 1000m.
The process seems simple from a beginners perspective - but I can assure you it is not.
Even an old fox needs to think carefully before venturing into such task - and doing so by proxy (the forum) is next to impossible.
So I accept the fact that you would like handholding - I am sorry - I cannot do that.
What I can offer you is a prepaid consulting assistance and then perhaps I can do it remotely using Teamviewer. Such consultancy is €100/hour.
//EDIT:
I don’t think I would ever consider doing as you suggest, it would be easier to install fresh onto the new disk - then copy the relevant data from the old disk.
Another simple solution would be to create a /DATA partition in the unused space on the new disk and use that for more “static” data i.e. archiving, media you generally just add to but don’t edit or replace, etc.
Thanks for all your replies. I think I follow @linux-aarhus suggestion and fresh install Manjaro and then copy my data. I hoped there would be a faster solution.