Thanks, that's useful. I seem to have another problem now, maybe because I previously had an OpenBSD install image on that USB drive and it uses a non-standard fdisk partition scheme. I have to go find out now how the disk partition tables work on USB drives, ...
On Wed, May 28, 2025, at 3:47 PM, Thomas Schmitt wrote: > 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 [email protected] with a subject of: unsubscribe t2
