[email protected] wrote: > >@hlyg2023 >Maybe you could try this : >Run "lsblk" first to identify the USB drive, >then replace `/dev/sdX` with its actual device name in the command. > >dev=/dev/sdX; [ "$(lsblk -dnro TRAN "$dev")" = usb ] && read -r -p "Write >debian-live.iso to $dev? >Type yes to confirm: " rep && [ "$rep" = yes ] && sudo dd if=debian-live.iso >of="$dev" bs=16M >status=progress oflag=sync > >If "TRAN" does not indicate "usb", or if you donât type "yes", >"dd ..." wonât run. > >"dd" overwrites the contents of the destination.
Please reply to mails with proper headers so that they stay in threads correctly. -- Steve McIntyre, Cambridge, UK. [email protected] Can't keep my eyes from the circling sky, Tongue-tied & twisted, Just an earth-bound misfit, I...

