答: 將命令中的/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)