63
submitted 3 weeks ago by DonutsRMeh@lemmy.world to c/linux@lemmy.ml

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.

top 50 comments
sorted by: hot top controversial new old
[-] Jumuta@sh.itjust.works 51 points 3 weeks ago

probably not, I move SSDs between computers all the time and linux always just works

very different story for windows installations though 🤮

[-] dorkage@lemmy.ca 4 points 3 weeks ago

I've honestly had a lot of luck booting a Windows SSD on different computers.

[-] DonutsRMeh@lemmy.world 2 points 3 weeks ago

I love your comment. So reassuring. Lol. I HAVE moved SSDs before where it was only Linux, in this case I'm worried about it because it's a dualboot

[-] INeedMana@piefed.zip 24 points 3 weeks ago

In general it shouldn't. You might need to install some new drivers for the new chipset but in itself the system should work. Especially since nowadays kernels are shipped with a lot of stuff and I'm guessing you're not compiling yours
Regarding messing up with live environment, I don't remember if GPT is enough for UEFI to load your bootloader or maybe you might need to install something in there

[-] Wfh@lemmy.zip 14 points 3 weeks ago

I moved my Fedora SSD from an Intel 8th gen laptop to an AMD Zen4 laptop with 0 issue and 0 config. So.... you're probably fine.

[-] DonutsRMeh@lemmy.world 2 points 3 weeks ago

I have before move SSDs and had no issues actually, now that you mentioned it. Lol. But this is a different case because I dualboot and I'm technically moving two OSs to a new mobo.

[-] aarch0x40@piefed.social 11 points 3 weeks ago

Reinstall shouldn't be required but you'll likely need to build a new initrd to ensure the boot process has the right drivers.

[-] DonutsRMeh@lemmy.world 3 points 3 weeks ago

Ok, that sounds a bit better. I'll need to learn the building of initrd. Off to searching. Thank you.

[-] Creat@discuss.tchncs.de 9 points 3 weeks ago* (last edited 3 weeks ago)

This is actually not even necessary. The systems are similar enough it'll just work. I have recently swapped an SSD from a laptop to a newer model with CachyOS, and that was more of a generational jump in terms of cpu and other hardware.

But CachyOS has a quirk. Linux systems specify which partitions are mounted to which directories in the /etc/fstab file. Unfortunately, the boot partition is specified using a device name and not a UUID. this is problematic when switching an SSD from a system to another as this may very well change device names. It did for me and I then had to rescue boot + chroot to fix it.

The fix, if done before, is trivial: edit the line for /boot in that file to start with UUID= (followed by the actual UUID of the partition) instead of with /dev/nvme0n1p1 or whatever the current device name is. Google should be able to tell you how to find the UUID of your boot partition.

FYI if you use partition types fstab and root= are no longer needed.

load more comments (1 replies)
load more comments (3 replies)
[-] billwashere@lemmy.world 9 points 3 weeks ago

It might but I wouldn’t. Every weird problem in the future is gonna make you wonder if it’s because of that. Now what I would do is get another hard drive, install to it, and copy things over. But basically leave the original one alone. My 2¢

[-] oeuf@slrpnk.net 2 points 3 weeks ago

Every weird problem in the future is gonna make you wonder if it’s because of that.

Pretty much what I've realised about doing anything weird with my system. I want a peaceful life.

[-] frongt@lemmy.zip 8 points 3 weeks ago

Highly unlikely. These days, disk space is so cheap that all manner of drivers are provided whether you need them or not. Worst case, you should still be able to boot recovery mode or chroot, as you mentioned.

Just make sure that the disk and boot configuration is the same (uefi, sata, secure boot), else both Windows and Linux may have issues finding their boot files.

load more comments (4 replies)
[-] data1701d@startrek.website 6 points 3 weeks ago* (last edited 3 weeks ago)

Honestly, probably no. You're switching to something with the same CPU generation and micro architecture, and the boards are by the same manufacturer with the same mobo chipset generation (both 5xx). It should be plug and play.

The only major change I can see the old CPU has an iGPU, while the new one doesn't, meaning that you won't be able to use the video port built into your motherboard, only the ports on your GPU. I'm guessing you probably weren't using that HDMI port in the first place, so it's probably non-issue.

EDIT: There is a small chance you'll have to change your fstab depending on how it's configured; if it's done by drive UUID, it won't be a problem.

load more comments (1 replies)
[-] MonkderVierte@lemmy.zip 5 points 3 weeks ago* (last edited 3 weeks ago)

Drivers in kernel, so it should generally work. Except if you have hw-specific configs around, but that's something that you did then.

[-] DonutsRMeh@lemmy.world 2 points 3 weeks ago

I don't really do crazy low level stuff on my machine. Just gaming and programming.

[-] Sxan@piefed.zip 5 points 3 weeks ago

Most distributions, no.

Gentoo, yes.

[-] nyan@sh.itjust.works 4 points 3 weeks 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.

load more comments (2 replies)
[-] communism@lemmy.ml 5 points 3 weeks ago* (last edited 3 weeks ago)

As others have said, no for the Linux partition; it's the same arch, socket type, etc. CachyOS's kernel probably contains everything you need.

For the Windows partition you might have problems though. Iirc Windows connects licences to motherboards, to prevent disk cloning to circumvent buying licences, so Windows may think you've cloned your drive to pirate Windows. I've never tried secure boot but I know W11 requires TPM too so if you've got secure boot you should look into how to switch to a new motherboard on Windows.

[-] DonutsRMeh@lemmy.world 2 points 3 weeks ago

If windows crying about a license is my biggest issue then I think I'm ok with that. I am more worried about efi partitions since I dualboot

[-] AllHailTheSheep@sh.itjust.works 4 points 3 weeks ago

massgrave.dev has you covered if windows throws a fit

[-] DonutsRMeh@lemmy.world 3 points 3 weeks ago

That and a friend of mine has given me a key a long while ago that I haven’t used yet.

[-] Cort@lemmy.world 2 points 3 weeks ago

iirc they track the hardware changes and do allow motherboard swaps, but it may be safer to swap cpu first, then motherboard

[-] ik5pvx@lemmy.world 5 points 3 weeks ago

Great advice in the comments already, I'll just recommend that you familiarise yourself with the rescue boot of a live disc of your distro.

If things go weird with thr move you can boot the live in rescue mode, mount your disks and fix fstab, or even redo the initrd . Don't wait until you need it

load more comments (1 replies)
[-] infinitevalence@discuss.online 5 points 3 weeks ago

Highly doubtful since it's AMD to AMD.

[-] data1701d@startrek.website 6 points 3 weeks ago

Honestly, even AMD to Intel would probably go mostly fine, considering the monolithic nature of the kernel and it having most drivers built in.

You'd probably want to make sure you have the Intel firmware package installed and make sure to remove configs specific to AMD stuff, like power management configs and kernel parameters, but it would still most likely boot.

load more comments (1 replies)
[-] jivandabeast@lemmy.browntown.dev 4 points 3 weeks ago

For your linux partition you'd probably just need to install new drivers. I've popped my boot drive into a bunch of different pcs with no issue.

Your windows partition might be weird, last i heard it assigns the activation to the motherboard serial number or something so you might have to redo the crack or provide your activation code again

[-] data1701d@startrek.website 4 points 3 weeks ago

Usually, you don't need to bother much with drivers at all outside of Nvidia GPUs and Broadcom modems since the kernel is monolithic and contains most drivers.

On an ATX motherboard, I think it's extremely rare for the ethernet chipset to require an out-of-kernel driver.

[-] DonutsRMeh@lemmy.world 2 points 3 weeks ago

Some reviewers on Amazon even mentioned that it worked on Linux just fine.

[-] jivandabeast@lemmy.browntown.dev 2 points 3 weeks ago

This is true, i didn't read the part where he's keeping everything except the motherboard/cpu. I'm used to switching out to random gpus LMAO

[-] DonutsRMeh@lemmy.world 2 points 3 weeks ago

I'm not worried about the license issue on windows. I actually do have the code saved up because I have always known that it ties it to the mobo.

[-] monovergent@lemmy.ml 3 points 3 weeks 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.world 2 points 3 weeks 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.

load more comments (2 replies)
[-] DieserTypMatthias@lemmy.ml 2 points 3 weeks ago

No if you haven't forgot your disk encryption password.

[-] DonutsRMeh@lemmy.world 1 points 3 weeks ago

I don't encrypt.

load more comments (3 replies)
[-] INeedMana@piefed.zip 2 points 3 weeks ago

On second thought, try to find out which driver your new network card needs and install it before the switch. As long as you have command line and network (USB drivers for keyboard should not be an issue) you can install whatever is missing

Btw, there are two command line browsers that I know of: links and lynx. Copying commands from phone gets tedious fast

[-] DonutsRMeh@lemmy.world 2 points 3 weeks ago

It has a realtek Ethernet port that needs r8169 that I read is already baked into the kernel

[-] Cyber@feddit.uk 2 points 3 weeks ago

Using DHCP?

Windows stores static network configs in the registry, so with the new mobo's NIC(s) if you try to set a static IP, Windows will complain that it already exists. Not a biggie as you'd just have to search the registry... if you're using DHCP no problem.

[-] DonutsRMeh@lemmy.world 1 points 3 weeks ago

DHCP. I don't use static IP.

[-] Heavybell@lemmy.world 2 points 3 weeks ago

Depending on how grub was installed, you might need to boot a live environment just to tell your new mobo about it. You can skip chrooting if your live media has efibootmgr and you can figure out how to use it, but if that fails you can always chroot and install grub fresh.

Also, it might just work.

[-] DonutsRMeh@lemmy.world 3 points 3 weeks ago

Man, if it is as easy as just installing grub, then I’m golden. cachy-chroot will take care of that

[-] Heavybell@lemmy.world 1 points 3 weeks ago

Just make sure you put it on the right disk, if you go that route ;)

[-] DonutsRMeh@lemmy.world 2 points 3 weeks ago

I’m a paranoid person when it comes to software. Rest assured that it will be the right disk. lol

load more comments
view more: next ›
this post was submitted on 26 Nov 2025
63 points (98.5% liked)

Linux

57274 readers
192 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS