Create Bootable Flash Drive

Chester Wyke July 27, 2023 Updated: April 15, 2025 #debian

Display List of Hard Drives

lsblk

Copy ISO onto a flash drive

TIP: Before executing the command below you may want to format the disk but not create a volume. I didn’t format it once and it wrote to “cache” and I had a very hard time knowing when it was done actually writing to the drive. I tried safely remove be eventually just gave up and pulled the drive out and then formatted it so the command returning would better sync with completion of copy.

WARNING: Be very careful not to copy to root drive
NB: Takes a while with no feedback, until fail/pass

cp debian.iso /dev/sdX