What operating system does your Raspberry Pi have, is it some sort of Linux?kilaueabart wrote: ↑Mon Jul 11, 2022 11:45 pm ...It belatedly occurred to me that I could dd with my Raspberry Pi, so I have just tried that. But I'm no longer smart enough to figure out how to do it.
pi@raspberrypi:/media/pi $ dd if=MUTUAL/Cyrus_5020_uboot_22102018/X5000_UB00T_Recovery_22-10-18.img of=/media/pi/6431-3338/
dd: failed to open '/media/pi/6431-3338/': Is a directory
I need to give the output file a name, apparently. I tried using the same "Cyrus_5020...img" name and it worked, but is that name OK? I have rm'ed it for now.
With 'dd' the target (of=) disk has to be input as a 'hardware address', in the form '/dev/sdx', where 'x' is a letter specific for each disk. You do not need any filename!
In Linux you can check the available disks (and partitions) in terminal window e.g. with the command 'lsblk':
Code: Select all
~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 1000M 0 part
├─sda2 8:2 0 9.8G 0 part
├─sda3 8:3 0 9.8G 0 part
├─sda4 8:4 0 9.8G 0 part
├─sda5 8:5 0 9.8G 0 part
├─sda6 8:6 0 9.8G 0 part
├─sda7 8:7 0 9.8G 0 part
├─sda8 8:8 0 9.8G 0 part /
├─sda9 8:9 0 9.8G 0 part
└─sda10 8:10 0 9.8G 0 part
sdb 8:16 0 111.8G 0 disk
├─sdb1 8:17 0 1G 0 part
├─sdb2 8:18 0 1G 0 part
├─sdb3 8:19 0 1G 0 part
├─sdb4 8:20 0 1G 0 part
├─sdb5 8:21 0 2G 0 part
├─sdb6 8:22 0 2G 0 part
├─sdb7 8:23 0 1G 0 part
├─sdb8 8:24 0 1G 0 part
├─sdb9 8:25 0 2G 0 part
├─sdb10 8:26 0 3G 0 part
├─sdb11 8:27 0 2G 0 part
├─sdb12 8:28 0 4G 0 part
├─sdb13 8:29 0 4G 0 part
├─sdb14 8:30 0 1M 0 part
├─sdb15 8:31 0 1G 0 part
└─sdb16 259:0 0 30G 0 part
sdc 8:32 0 149.1G 0 disk
├─sdc1 8:33 0 5G 0 part
├─sdc2 8:34 0 10G 0 part
├─sdc3 8:35 0 10G 0 part
└─sdc4 8:36 0 100G 0 part
Note: those /dev/sdx definitions may vary depending on whether you connect your removable disks before or after booting your machine, or if you remove and reconnect them! So, do the the checking with 'lsblk' just before you run 'dd'.