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?

  • 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
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          2 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