答: 将命令中的/dev/sdx替换为对应设备的DeviceID
1. 如何获取对应设备的DeviceID?
在powershell下执行以下命令:
C:/> Get-WmiObject Win32_diskdrive
Partitions : 2
DeviceID : \.PHYSICALDRIVE1
Model : Mass Storage Device USB Device
Size : 3109978
Caption : Mass Storage Device USB Device
2. 示例如下:
$ dd if=my-file.bin of=\.PHYSICALDRIVE1 (原来的执行命令为dd if=my-file.bin of=/dev/sdb)