Hi everyone,

I’ve been a happy user of Fedora Workstation since Fedora 36 on my Surface Go 1.

I really enjoy Gnome and everything is set up the way I want to.

Since I was really happy with my setup I just wanted to be able to replicate it easily through Clonezilla so that I could port it on any future computer I’d get.

Sadly, even with the help of really helpful and knowledgeable users on Lemmy, it hasn’t worked (https://sh.itjust.works/post/25963065).

So now I’m left wondering if there could be a distribution that I’d enjoy and which would be easy to deploy on another computer as I’d hate to have to configure everything on every computer I’d get.

I love Gnome but I wouldn’t be against trying something else if necessary.

What distribution could meet my needs?

    • data1701d (He/Him)@startrek.website
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      That’s not necessarily the problem here.

      Normally, Fedora would boot on both types of systems, too. However, OP wants to copy an already-existing UEFI install or at least the config to a legacy system, not (necessarily) to find a distro that could be installed from a normal live installer on both boot types.

      Thus the Nix recommendations, as theoretically, one centralized config could be copied between systems to create a similar environment on different systems.

  • data1701d (He/Him)@startrek.website
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    I just discovered the source of all your problems by reading your previous post.

    The Surface Go 1 is a UEFI system. The Acer Aspire 5737z is a legacy BIOS system and thus can’t boot UEFI partitions. If your Aspire was a UEFI system, what you did probably would have worked just fine - no need for a special snazzy distro (no offense, NixOS users).

    I’m actually extremely surprised no one noticed this before me.

    From here, you have a few routes:

    • Flash the install to the drive, and try to downgrade it to a legacy BIOS system.
    • Reinstall Fedora and copy just your Gnome config over - from what I can tell, it’s just a few directories.
    • Buy a slightly newer device (maybe 2012/2013-ish at the earlist, probably originally designed for Windows 8.x) that support UEFI so you could just use the image.
      • Honestly, I am a bit conflicted on this option, as I don’t exactly like not reusing the Aspire. However, this may be the easiest way out, and maybe you could put the Aspire to use as a server in a home lab instead.
    • Try NixOS like others have been saying. Learning things is fun when you have the time - I don’t, and so stick with Debian.
  • nanook@friendica.eskimo.com
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    I don’t know how clonezilla works, but one thing I’ve discovered that causes issues when you copy a Linux distro from one machine to another, assuming you do a file system copy and not a raw partition copy so the new file system partition has a different UUID than the old, you need to fix the UUID in both /etc/fstab and /etc/initramfs-tools/resume before it will work properly.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      you need to fix the UUID

      Don’t use UUIDs. They serve a very specific purpose, which you’re now trying to defeat (for all the right reasons).

      Fix your mounts and then carry on.

    • InverseParallax@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      Clonezilla covers this, it regens the partition with the correct uuid.

      My guess is some uefi or other boot weirdness, you have to register keys with the new system during install before it will let you boot, that’s probably where things went wrong.

  • hanke@feddit.nu
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    NixOS is exactly what you want.

    You declare your configs in a way that you can just copy them to another computer and it willbe configured the same way.

    I’ve never tried it my self, but I might for my next machine.

  • frankenswine@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    8 days ago

    As a counterpoint to the majority of answers here, I’d love to suggest GNU Guix as the best answer. Like Nix, but enhanced for freedom with a formidable governance model. Built on freedom. Built to last forever. Also easier and more beautiful

      • frankenswine@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        8 days ago

        it is built so that non-free packages can be made easily available (e.g. the non-guix channel). being sort of a meta-OS, already a bunch of operating systems were built on top of it, arguably easier to just get started as a novice

  • Leaflet@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    8 days ago

    Personally, I use Fedora Silverblue and use bash scripts for reproducibility. To set up a new system, all I need to to is install, reboot, run my bash script, reboot, and my system is 90% configured. With bash scripts, I am able to reproduce more of my system than I could when I used NixOS.

    A lot of people recommend Nix, but the thing about Nix is that you’re only declaring how the system is configured. Not your home folder. You need to rely on third party tools for that.

    Bash scripts can configure system and home folder. They can also be used on any distro, whereas a Nix configuration file only works on NixOS.

    Though the worst part about any new install is just signing back into everything, especially an annoyance when you have proper 2FA setup. Bash scripts or Nix can’t solve that unless you migrate data over.

    • Dariusmiles2123@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      8 days ago

      What is a bash script? Is it something I’d have to write mysel using the terminal? Sorry but my skills are quite limited for now.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        7 days ago

        What is a bash script?

        At this point in time, I need to stop you.

        There’s a massively-increased risk of you being misled by someone else’s agenda without knowing it’s not the simplest and most effective solution to your problem because there’s a lot of technical stuff you may not know and can’t pick from available options based on their nuances. So:

        1. find a real person you trust who knows this
        2. ask them

        Whatever they tell you, they’ll be able to support. Ensure you’re the one typing so you learn things, and ask every question you think of all the time.

        Stop asking random strangers which solution is best, because you’re going to get a lot of short-sighted clique answers that DO NOT HELP YOU.

      • Leaflet@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        8 days ago

        Yes, it’s something you write yourself. Bash is the language you use when you use the terminal. A bash script is just many lines of bash commands.

        A bash script could be as simple as

        dnf install package1 package2 package3
        dnf remove package4 package5 package6
        

        This script automates installing some packages and removing some packages. The bash script I use does a lot more, such as running commands to configure Gnome how I like it.

        If you’re not comfortable with the terminal, I would definitely recommend staying away from NixOS. To declaratively/reproducibly set up the system, it uses a language called Nix that is a fair bit more complicated than bash. It’s also just very different from traditional Linux systems like Fedora or Ubuntu.

  • Tobias Hunger@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    Any of the many immutable distros (vanilla os, fedora silverblue, bluefin, aeon, endless os, pure os, …) will all obviously work.

    Most of your customizations will live in your home directory anyway, so the details of the host OS do not matter too much. As long as it comes with the UI you like, you will be mostly fine. And yku said you like gnome, that installs many apps from flathub anyway and they work just fine from there.

    For development work you just set up a distrobox/toolbox container and are ready to go with everything you need. I much prefer that over working on the “real system” as I can have different environments for different projects and do not have to polute my system with all kinds of dependencies that are useless to the functionality of my system.

    NixOS is ofmcourse also an option and is quasi-immutable, but it is also much more complicated to manage.

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    So the question is this: Do you want to be able to reproduce the system exactly, or are you fine taking a few hours to reinstall software. If you’re just wanting to keep settings and data for apps rather than the apps themselves, you can cut down on your storage requirements a lot.

    If it’s the latter, all of your user settings should be in your home directory (“/home/username” or just “~”). If you back that up, you should be able to recover your settings and data on a fresh install of your distro of choice.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      replicable.

      As someone who spent time in OS Build/Relmgmt before security, I have a pressing desire to play the “how do you know” game, here.

      • Atemu@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        Because the only way to have a functioning NixOS system is to have it be reproducible. That’s the only way it works; Nix is reproducible by design.

        The ability to reproduce a system implies the ability to replicate it.

    • Lokidawg@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 days ago

      ++. Yes, and not your standard Linux distro in design, never mind the hurdle of understanding Nix expressions and functional programming language. However, once tweaked, deployment on multiple machines is straightforward.

  • nfms@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    NixOS is the sort answer. It’s reproducible across hardware. But I’ve never tested it.

  • itslilith@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    For reproducibility, nothing really beats NixOS. That’s not really what you’re asking for, as that would not involve Clonezilla.

    If you’re frequently switching hardware, and want to have everything up and running, configured to your liking, in minutes, you’re gonna have fun with NixOS in the long term. But I’m not gonna sugarcoat it, it has a steep learning curve and does require you to enjoy some tinkering. Worth it, imo

    Otherwise, just pick a distro that you enjoy and create a separate home partition, when it’s time to switch you do a fresh install and clone only the home partition. That’ll get you 90% of the way to have your old setup on the new device

    • Dariusmiles2123@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      8 days ago

      But what is a home partition?

      I mean for me the problem is backing up my settings (including for every app) and I don’t know where they are saved.

      Backing up my pictures, documents and others isn’t a problem.

      • flashgnash@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        8 days ago

        Your settings for the most part are in your home directory, generally when you install a Linux system everything that isn’t the bootloader is on one partition (system, installed applications, etc)

        Your home directory is for anything specific to your user, meaning your downloads folder, your pictures, documents and also your .config folder which holds 90% of the config files

        There are some weird ones that have directories outside of home, afaik that’s stuff like network manager remembering your saved networks that runs outside of your user context