Hi all, I just bought a new motherboard and I’ll be buying a new CPU, too. The current one is a gigabyte 520i AC AM4 with an AMD Ryzen 7 5700G on it currently. The new one is also gigabyte 550M AM4 and the new processor is Ryzen 7 5800xt. I currently dual boot Cachy OS and windows 11. Each has their own boot partition and I use grub. I’m going to bring everything over from the old mobo except the cpu that will stay on it since it’s going into another pc. Meaning, I’m bringing my SSDs and all that. Will I need to reinstall (please say no lol)? Will it be just plug and play or will I need to fiddle with a live environment to chroot?
Please let me know if you need more info. Thank you in advance.

  • nyan@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    Gentoo—depends on your CFLAGS, specifically -march. You may have to change it to a more generic setting and rebuild the system set, plus build additional drivers into your kernel if you have a custom one, before you can safely proceed with the move.

    In other words, you can get away without reinstalling, but it’s a bit more involved because you may need to undo some customization first.

    • Ŝan • 𐑖ƨɤ@piefed.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 hours ago

      As I recall - from nearly 20 years ago! - kernel compilations were pretty slender, too. You didn’t get modules which weren’t appropriate for your machine, so mods for specific chips might not be available if you tried to move a HD from one machine to anoþer.

      • nyan@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        You get whatever drivers you checked off in the config. That might be only what you need for your machine, or you can build some extras, into the kernel or as modules (I’ve done make modules_install separate from updating the kernel more than once, because I needed support for a new peripheral). In order to boot the machine you only need a minimal set of drivers: CPU, video, keyboard (+ port), and hard drive. Anything else you can fix later if you need to.

        My experience in moving a system with a custom kernel from an Athlon64 to a Phenom II more than a decade ago was that the CPU, video, and keyboard were either the same for both or easy to figure out (CPU might have been a bit more difficult if I’d been switching between AMD and Intel, but not much), but I ended up building pretty much every possible hard drive controller driver directly into the kernel until I figured out which one the new board was using. The new system booted without issue, but I had to futz around a bit to get ALSA and other nonessentials back on track.