Any reason not to use an existing tool? I've seen a number of ISO to USB tools, like "Rufus". Last I saw many Linux distros were switching their setup media creation process to use them.
Here are a few of the top items from https://alternativeto.net/software/rufus/ and what seems special about it.
Name I remembered after told to use once - https://rufus.ie/en/
Again, told to use it once - https://unetbootin.github.io/
SDcards or USB, very simple UI - https://www.balena.io/etcher/
Can create multiboot USB with many tools on it, with boot menu - https://www.pendrivelinux.com/yumi-multiboot-usb-creator/
I figure the less code you have to monitor and fix, the better. I'd enjoy the flexibility allowing multi-boot has, but I have no idea if it limits you or is harder to set up.
Any reason not to use an existing tool? I've seen a number of ISO to USB tools, like "Rufus". Last I saw many Linux distros were switching their setup media creation process to use them.
Here are a few of the top items from https://alternativeto.net/software/rufus/ and what seems special about it.
Name I remembered after told to use once - https://rufus.ie/en/
Again, told to use it once - https://unetbootin.github.io/
SDcards or USB, very simple UI - https://www.balena.io/etcher/
Can create multiboot USB with many tools on it, with boot menu - https://www.pendrivelinux.com/yumi-multiboot-usb-creator/
I figure the less code you have to monitor and fix, the better. I'd enjoy the flexibility allowing multi-boot has, but I have no idea if it limits you or is harder to set up.