Hi! I am still a linux noob, as I moved my home server from windows to linux just around a year or so ago.
On this ancient intel based machine I recently installed Immich container(self-hosted photo library manager), which made me realise that it might be time to upgrade.
In theory I want to simply swap out the motherboard + CPU + RAM and keep everything else the same. I am eyeing an am4 itx combo which might fit my needs.
But before I do any of this and mess things up, I have two questions I wondered if anyone here would be able to answer.
-
About the OS. Will my current installation of headless fedora server 42 simply pick up the system upgrade and continue to function normally? Or will I need to redo the OS installation.
-
About the drives. If I don't need to reinstall the OS, then how do I make sure that all the drives are mounted in the exact same way as before? I use cockpit > storage to manage all the drives and /etc/fstab points to specific UUIDs for boot, efi, swap, root and home, will I need to somehow swap those UUIDs with new ones manually?
(Yes, I know. I named the mounts to what I had on windows. Coz somethings are hard to unlearn :D, and yes Lacie is dying I think - 8 bad sectors.)
Thanks so much!
12 Comments
just_another_person@lemmy.world · 22 pts · 362d
Yes, it should just boot right up, no problem.
justlemmyin@lemmy.world · 3 pts · 361d
Thanks!
four@lemmy.zip · 16 pts · 362d
I'm pretty sure that UUIDs are ids for the drives/partitions and shouldn't change if you change the motherboard, reinstall OS or even plug them into a different machine entirely. I think that only reformatting can change the UUIDs
justlemmyin@lemmy.world · 2 pts · 361d
Oh that's so good to know. Thanks.
just_another_person@lemmy.world · 0 pts · 361d
CameronDev@programming.dev · 14 pts · 362d
Should be fine, the UUIDs are specified in the filesystem's themselves. They shouldn't change unless your filesystems get corrupted.
Upgrade away, should all work fairly flawlessly.
justlemmyin@lemmy.world · 9 pts · 361d
Its totally mindblowing that this is going to simply work. Thanks.
frongt@lemmy.zip · 6 pts · 361d
Modern systems are pretty good about this! Even windows supports it pretty well. A while back I pulled a windows drive and put it in an entirely different system, and it did some extra driver installation at boot and then started right up.
Generic hardware interface layers are a big part, but so is abundant storage to you can include so many more extra drivers.
CameronDev@programming.dev · 3 pts · 361d
Good luck!
nymnympseudonym@piefed.social · 1 pts · 361d
It's mindblowing how early in the game Windows became enshittified
"OMG you got a new CPU and harddrive, maybe this is a pirated copy...."
Dagamant@lemmy.world · 5 pts · 361d
Yeah, Linux drivers are all in the kernel and your hardware uuids won’t change except for the parts that get swapped out. You will have issues if you are changing cpu architecture though. I haven’t tried moving from x86 to x86_64 but I can imagine that it will cause problems.
justlemmyin@lemmy.world · 1 pts · 361d
I am upgrading from Intel 4th gen i5 to amd 3800x 🙂
vpklotar@lemmy.world · 2 pts · 361d
It should work just fine though there can be issues if the hardware jump is to much. Either boot into rescued mode or use a live USB and chroot of that doesn't work. Then rebuild dracut (dracut -f if I remember correctly) and it should just work.