I don't know what's going on exactly, but I've been getting flash drive corruption when booting with UEFI on my HP EliteDesk 800 G1.
I boot with the Knoppix 8.2 DVD, install to flash drive with fat32 and a persistent image file and reboot.
In the bios startup boot menu (F9 on the HP) I get two selections for my flash drive boot, the same drive listed in two locations: one in UEFI and the other in Legacy mode.
I thought, oh it will boot into UEFI mode, let's try it!
It seems like every time I've tried a UEFI boot it will clobber my flash drive, overwriting the first sectors of the flash drive and in general corrupting it.
I start seeing a bunch of inode errors in my dmesg log.
It's done this a couple of times now, so I'm going to see if just booting with Legacy mode will be safe.
It could be the HP system, the flash drive, or maybe booting with UEFI mode.
Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ
$44.99
WD_BLACK 1TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS100T2X0E
$99.99
Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A
$79.99
Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ
$84.99
Samsung - 980 PRO 1TB Internal Gaming SSD PCIe Gen 4 x4 NVMe
$109.99
1000 GB HHD 2.5" 1TB Mixed Brands Samsung WD HGST TOSHIBA, Tested Formatted
$14.90
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Samsung - Geek Squad Certified Refurbished 870 EVO 1TB SATA Solid State Drive
$67.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$580.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.89