• hietsu@sopuli.xyz
    link
    fedilink
    arrow-up
    7
    ·
    9 hours ago

    Great effort and all but until we can get an .exe to run in windows to install the new system, this will not attract anybody but the 0.01%.

    Yes, for us in the know it’s no biggie to get an USB stick, play with Rufus or the kind, fiddle with ”BIOS” but for the average user even the first step is just too much.

    Windows can install new Windows and modify EFI stuff, and macOS can install new macOS so why can’t Linux use the same mechanisms? Especially as in the history there used to be some projects that could do this…

    Best chance in decades to bring Linux to desktop and it looks like we blew it by being too accustomed to difficulty, not being united behind the effort and whatnot :(

    • lemmyknow@lemmy.today
      link
      fedilink
      arrow-up
      3
      ·
      8 hours ago

      Yo, you’re giving me ideas. Maybe I can make use of my old laptop, get Windows on it (if possible), and try to do something like this. Could the average user run something through the terminal? I know PowerShell and some CMD. Or I could figure out how to GUI as well. I’d need to sketch out what such an app would do. Downloading a Linux distro would be step one. Not sure if I could make BIOS changes, though, and install. I guess with my current abilities, it’d end up being an auto ISO downloader and USB flasher at best. But I’d be down to learn and try. I’d need a basic Install Linux 101 guide, to “mimic” through a script. Could be a fun project.

      • hietsu@sopuli.xyz
        link
        fedilink
        arrow-up
        3
        ·
        6 hours ago

        Not my text but here’s what Gemini laid out, apparently projects like WubiUEFI do something like this but with caveats.

        ” Project: “One-Click Linux” Installer Objective: A simple .exe for non-technical users to install a full Linux distribution from Windows 10/11. The process will be fully automated after a single click.

        Core Technologies & Components

        1. The Windows Application (.exe)
        • GUI Framework: .NET (C#) to build a minimal user interface and leverage deep Windows integration.
        • Disk Partitioner: Script the built-in Windows diskpart.exe utility to automatically shrink the existing Windows partition and create a new one for Linux. Requires Administrator privileges.
        • Installer Preparation: Download a pre-selected Linux distribution (e.g., Linux Mint) and extract its core files.
        1. The Bridge from Windows to Linux
        • Boot Configuration: Use Windows bcdedit.exe to create a temporary, one-time boot entry that points directly to the Linux installer, bypassing the normal Windows boot.
        • Automated Installation: Generate a preseed or kickstart script. This file will provide all the answers to the Linux installer automatically (language, keyboard, and instructions to use the partition created earlier).
        1. The Modern Boot Solution (Post-Installation)
        • Boot Manager: rEFInd. The automated Linux install will install rEFInd. It is chosen for its superior auto-detection of both Windows and Linux, and its user-friendly graphical interface. It will automatically provide a clean, icon-based menu to choose an OS on startup.
        • Boot Method: EFI Stub. The Linux kernel will be launched directly by rEFInd as a bootable EFI application. This is a fast, clean, and modern method that avoids the complexity of older bootloaders. rEFInd will handle discovering the kernel and presenting it as a boot option. ”
        • lemmyknow@lemmy.today
          link
          fedilink
          arrow-up
          1
          ·
          3 hours ago

          Eh, now that I think about it, such a project would either need to take a lot of decisions for the user, or risk becoming too complex for giving the user options. I mean, I see partitioning, and I realise that’s something I hadn’t thought of. I assumed just an install, but what if the user wants dual boot? What distro to pick? How much space for each “boot”? Do we choose a specific DE or take the distro’s main or default? So many variables. I mean, it’s one thing to BAM! Ubuntu auto-installer .exe. Now, to allow for user choices… or not to? You either give options, which could be overwhelmimg to someone who might not even understand all that, or become simple and, in the process, heavily “opinionated”