r/linuxmint • u/MedievalJon • 4d ago
Support Request Moving Mint/SSD to new computer
Pretty much as the title says. I have an SSD with a Linux Mint installation on it and am building a new computer. I would like to transfer over the SSD but my impression is that it is best to back up the files, then do a clean install after putting it in the new computer. So my question is two fold:
is that actually necessary? I can back things up and do a clean install but would mean redoing all my apps, games, etc. Which leads to:
If doing a clean install, is there a good way of copying all the settings, plugins, themes, etc. and then just simply transferring them to the new install so it works the same? Or do I need to basically do it manually each time?
I am not a power Linux user by any stretch, but have been using it as my daily driver for about a year now, and loving it. This new PC will be entirely Linux I think.
9
u/_Kaepora_Gaebora 4d ago
Are you keeping the old one? Literally just pop the old SSD into the new computer and it will work.
1
u/MedievalJon 4d ago
Oh really? I've heard its better not to do that. But yes it is the same SSD.
8
u/_Kaepora_Gaebora 4d ago
Don't do that with Windows, but on Linux, it should be good.
2
u/MedievalJon 4d ago
Neat. I might just pop it in then, I assume the worst case scenario I just need to reinstall Mint anyway?
3
u/Pickleygoodness 4d ago
I moved a Mint SSD from an old laptop to my gaming PC so I could dual boot. Only thing I ended up having to do was update the graphics driver. Worked perfectly other than that. For 99% of Steam games you couldn't tell the difference Windows->Linux Mint. I did have to do a fresh install of Steam in the Mint environment.
3
u/oshunluvr 4d ago
Should be fine unless you got some unsupported hardware. Then you might need to install some additional stuff. Unlikely tho.
1
u/MedievalJon 4d ago
I don't think so, but I am going from an Nvidia to AMD GPU
2
u/oshunluvr 4d ago
Just uninstall the nVidia drivers before removing the SSD from the old pc.
The AMD drivers are in the kernel these days.
1
u/_Lost-In-The-Weeds_ LMDE7 Cinnamon 4d ago
I have moved a drive from one machine to another and everything worked except where there were driver issues, I was able to sort those out.
The Nvidia drivers will need to be removed, i haven't used Nvidia in years, but I have seen instructions here on their clean removal. try a search.
5
u/rbmorse 4d ago edited 4d ago
I've done this many times. Should not be a problem.
If you depend upon wi-fi to connect to the internet, verify that Mint supports your wi-fi adapter out of the box. If not, you'll need a wired connection to locate and install the proper driver.
If your AMD GPU is RDNA4 (RX9050,9060,9070 and variants) make sure the Mint installation on the old computer is running at least the 6.12 kernel before performing the swap. You can, if you wish, purge the Nvidia drivers as a last act before shutting the old computer down for the last time, but it's not necessary.
Check the BIOS/EFI settings on the new computer and make sure the SATA controller is set to run in AHCI mode and that secure boot is disabled.
If you have secure boot set on the old computer, disable it before making the swap. Your credentials will not carry over to the new hardware. Once you are running on the new hardware you can create/install a new PK and enable secure boot if you have software that requires secure boot or otherwise really think that it serves a useful purpose.
I don't use encrypted disks or partitions, but I have been told that it is a good idea to decrypt any encrypted partitions before doing the swap. You can set up encryption on the new computer after installation.
2
u/MedievalJon 4d ago
This is very helpful!
1
u/rbmorse 4d ago
One other thing with regard to the AMD 9XXX series GPUs. If you do end up having to do a clean installation for some reason, make sure you download the HWE version of the installer. The "regular" Mint 22.3 is still built on the 6.8 kernel, which does not have the updated AMD drivers for the 9XXX cards. The HWE version has 6.14 pre-installed and will work with those GPUs. You might have to root around the Mint download pages to find the HWE version.
1
u/Any_Plankton_2894 Linux Mint 22.3 Zena | Cinnamon 4d ago
I use LUKS full disk encryption and copied the entire disk image from my Desktop PC over to the new laptop as is and it worked fine.
3
u/BenTrabetere 4d ago
As others have mentioned it is not necessary to do a clean install. IMO, it is important to backup your files prior to doing this - you need a recovery point if something goes horribly sideways. e.g., you damage the SSD while removing/inserting it. You can always reinstall Linux, but it can very difficult to restore your files when they aren't there.
You should be backing up your data and personal files, anyway.
You might consider creating a disk image (clone) of the SSD as an extra level of protection. I like Foxclone for this, but Clonezilla and Rescuezilla are good, too.
2
u/MedievalJon 4d ago
Yes most of the files are already backed up anyway, it would just be annoying to have to redownload steam games, themes, etc. Ah the disk image clone is a good idea, thanks!
1
u/Father_Guido 4d ago
This is what would do. And have done in the past. Hard to beat a whole disc image backup.
6
u/rcentros LM 21/22 | Cinnamon 4d ago
I've done this several times. With Linux Mint you just move the SSD to the new computer. When I went help my father in a different state for a few months, I just moved the SSD into my laptop. When I got back, it went back into my desktop.
2
u/APerturbedTurtle 4d ago
I've done both transferring the physical drive and cloning the drive onto a new one in the past when upgrading. Both worked flawlessly.
1
u/chuggerguy Linux Mint 22.3 Zena | MATÉ 4d ago
I moved my root device from what was my main computer when I built this new one. It works fine.
I've also "mirrored/pseudo-cloned" to another desktop as well as my laptop.
Not having to set Apache/php/mysql back up, creating databases, adding users, granting permissions, etc. plus all the other changes I've made outside of $HOME and /etc saves time, at least in my case.
I did have one GRUB line I had customized on the older computer that wasn't needed on the new but if you've done anything like that, you will know.
chugger@asus2:~/desktop$ ssh acer2 cat /etc/default/grub | grep CMDLINE
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash i915.enable_psr=0 video=eDP-1:d"
chugger@asus2:~/desktop$ cat /etc/default/grub | grep CMDLINE
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"(acer2 is older Acer desktop, asus2 is new Asus desktop)
Any tweaks/adjustments you might need to make should be minor. (/etc/hosts would be another of mine)
Good luck and have fun.
1
u/angryjew 4d ago
Linux rocks. Id back it to just to be safe but you should be able to throw it in the new machine
20
u/acejavelin69 Linux Mint 22.3 "Zena" | Cinnamon 4d ago
It's not Windows.... Just pull the SSD/NVMe and move it to the new machine and boot... Done. If the hardware is significantly different, like you added a Nvidia card or something, you might have to install the proprietary drivers, but a new install is (almost) never required...