To add to what Ralph said, if the disk uses GUID Partition Table (GPT)
then after the clone the backup GPT - which was at the end of the
original disk - will now be in the middle. GParted should detect and fix
this automatically, otherwise gdisk can do it.
You could use Clonezilla instead of dd, which is designed for the task,
although you'll still have to expand the partition with something like
GParted afterwards.
https://clonezilla.org/
Clonezilla is faster as it only clones areas of the filesystems which
actually contain data, but that probably doesn't matter for a one-off clone.
--
Andrew.
--
Next meeting: Online, Jitsi, Tuesday, 2023-11-07 20:00
Check to whom you are replying
Meetings, mailing list, IRC, ... http://dorset.lug.org.uk
New thread, don't hijack: mailto:dorset@mailman.lug.org.uk