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

  • hackris@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    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 :)

  • d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    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 your grub.cfg and check the initrd 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.

  • trompete [he/him]@hexbear.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    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.

  • potpie@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    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.

      • entropicdrift@lemmy.sdf.org
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        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.

        • mustardman@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          amdgpu is distinctly separate from Mesa. Some distos have additional Mesa packages that also need to be instealled, now that you mention it.

          • entropicdrift@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            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.