I want to install Debian directly onto my USB drive. Is there an easy way to do this directly without having to reboot to run the installer?

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    3 months ago

    Don’t do that

    You can but it will be very slow and your drive will die quickly. Alternatively you could make a USB drive with MX Linux and then only save what you need.

    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      If the system you have has enough RAM you could load the entire OS to RAM and then change the writeback settings to a high interval

        • tetris11@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          dunno, the system might ran out of RAM due to lack of swap, but the drive should be fine due to the limited writes

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            3 months ago

            Well no because the cache will fill up faster than writes that are happening. You would be postponing the inevitable.

            The only option is to either reduce the number if writes by using MX Linux on the USB or to get something that can handle the writes like a USB NVMe enclosure