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.

  • monovergent@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    5 days ago

    Linux: no, but not necessarily plug-and-play. My daily-driver install is literally pre-configured on a VM and cloned to all of my machines with various motherboards. Nvidia complications aside, a default Linux install will contain nearly every driver you could ever need to get up and running. However, some motherboards do need you to chroot from a live environment and make it “aware” of the existing GRUB bootloader.

    Windows: At best, you’ll need to reactivate. More often, it’ll be missing a driver or just not work as well as it did on the old motherboard. It’s better to reinstall Windows.

    Will admit that I’m very biased against reinstalling Linux anew except as a last resort since it’s a painstaking days-long process to configure things just right for my picky tastes.

    • DonutsRMeh@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      5 days ago

      That’s pretty awesome that you can actually take a VM and make it an actual OS. I seriously need to learn how to do that. Also, the only thing I was mostly told is that the new motherboard might not know where the boot partition is, so like you said, I may need to chroot and let it know where it is. I have been told that it is just

      sudo pacman -S grub
      

      and

      sudo grub-mkconfig -o /boot/grub/grub.cfg
      

      . And I’m not sure if that is it or if there is something else I may need to run. I have moved an SSD from PC to another before and it was plug-n-play. Like it just booted right away into the system. So not sure. I’ll see what happens.

      • monovergent@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        17 hours ago

        Saw the followup post, glad to hear its all running well. I created my VM using virt-manager with a raw disk image and UEFI firmware rather than the default qcow2 format with BIOS. I keep the image size down to 32 GB to save time when imaging. Install proceeds as usual, make sure fstab mounts disks by UUID, Debian does by default in my case. When everything is configured, dd the raw disk image over to the target disk, do the rituals to make it bootable, and consider configuring new partition UUIDs.

        • DonutsRMeh@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          13 hours ago

          Thank you. And man, I so want to do this. Is there a tutorial that you know of that is good? I don’t even know what to search for, to be honest. I do want to build an image and work on it for a little while and then when I feel that it is ready, I want to install it on my pc. So basically, I want to reinstall my Cachy OS system, but I don’t want to start from scratch. I want to build it in a VM, and add all of my apps to it and configure everything until it is a 100% match of my current system. Without any of my personal files because for that, I have a dejadup back up that I’ll just restore to the new install.