I have a PC currently configured to dual boot Windows 10 and Linux Mint. I don’t need Windows anymore, but Mint is working just fine and I’d rather avoid wiping the whole thing and starting over. Is there a safe way to just get rid of Windows?

  • HaraldvonBlauzahn@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    6 days ago

    curious how you move all packages over

    One can copy the system using tar, fix the mount pointd by changing the volume label (which identifies the mount point), and do a dist upgrade then.

    I guess that’s the best way to do it on a server. But for desktop systems, I now think it is better to make a list of manually installed packages, and to re-install the packages that are still needed from that list. This has two advantages:

    1. One gets rid of cruft and experimental installs that are no longer needed, which is really important in the long term.
    2. Some systems (I a looking at you GNOME) can break in an ugly way if doing an upgrade instead of a re-install. Very bad behaviour, but it can happen. (And this might answer the question whether Debian is more stable than Arch: Yes, as long as you don’t upgrade GNOME).

    And one more thing I do for the dot files:

    Say, my home folder is in /home/hvb . Then, I install Debian 12 with /home/hvb/deb12 as my home folder (by editing /etc/passwd), and when I upgrade, I install to /home/hvb/deb14. Then, I link my data folders , documents and media such as /home/hvb/Documents into /home/hvb/deb14 . The reason I do this is that new versions of programs can upgrade the dot files to a new syntax, but when I switch back to boot Debian 12, the old versions can’t necessarily read the newer-version config files.

    All in all this is a very conservative approach but it works for me with running Debian now for about 15 years in a rather large desktop setup.

    And the above also worked well for me with distro-hopping. Though nowadays, it is more recommended to install parallel dual-booted distros on another removable disk since such installs can also modify grub and EFI setup, early graphics drivers and so on, even if in theory dual-boot installs should be completely independent… but my experience is that is not always guaranteed.