List of installed packages $ pacman -Qqen > pkglist.txt If you will not have access to the old system from the new system then backup up all the files that you want to copy over. Think about the configuration files from /etc and dotfiles in /home that you want to copy to the new system, as well as user data files. We define here a minimal configuration that carries over from the old to the new system which differentiates this approach from the Installation guide. In this case a new EFI system partition is needed. If you switch to a more recent mainboard with UEFI, it might be preferable or required to switch from "MBR boot code" booting to UEFI booting. from AMD to NVIDIA) change the graphics driver. If you changed the GPU to a GPU from another vendor (e.g. Intel to AMD), change the Microcode configuration. If you switch the CPU, to a CPU from another vendor (e.g. Did you enjoy my blog post? If you did and you want to show your appreciation, maybe click the coffee mug below and sponsor me a cup of coffee.Warning: For both approaches we have to account for differences between the old and hardware and change the installed drivers and configuration accordingly.īefore you begin, research aspects of the new hardware and make a list of differences. Most importantly, don't blame me if something goes wrong -) Buy me a coffee? Things might work differently on your system, so be careful and make sure The whole process, including writing this blog post, took me a little more than an hour.ĭisclaimer: operations like this always have the potential to screw things The additional capacity of the new SSD is displayed as unallocated space. Your partition and filesystem on the new disk. Everything should be running smoothly.I literally started writing the blog post on the old SSD and finish it on the Shutdown, unplug the old SSD, plugin the new SSD, reboot.The operation has completed successfully. OK writing new GUID partition table (GPT) to /dev/sdc. Have moved second header and partition table to correct location.įinal checks complete. Warning! Secondary header is placed too early on the disk! Do you want to Type device filename, or press to exit: /dev/sdcįound valid GPT with protective MBR using GPT. Run gdisk and its w to fix the partition table.Remember: device names might be different in your case. It's way faster and you get aĢ23GiB 0:29:23 100% (I needed to apt-get install pv first, though).
Using the dd command for that, but I discovered the pv command instead. 0/100/17/2 /dev/sdc disk 1TB CT1000MX500SSD1Īlright, in my case this means cloning from /dev/sda to /dev/sdc/ $ sudo lshw -class disk -class storage -short Here's the drill:īetter safe than sorry, check the device names of you disks. To my great surprise, this was almost too easy. Hence, I was dreading this a bit, given I had never tried this on a Linux Not necessarily the easiest thing (see my blog post) I went through the same process already a few times with Windows OS and it was The old SSD to new new one and be up and running again. The only acceptable solution would be to clone the contents of I got myself a 1 TB SSD but really wanted to avoid having to set up everythingįrom scratch again. Since I'm working from home and using another dedicated workĪccount on my Ubuntu system, data was accumulating and I reached the capacity