Hi,

Ian Grant wrote:
> Oh dear, I just realised what I did. I put the IF= and OF= options backwards
> in dd, so instead of putting the image on the drive, I put the drive on
> image!! Doh!!

Luckily enough you still used the right /dev/ path.

After having learned about cruel accidents with bootable ISOs
Nio Wiklund and i created a script which identifies the target device
by watching it being plugged in and checks that it only contains
FAT or ISO 9660 filesystems.
Consequentially this script enforces the copy direction, too.

The script is Linux-only, as it relies on lsblk.
See
  https://wiki.debian.org/XorrisoDdTarget
for an example.


Have a nice day :)

Thomas



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
li...@t2-project.org with a subject of: unsubscribe t2

Reply via email to