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?
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
dunno, the system might ran out of RAM due to lack of swap, but the drive should be fine due to the limited writes
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