-
Notifications
You must be signed in to change notification settings - Fork 7
dd on Windows
opustecnica edited this page Jun 26, 2022
·
2 revisions
On the windows version of git
, you can find the dd
utility @
C:\Program Files\Git\usr\bin\dd.exe
# OR
C:\Progra~1\Git\usr\bin\dd.exe
Identify the appropriate physical disk
Get-CimInstance Win32_diskdrive | select Caption,DeviceID,BytesPerSector,InterfaceType,Size | Format-Table -AutoSize
To backup an sd card, at an elevated prompt or using the sudo utility. (invert if/of to burn an image)
sudo C:\Progra~1\Git\usr\bin\dd.exe of=2022-06-25-raspi-mobile.img if=\\.\PHYSICALDRIVE1 bs=4M conv=fsync status=progress
Compress
7z.exe a -tzip 2022-06-25-raspi-mobile.zip 2022-06-25-raspi-mobile.img -mx7