Question: I’m running Linux Mint right now. Is it possible to change distro to … for example OpenSuse - without a clean install ?

  • kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    38
    ·
    1 month ago

    The real question is all the stuff beyond just having the distro installed. The packages, the services, the configs, the application data.

    If you leave all that stuff the way it was installed via the old package manager, it may have some bad assumptions baked in and may be incompatible with packages you install with the new package manager.

    And if you clear all of it out and reinstall it, have you really gained anything vs. just doing a clean install?

    There’s a reason you have a home dir. Just copy that forward along with whatever other config files you might’ve customized.

    Btw, if the ability to make drastic changes while still maintaining continuity is an important feature for you, maybe check out NixOS.

    • Archr@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      1 month ago

      There’s a reason you have a home dir. Just copy that forward along with whatever other config files you might’ve customized.

      This is probably the reason why most distros will have the home directory on a separate partition. To easily allow you to keep your most important data when reinstalling or switching to a new distro.

    • A_norny_mousse@feddit.org
      link
      fedilink
      arrow-up
      6
      arrow-down
      2
      ·
      edit-2
      1 month ago

      Personally I don’t use a separate /home partition. Software versions can differ significantly between distros and this has plenty of potential to effectively fuck up your system anyhow*.

      I use a separate data partition instead, and hook it into my home with symlinks. Pictures, Documents, Videos etc. - these are usually those that take the most disk space anyhow, by a large margin.

  • WimsterOP
    link
    fedilink
    arrow-up
    16
    ·
    1 month ago

    THANK YOU ALL for your replies. I’ll do a clean install and made a backup of my files (was not difficult bc most stuff I have in the cloud). I’m moving indeed from Mint to OpenSuse Tumbleweed. I don’t know exactely why, but it seems to me an interesting thing to do. Still figuring out what distro fits me best.

    • cRazi_man@lemm.ee
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 month ago

      Excellent choice. I did the same last year. I’m still on Tumbleweed.

    • themadcodger@kbin.earth
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Welcome to distro hopping! If at some point in the future you want to try another out but don’t want to start from scratch, there are ways to demo them to get a feel and see if it’s something you’d like to take the effort to wipe and install.

  • єχтяανɒgαηт єηzумэ@lemm.ee
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 month ago

    No, the package systems, management tools, and configs for Debian (what Mint uses) and OpenSUSE are different. Technically, if you had tons of time and a solid understanding of Linux inside and out, you might be able to pull it off, but it’s not worth the hassle at all.

    • chaosCruiser@futurology.today
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      1 month ago

      I’ve read some stories of someone transmuting Ubuntu into Debian or something like that. It requires lots of knowledge of both systems, plenty of time, and infinite patience. The two distributions should be somewhat closely related in order to make this gargantuan project even remotely feasible. If you’re jumping from Arch to Gentoo, you might as well just do LFS while you’re at it.

    • A_norny_mousse@feddit.org
      link
      fedilink
      arrow-up
      5
      ·
      1 month ago

      Technically, if you had tons of time and a solid understanding of Linux inside and out, you might be able to pull it off, but it’s not worth the hassle at all.

      This is what I thought. Preferably “from the outside” i.e. while the system isn’t running. But all you “saved” in the end is the filesystem the original OS was installed on, and possibly personal data (which probably is the reason OP is even asking).

  • diesch@loma.ml
    link
    fedilink
    arrow-up
    6
    ·
    1 month ago

    @Wimster Yes, but it takes much longer and requires a very good knowledge of your future distro.

    You need to manually unpack packages of your future distro ijnto soem folder to create a chroot environment that is able to run the package manager of your future distro. Chroot into that and install the software for a minimal bootable environment. Move your new distro environment to the root dir of your partition, remove the old stuff and configure your boot manager. Then you can boot into your new minimal distro and install whatever you want.

    Debian has some programs to help you with the first steps, like debootstrap (for .deb based distros) and rinse (for .rpm based distros, like OpenSUse).

  • Cris@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    1 month ago

    For all intents and purposes different Linux distros are different operating systems, built with some number of overlapping components (including the Linux kernel after which they’re named) so unfortunately no :/

    Best of luck to you in whatever changes you decide you wanna pursue!

  • pastermil@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    There’s nothing stoping you from gutting your distro and installing new kernel, libc, package manager, toolchain, and all the other components. The GUI should be trivial as people have change back and forth among different ones (within the same distro) anyway, assuming your package manager.

    Of course, this begs the question: why the fuck would you do that instead of just installing a new one fresh?

  • nrbray@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago

    +1 for NixOS. My desire to have a reproduceable system got me to this and does just the job for me.

  • FlexibleToast@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    1 month ago

    Somebody the other day asked what the point of the immutable desktops are. Well, ostree can do this. Granted, you have to stay within the ostree ecosystem. However, you can rebase from one ostree distro to another.

    • WimsterOP
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      I’m still in the fase of exploration. When using Windows, you just have 1 choice. I just want to discover what suits me best. So nothing against Linux Mint. It’s great, but maybe OpenSuse is better for me? I don’t know.

      • dave
        link
        fedilink
        arrow-up
        3
        ·
        1 month ago

        just in case you dont know, Distrosea lets you try various distros online which is handy just for getting a quick idea what the UI is like

        for trying out different distros using the live USB method, Ventoy is a good option since it lets you have multiple ISO files on your USB drive at once, instead of having to reformat your USB each time

  • abrahambelch@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    That depends on a couple of things:

    If you have a separate partition for /home (your personal data) it is pretty easy since you can reinstall the system, leave /home untouched during installation and just configure it to be used as /home in your new setup.

    This does not work if you either do not have a separate /home partition or you encrypt your system via LUKS.

    It technically still is possible in the aforementioned cases but involves expert knowledge and probably a lot of manual steps which I’d say for you and me it probably is impractical.

    • Björn Tantau@swg-empire.de
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      It’s totally unproblematic to use an existing encrypted partition even without a separate home partition. You just unlock your drive and delete everything except for home. Never encountered a single installer that couldn’t handle it.

      • Kornblumenratte@feddit.org
        link
        fedilink
        arrow-up
        5
        ·
        1 month ago

        Might be wise to not accept the offer of the installer to partition the device in this case. That’s self–evident to anyone who lived through losing data, not so for beginners.

  • Kaari@leminal.space
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    I thought the same thing for a while and went through the process a couple of days ago! So every time you hop distros you have to wipe your /root directory. Usually if you don’t change it during the install your /home directory is mounted on the same device/partition your root is mounted on.

    My solution was to install Gparted and create a new partition on the drive I want to install the new OS on (set to use any file format you want ((btrfs or ext4))) - I gave that partition around 50gb depending on the distro you might need more/less.

    • A /efi/boot partition with 1000mib which has to be set to FAT32

    And the rest of your drive can be your /home partiton set to any file format you want (nfts is recommended if you’re dual booting windows ((or btrfs/ext4 if that’s not the case))).

    That would be the setup, depending on your setup you could just copy your entire home directory over into the new partition and then install OpenSuse.

    Do note during the installation process you will have to set your partitioning yourself. Meaning the installer will ask you where you want it to install each component. That’s where you set all three partitons… At least I hope the YaSt installer does that.

    And there you go, you will have to reinstall applications that aren’t in sandboxes like flatpaks. But your configuration for these applications should apply right away saving you some time.

  • Daniel Ares@federation.network
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    @Wimster@lemmy.wtf No, an operating system always requires a clean install. If you create separate partitions for your home directory during setup you wouldn’t necessarily have to backup your personal data in that directory tho. This would make distro hopping a bit easier in the future.

  • Tapionpoika@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 month ago

    From very stable and boring distro to rolling release distro is good experiment. Rivals to your future choice are Manjaro, Arch, maybe Fedora. Are you certain about the SuSE? 😉