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.

  1. 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.

  2. 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!

  • four@lemmy.zip
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    10 hours ago

    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

  • CameronDev@programming.dev
    link
    fedilink
    English
    arrow-up
    13
    ·
    10 hours ago

    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.

      • frongt@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        8 hours ago

        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.

      • nymnympseudonym@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        8 hours ago

        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
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 hours ago

    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.

  • vpklotar@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    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.