@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.
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 498677:20:28 |
| Calls: | 212 |
| Calls today: | 3 |
| Files: | 910 |
| D/L today: |
31 files (22,593K bytes) |
| Messages: | 69,826 |