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 Ultra Dual Drive Go USB Type-C Flash Drive, Black - SDDDC3-1T00-G46
$109.99
SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46
$12.99
SanDisk 128GB Ultra Dual Drive Luxe USB Type-C Flash Drive - SDDDC4-128G-G46
$15.99
SanDisk 256GB Ultra Dual Drive USB Type-C, USB 3.1 Flash Drive - SDDDC2-256G-A46
$21.99
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$4.99
2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1
$16.72
USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$5.99
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$234.39
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$259.34
LOT 32GB 64GB 128GB USB 3.0 Flash Drive Memory Stick Retractable Thumb Drive
$420.99