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.
SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26
$74.99
WD_BLACK 1TB P40 Game Drive SSD, External Solid State Drive - WDBAWY0010BBK-WESN
$119.99
Western Digital 500GB WD Green SN350 NVMe Internal SSD, M.2 2280 - WDS500G2G0C
$46.99
SanDisk 32GB Outdoors FHD microSDXC UHS-I Memory Card - SDSDUNR-032G-GN6VN
$12.99
Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item
$16.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Intel Optane Memory M10 SSD M.2 2280 16GB MEMPEK1J016GA PCIe 3.0 3D Xpoint NVMe
$5.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$198.99
Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot
$197.99