But it is easy to write to another device, for example a drive with valuable data. A simple typing error or mistake when identifying and selecting the target device is enough to create big problems.The CD or DVD image you choose should be written directly to the USB stick, overwriting its current contents. For example, when using an existing GNU/Linux system, the CD or DVD image file can be written to a USB stick as follows, after having made sure that the stick is unmounted:Code: Select all
# cp debian.iso /dev/sdX # sync
I made the shellscript mkusb to wrap security around dd for this purpose. It is a GUI application, which uses zenity. It works smoothly in Wheezy, while it needs the normal user to be added in the sudo group to work in Jessie. There is a command line version, mkusb-nox, which works smoothly also in Jessie, when running as root, and it does the same job without the eye candy of zenity.
Code: Select all
# mkusb-nox debian.iso
https://help.ubuntu.com/community/mkusb ... phillw.net
mkusb and mkusb-nox are FOSS, and I would be happy, if they can help also you, users of Debian, to flash your iso files into USB sticks in a safe way.