this post was submitted on 05 Jul 2024
27 points (96.6% liked)

Linux

48208 readers
719 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 5 years ago
MODERATORS
 

Are there any software issues I may/should deal with when doing a full system upgrade? I'm going from AM4 to AM5, so new CPU, motherboard and RAM.

It should be pretty straightforward under Linux, right? Just swap my drives over and boot up? I've only ever done single upgrades at a time, never a full generation.

top 16 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 4 months ago (1 children)

Generic distro kernel? You shouldn't have any problems.

Hand-compiled kernel cooked up with -march=native? You're sticking with AMD, so there should still be no issues unless some instruction got dropped between the old CPU and the new, which almost never happens. You might have to add a kernel module or two for things built into your mobo, nothing serious.

(Hell, I had a Windows 2000 install on a multi-boot system survive an upgrade like that, once upon a time. Just booted perfectly happily on the new hardware.)

[–] [email protected] 1 points 4 months ago

Modern windows actually handles hardware upgrades pretty well. Just make sure you manually install the chipset drivers so it can read your boot drive and windows update will figure out the rest after a reboot or two.

[–] [email protected] 4 points 4 months ago

I recently did an Intel to AMD switch and still using the same installation with same SSD. I just needed to reconfigure my network name because motherboard is changed though.

[–] [email protected] 8 points 4 months ago

I moved my SSD from my old 8th gen Intel laptop to my brand new Zen 4 Framework 16. It was absolutely uneventful. Almost disappointing 😅

[–] [email protected] 3 points 4 months ago

I compile my kernel with specific cpu optimizations, so i'll just have to recompile a new image. Outside of that, everything is drop-in

[–] [email protected] 4 points 4 months ago

No, unless you did stuff that would lead to you not asking this question.

[–] [email protected] 4 points 4 months ago

I swapped the boot drive from a 1st gen i7 machine to a threadripper machine and it worked without any issues. I was using the default kernel on Linux Mint.

If you have any temperature monitoring or custom fan control stuff, you will need to reconfigure it though.

[–] [email protected] 3 points 4 months ago* (last edited 4 months ago)

I've pulled Linux boot drives out of one machine to stick them in a very different machine (e.g. from a 6th gen Intel i7 with an AMD GPU to an AMD 5950X with an NVIDIA GPU) and they almost always just work or require only minor tweaks. Chances are it will be fine.

[–] [email protected] 4 points 4 months ago

If you have a default kernel it should be fine (If you don't know and you haven't installed nvidia drivers you do). I've even moved around between amd and intel without issues.

[–] [email protected] 3 points 4 months ago (1 children)

Exciting! Enjoy the upgrade!

[–] [email protected] 2 points 4 months ago (1 children)

Moving from a 5600X to a 7900X3D, pretty big upgrade.

[–] [email protected] 2 points 4 months ago

I did the same thing last week on Fedora 40 with the latest kernel at the time. Everything went fine.

Had to fiddle with bios settings to get the performance out of the cpu/memory

Also worth noting there’s a delay in boot with no feedback on screen initially where the memory is tested/trained. That blank screen made me panic a bit

[–] [email protected] 3 points 4 months ago (1 children)

I did a similar upgrade last year. I don't recall any problems under Debian. I now have Bluetooth and Wi-Fi, which my old mobo did not support.

Of course, you should be sure to do a full backup.

[–] [email protected] 2 points 4 months ago (1 children)

I don't have anything important to back up, I would just like to avoid reinstalling everything, particularly my Steam library.

If I can save myself the trouble, that's all I want. I know Windows doesn't like that kind of upgrades and you end up with a ton of useless drivers sitting around for nothing, but I haven't been on Windows in a couple years.

[–] [email protected] 3 points 4 months ago

Windows is better these days (or at least last time I did a drive swap on win 10)

I have taken bare metal linux/BSD and gone vm and back with disk passthrough without issue (Xeon => vm on Xeon => i5 13xxx => vm on i5)

[–] [email protected] 13 points 4 months ago

Pretty much... as long as you didn't do any custom kernel stuff or driver blacklisting or any other underhood voodoo with the boot system.