I bought a new ssd that is way faster and larger than my current one. What is the best way to transfer everything from my old drive to my new one. Currently running Fedora 38, fine with the command line. If nothing else I will just do a clean install on the new drive and copy over what I need from /home on the old drive.
It depends on what partitions are there. Boot partitions and other gpt/uefi stuff likely needs to be cloned exactly. For my system, the root partition uses lvm2 so I can just attach a new drive, add it to the group and migrate the extents over. This makes it easy to move data live without needing to unmount the main partition. The uefi/boot stuff usually is easy to unmount without worrying about what is running.