this post was submitted on 23 Jun 2025
708 points (94.1% liked)

Linux

55614 readers
841 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] lemmyknow@lemmy.today 3 points 21 hours ago (1 children)

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 3 points 18 hours ago (1 children)

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 1 points 15 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"