I want to replace my current SSD with a smaller one, but keep my installed apps, games, and settings. Can I clone the Kubuntu installation, and what should I watch out for?
Can I move my Kubuntu install to another SSD without reinstalling everything?
Answers
Yes. Clonezilla can copy a Linux installation, and Rescuezilla is an option with a graphical interface. Boot the cloning tool from a USB stick rather than copying a running system, and back up anything you cannot afford to lose first.
The smaller destination is the tricky part. Check the tool's requirements and the sizes of all source partitions, not just the amount of space used. You may need to shrink filesystems and partitions before cloning, and some disk cloning methods will not accept a smaller target at all. Double check which drive is the source and which is the destination, because the destination will be overwritten.
Reply to this answer
With a smaller SSD, a fresh install may be less hassle than resizing and troubleshooting a clone. It means reinstalling apps and games, but you can back up your home directory and the configuration files you need from /etc first. Hidden directories in your home folder, such as ~/.local, can contain useful settings and data too.
c.847!mavlori:
That might be the simpler route for this move, even if setting everything up again takes longer.
Reply to this answer
Another route is to boot a live Linux USB and use GParted to copy partitions individually. You would need to account for every partition needed to boot, as well as resize things to fit. This gives you more control, but it is not necessarily a one click migration.
Afterward, check that the system boots from the new drive. Depending on how the copy was done, you may need to fix bootloader settings or references in /etc/fstab. Cloned partitions can also have duplicate UUIDs, so avoid leaving both copies connected until you have a plan for those identifiers.
Reply to this answer
dd can make a raw disk copy, but I would not use it for this particular move. A full disk copy does not fit on a smaller destination, even if most of the original disk is empty. It also gives you very little protection against choosing the wrong drive.
Reply to this answer
Add your answer
Answers are reviewed before publication.
c.371~plendari:
After the copy, try booting with the old drive disconnected. That helps avoid confusion if both drives have matching partition identifiers.