I am working on windows 10 currently. I was wondering if MX Linux could be installed directly from online. Thanks for taking the time to reply.

  • schnurrito@discuss.tchncs.de
    link
    fedilink
    arrow-up
    37
    ·
    2 days ago

    The question is confusing, what exactly do you mean by “directly from online”? Just click a button in a web browser and it will install the entire distro? If so, pretty sure the answer is no; if you imagine something else, please clarify.

    • andrewta@lemmy.world
      link
      fedilink
      arrow-up
      10
      ·
      2 days ago

      That’s how I interpreted the statement.

      Open web browser

      Click install

      Files down load and install. Computer reboots with Linux os installed on hard drive

      • zorro@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 days ago

        I feel like you should be able to do this tbh.

        I can basically do this from Linux. I could build a disk image and extract it right onto my disk and reboot and be in that new system. It would take some work to get right, but it’s basically how the rpi images work.

        I think your biggest issue is making sure enough utilities were loaded in ram that you could finish the extraction before the system crashes cause you’ve deleted some important utilities.

        • iturnedintoanewt@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          2 days ago

          The answer is no, because you’d need windows to allow your Linux installer to take over top runtime privilege and modify live partitions while mounted and in use. While i guess it’s technically possible, it’s so much of a hassle i wouldn’t even want to start considering it.

          • Nollij@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 hours ago

            Theoretically it could be done. Microsoft SCCM has allowed in-place full reimaging for a long time. It downloads a WinPE boot image (which loads everything into a RAM disk), reboots into that, and launches all of the rest from there. Even wiping and repartitioning the drive.

            I don’t see why that WinPE image couldn’t be replaced by a small Linux image, or that you could install Linux from WinPE. I’ve just never seen it.

            That said, no browser should ever have that level of permissions, ever, under any circumstances. The security problems would be staggering.

            • iturnedintoanewt@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              27 minutes ago

              Well this way you’re writing a boot image to the bootloader right? I mean you’re replacing the usb stick with extra steps but it’s not like you’re running from the installed windows. You are rebooting into something else.

          • zorro@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            I think you are right. A little bit of research seems to show that windows doesnt allow such things.

            On Linux you could make a ramdisk with like BusyBox and your new image (or new image on some other drive) pivot_root then overwrite the entire boot disk to some other disk image.

            It would be a bit hairy, but could be done

          • zorro@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            I wouldn’t consider this a real option in any way, but it is a fun experiment to theorycraft.

          • ChaoticNeutralCzech@feddit.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            There’s WebUSB on Chromium browsers, a JS API for all kinds of peripherals. I think formatting mass storage is allowed, as long as it’s connected by USB

            • iturnedintoanewt@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              26 minutes ago

              It is, and the whole permission is being used by Grapheneos to perform the coolest and easiest mobile flashing I’ve ever done. It’s all done through a webpage installer.

      • s38b35M5@lemmy.world
        cake
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Sort of like GrapheneOS does, right? I don’t actually have GOS, but I thought the installer worked like that. Otherwise, there’s always the WSL that I think is how I installed Ubuntu (just as a test!!! I haven’t used Ubuntu since 2009) inside Windows 10 a few years back.

        • Squizzy@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          Its a different device though, you run the installer on a browser with usb access and the phone gets flashed.