Hi all, I’m switching motherboards. No dGPU. Going from an Intel MB to an AMD one. I have my root partition on an nvme and the home one on a 2.5" sata. Do I need to reinstall, or can I just move the drives from the old MB to the new one without a problem? Figured since both Intel and AMD drivers are both baked into the kernel out of the box, wouldn’t it just work and I’ll only need to remove the Intel stuff? I’m running good ole endeavourOS with KDE Plasma if that makes any difference. Any insight is much appreciated
Intel and amd are compatible because they are both the same architecture. The only times you would need to reinstall is if the architecture changes; eg, 32-bit to 64-bit or you started using an arm based processor.
Got it. Thank you so much.
You may potentially need to edit your kernel boot parameters in grub or w/e bootloader you’re using, in case you’re early-loading any CPU microcode. For instance, if you’re loading your Intel microcode via GRUB, you may need to run
grub-mkconfig
from a chroot (or your old system, if it’s still accessible), or edit yourgrub.cfg
and check theinitrd
parameter. But if you’re late-loading microcode then you don’t need to worry about it (although late-loading is discouraged and will taint the kernel).Best to check your distro’s documentation on how to update the initrd / microcode.
I have not made any special changes to the kernel parameters. Everything is stock. Only thing I did is hide grub menu from etc/default/grub. That’s all.
No need to change anything, it will just work.
Microcode and iGPU drivers.
iGPU drivers should both be in Mesa, so no change needed by the user. Microcode it’d depend on the distro but most should support both out of the box.
amdgpu is distinctly separate from Mesa. Some distos have additional Mesa packages that also need to be instealled, now that you mention it.
amdgpu is a kernel module. Nearly every distro includes it in their kernel by default. Unless OP rolled their own kernel, they should already have it. If they start up their machine with an AMD graphics card of any kind they most likely shouldn’t need to install or configure anything.
You’re right about amdgpu, my mistake. On arch systems individual Mesa components need to be installed though, like the specific Vulkan modules to be used (amdvlk or RADV).
I just did this a couple weeks back. Absolutely no issues of any kind.
Just make sure to install
amd-ucode
Reinstalling is only needed when the old and new CPU differ in architecture. Since these two don’t, you don’t have to reinstall, just make sure you install the
amd-ucode
package :)Just installed the AMD-ucode. Thank you
Happy to help!
Sure there are edge cases and whatnot, but just go ahead and move the drive over. If it doesn’t work I’ll buy you a beer.
❤️ 🍻
I upgraded my girlfriends PC grom a i7-4770 too a Ryzen 2600 and just moved the drive without any problems.
I don’t needed to update or change anything. Only needed to select the drive in the bios.
Should just work. No need to reinstall. You are correct in thinking that all the drivers are included, and furthermore, the drivers on Linux are typically loaded automatically when the hardware is detected on every boot, and this is not configured anywhere in a file or anything like that.
Usually, anyway. In theory it’s possible that you manually (or some tool) hardcoded drivers somewhere, like in xorg.conf, but I’m willing to bet that isn’t the case.
Tanget: Is it possible to skip this detection step for a faster boot?
I think you can regenerate your initramfs image to only include your currently loaded modules instead of all modules, which should speed things up a bit.
https://elundivided.wordpress.com/2020/01/23/faster-boot-with-trimmed-initramfs/
As you’ve read from the comments it will work just fine.
On the other hand I’ve never done this major of a hardware change without a reinstall. I’d always be concerned if something is wiggy if it was some ghost in the machine from the previous install.
Now I also work in enterprise level IT so even my home stuff is a fairly automated install process with ansible and the like. Then again a lot of it is also virtual so take this with a grain of salt.
I actually did run into some of those “ghosts”. Lol Nothing major, though. I’ve been thinking of doing a complete clean install anyway since I haven’t done it in a very long time. Like, I want to even nuke my home partition and redo the whole thing.
It will work, but swap the microcode afterwards.
What’s the microcode? A driver?
On Arch, the package names are amd-ucode and intel-ucode
It can be used to fix exploits like the infamous Spectre and Meltdown.
Thank you
It’s a firmware blob. It’ll manifest as a package you have available in the repos usually.
Found it as AMD-ucode
deleted by creator
MB is a gigabyte one. I’ll do what I can to remove all the Intel stuff. I mean, if it comes to it, I can easily reinstall. My home partition is separate on its own drive, so a reinstall shouldn’t be an issue aside from reinstalling my apps back.
You can use Timeshift to backup your apps + configuration and restore after install. Honestly it’s what I would do if plug n’ play doesn’t work.
Already got that covered with snapshots. I didn’t know I can restore those snapshots on another system. Is it an easy process? Like just move the time shift folders to the new system and restore from the app?
From what Timeshift tells me, yes. Just restore it on another system; however, I’ve never done it myself. I don’t see how it wouldn’t work though, as long as your not also switching distros.